Date: Wed, 16 Nov 2016 00:27:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214456] lang/gcc6: -r424540: FreeBSD's full bootstrap fails the stage 2 vs. 3 comparison the build stops (powerpc 32-bit anyway) Message-ID: <bug-214456-13-qljcqR9Qzf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214456-13@https.bugs.freebsd.org/bugzilla/> References: <bug-214456-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214456 Mark Millard <markmi@dsl-only.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|lang/gcc6: -r424540: |lang/gcc6: -r424540: |FreeBSD's WITH_DEBUG=3D and |FreeBSD's full bootstrap |full bootstrap are |fails the stage 2 vs. 3 |incompatible and the build |comparison the build stops |stops (powerpc 32-bit |(powerpc 32-bit anyway) |anyway) | --- Comment #7 from Mark Millard <markmi@dsl-only.net> --- (In reply to Andreas Tobler from comment #6) I did a build attempt with full bootstrap selected but without WITH_DEBUG (= from /etc/make.conf ). Summary: Stage 2 still has: -g -gtoggle Stage 3 still has: -g and the build fails the comparison of stages 2 and 3 in the same way as bef= ore. So WITH_DEBUG has nothing to do with it. Supporting evidence: Stage 2's read-rtl.c compile has both -g and -gtoggle present: (on isolated lines in the below) /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./prev-gcc/xg++ -B/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./prev-gcc/ -B/usr/local/powerpc-portbld-freebsd12.0/bin/ -nostdinc++ -B/usr/obj /portswork/usr/ports/lang/gcc6/work/.build/prev-powerpc-portbld-freebsd12.0= /libstdc++-v3/src/.libs -B/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/prev-powerpc-portbld-f= reebsd12.0/libstdc++-v3/li bsupc++/.libs -isystem /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/prev-powerpc-portbld-fre= ebsd12.0/libstdc++-v3/include/powerpc-portbld-freebsd12.0 -isystem /usr/obj/portswork/usr/ports/lang /gcc6/work/.build/prev-powerpc-portbld-freebsd12.0/libstdc++-v3/include=20 -isystem /usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/libstdc++-v3/libsupc++ -L/usr/obj/portswork/usr/ports/lang/gcc6/ work/.build/prev-powerpc-portbld-freebsd12.0/libstdc++-v3/src/.libs -L/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/prev-powerpc-portbld-f= reebsd12.0/libstdc++-v3/libsupc++/.libs -c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wn o-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/gcc -I/usr/obj/portswork/usr/ports/lang/gcc6/w ork/gcc-6.2.0/gcc/build -I/usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/gcc/../include=20 -I/usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/gcc/../libcpp/inclu= de -DLIBICONV_PLUG \ -o build/read-rtl.o /usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/gcc/read-rtl.c The debug sections are missing for Stage 2: # objdump -x -d /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/stage2-gcc/build/read-rt= l.o | more . . . Sections: Idx Name Size VMA LMA File off Algn 0 .text 000030cc 00000000 00000000 00000034 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE 1 .data 00000000 00000000 00000000 00003100 2**0 CONTENTS, ALLOC, LOAD, DATA 2 .bss 0000004d 00000000 00000000 00003100 2**2 ALLOC 3 .rodata 000002ac 00000000 00000000 00003100 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA 4 .rodata.cst4 00000014 00000000 00000000 000033ac 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA 5 .rodata.str1.4 00000233 00000000 00000000 000033c0 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 .sbss 00000008 00000000 00000000 000035f4 2**2 ALLOC 7 .comment 00000027 00000000 00000000 000035f4 2**0 CONTENTS, READONLY 8 .note.GNU-stack 00000000 00000000 00000000 0000361b 2**0 CONTENTS, READONLY 9 .eh_frame 00000488 00000000 00000000 0000361c 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA . . . Stage 3's read-rtl.c compile has -g but not -gtoggle present(?): (on isolated lines in the below) /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./prev-gcc/xg++ -B/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/./prev-gcc/ -B/usr/local/powerpc-portbld-freebsd12.0/bin/ -nostdinc++ -B/usr/obj /portswork/usr/ports/lang/gcc6/work/.build/prev-powerpc-portbld-freebsd12.0= /libstdc++-v3/src/.libs -B/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/prev-powerpc-portbld-f= reebsd12.0/libstdc++-v3/li bsupc++/.libs -isystem /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/prev-powerpc-portbld-fre= ebsd12.0/libstdc++-v3/include/powerpc-portbld-freebsd12.0 -isystem /usr/obj/portswork/usr/ports/lang /gcc6/work/.build/prev-powerpc-portbld-freebsd12.0/libstdc++-v3/include=20 -isystem /usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/libstdc++-v3/libsupc++ -L/usr/obj/portswork/usr/ports/lang/gcc6/ work/.build/prev-powerpc-portbld-freebsd12.0/libstdc++-v3/src/.libs -L/usr/obj/portswork/usr/ports/lang/gcc6/work/.build/prev-powerpc-portbld-f= reebsd12.0/libstdc++-v3/libsupc++/.libs -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadi c-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/gcc -I/usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6 .2.0/gcc/build -I/usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/gcc/../include=20 -I/usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/gcc/../libcpp/inclu= de -DLIBICONV_PLUG \ -o build/read-rtl.o /usr/obj/portswork/usr/ports/lang/gcc6/work/gcc-6.2.0/gcc/read-rtl.c The debug sections are present for Stage 3: # objdump -x -d /usr/obj/portswork/usr/ports/lang/gcc6/work/.build/stage3-gcc/build/read-rt= l.o | more . . . Sections: Idx Name Size VMA LMA File off Algn 0 .text 000030cc 00000000 00000000 00000034 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE 1 .data 00000000 00000000 00000000 00003100 2**0 CONTENTS, ALLOC, LOAD, DATA 2 .bss 0000004d 00000000 00000000 00003100 2**2 ALLOC 3 .rodata 000002a9 00000000 00000000 00003100 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA 4 .rodata.cst4 00000014 00000000 00000000 000033ac 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA 5 .rodata.str1.4 00000233 00000000 00000000 000033c0 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 .sbss 00000008 00000000 00000000 000035f4 2**2 ALLOC 7 .debug_info 0000f57c 00000000 00000000 000035f4 2**0 CONTENTS, RELOC, READONLY, DEBUGGING 8 .debug_abbrev 00000a87 00000000 00000000 00012b70 2**0 CONTENTS, READONLY, DEBUGGING 9 .debug_loc 0000586a 00000000 00000000 000135f7 2**0 CONTENTS, RELOC, READONLY, DEBUGGING 10 .debug_aranges 00000020 00000000 00000000 00018e61 2**0 CONTENTS, RELOC, READONLY, DEBUGGING 11 .debug_ranges 00001340 00000000 00000000 00018e81 2**0 CONTENTS, READONLY, DEBUGGING 12 .debug_line 00001534 00000000 00000000 0001a1c1 2**0 CONTENTS, RELOC, READONLY, DEBUGGING 13 .debug_str 0000dfde 00000000 00000000 0001b6f5 2**0 CONTENTS, READONLY, DEBUGGING 14 .comment 00000027 00000000 00000000 000296d3 2**0 CONTENTS, READONLY 15 .note.GNU-stack 00000000 00000000 00000000 000296fa 2**0 CONTENTS, READONLY 16 .eh_frame 00000488 00000000 00000000 000296fc 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA . . . --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214456-13-qljcqR9Qzf>