[Bug bootstrap/57125] Build not SMP safe; fails to build bconfig.h
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57125 --- Comment #4 from Ryan Hill dirtyepic at gentoo dot org --- For 4.7, the patch in comment #1 did the trick for us. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.3/gentoo/93_all_4.8.0_gengtype-lex_parallel_build.patch
[Bug libitm/52695] libitm/config/x86/cacheline.h: '__m64' does not name a type
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52695 --- Comment #7 from Ryan Hill dirtyepic at gentoo dot org --- (In reply to Jakub Jelinek from comment #5) No idea what brokeness the above talks about, it works just fine for me in C++, so IMHO it just should always include x86intrin.h, but certainly if __MMX__ is defined, but no __SSE__, the above won't include in C++ any header which would define __m64. For 4.8 it just directly includes x86intrin.h. http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00467.html [1] However after patching 4.7.3 [2] we're seeing a different error on some systems. ---8--- In file included from /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/./gcc/include/x86intrin.h:27:0, from /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libitm/config/x86/target.h:72, from /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libitm/libitm_i.h:82, from /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libitm/aatree.cc:28: /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/./gcc/include/ia32intrin.h: In function ‘int __bsrd(int)’: /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/./gcc/include/ia32intrin.h:41:35: error: ‘__builtin_ia32_bsrsi’ was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/./gcc/include/ia32intrin.h: In function ‘long long unsigned int __rdpmc(int)’: /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/./gcc/include/ia32intrin.h:89:35: error: ‘__builtin_ia32_rdpmc’ was not declared in this scope /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/./gcc/include/ia32intrin.h: In function ‘long long unsigned int __rdtsc()’: /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/./gcc/include/ia32intrin.h:97:32: error: ‘__builtin_ia32_rdtsc’ was not declared in this scope ---8--- Both the reporters have AMD K8 processors. They only hit the bug when using -march=native; -march=k8 is successful. $ echo | gcc -march=native -v -E - 21 | grep cc1 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/cc1 -E -quiet -v - -march=k8 -mno-cx16 -mno-sahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 So it seems there's still a piece missing. [1] http://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=193369 [2] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.3/gentoo/49_all_x86_pr52695_libitm-m64.patch?revision=1.1view=markup
[Bug libitm/53113] Build fails in x86_avx.cc if AVX disabled by -mno-avx but supported by as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113 --- Comment #21 from Ryan Hill dirtyepic at gentoo dot org --- Well in practice we've had to have users build GCC with -mno-avx on no less than three occasions since 4.4 due to compiler bugs on certain chips (usually newer chips + old releases), so it'd be nice to have it just work. If x86_avx.cc must be compiled with -mavx then can it be appended after user CFLAGS? That should make everyone happy.
[Bug bootstrap/59057] New: bootstrap comparison failure with -frecord-gcc-switches
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59057 Bug ID: 59057 Summary: bootstrap comparison failure with -frecord-gcc-switches Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dirtyepic at gentoo dot org We have a bug report about comparison failures bootstrapping with -frecord-gcc-switches. The cause is -gtoggle appearing in .GCC.command.line of the stage2 obj files but not in stage3. Should .GCC.command.line be considered a comment and stripped when comparing?
[Bug bootstrap/57125] Build not SMP safe; fails to build bconfig.h
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57125 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||toolchain at gentoo dot org --- Comment #1 from Ryan Hill dirtyepic at gentoo dot org --- This was partially fixed by http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01682.html but gengtype.c, gengtype-parse.c, and gengtype-state.c also include bconfig.h if -DGENERATOR_FILE is defined.
[Bug c++/58639] New: ICE on self-referential struct member
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58639 Bug ID: 58639 Summary: ICE on self-referential struct member Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dirtyepic at gentoo dot org #include vector struct node { node parent; }; void f() { std::vectornode v; v.push_back({}); } $ g++ -std=c++11 487010.cxx g++: internal compiler error: Segmentation fault (program cc1plus) ICE with trunk, 4.8.1, 4.7.3, and 4.6.4 with -std=c++0x. 4.5.4 correctly gives an error.
[Bug c/58164] New: internal compiler error: in make_decl_rtl, at varasm.c:1147
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58164 Bug ID: 58164 Summary: internal compiler error: in make_decl_rtl, at varasm.c:1147 Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dirtyepic at gentoo dot org $ cat t.c int main(){ int* ptr=main; goto *ptr; } $ gcc-4.8.1 -O2 -v t.c Using built-in specs. COLLECT_GCC=gcc-4.8.1 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.8.1/work/gcc-4.8.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-cloog --disable-isl-version-check --enable-lto --disable-nls --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --with-multilib-list=m32,m64 --disable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.1/python --enable-checking=release --disable-libgcj --enable-libstdcxx-time --disable-libquadmath --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.1 p1.0, pie-0.5.6' Thread model: posix gcc version 4.8.1 (Gentoo 4.8.1 p1.0, pie-0.5.6) COLLECT_GCC_OPTIONS='-O2' '-v' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.1/cc1 -quiet -v t.c -quiet -dumpbase t.c -mtune=generic -march=x86-64 -auxbase t -O2 -version -o /tmp/ccqyPQax.s GNU C (Gentoo 4.8.1 p1.0, pie-0.5.6) version 4.8.1 (x86_64-pc-linux-gnu) compiled by GNU C version 4.8.1, GMP version 5.1.2, MPFR version 3.1.2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory /usr/local/include ignoring nonexistent directory /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/include #include ... search starts here: #include ... search starts here: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/include /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/include-fixed /usr/include End of search list. GNU C (Gentoo 4.8.1 p1.0, pie-0.5.6) version 4.8.1 (x86_64-pc-linux-gnu) compiled by GNU C version 4.8.1, GMP version 5.1.2, MPFR version 3.1.2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 648cea0d1e5918add0977fdeaec87cfb t.c: In function 'main': t.c:1:22: warning: initialization from incompatible pointer type [enabled by default] int main(){ int* ptr=main; goto *ptr; } ^ t.c:1:5: internal compiler error: in make_decl_rtl, at varasm.c:1147 int main(){ int* ptr=main; goto *ptr; } ^ --- or: $ cat t.c int main(){ int ptr=main; goto *ptr; } $ gcc-4.8.1 -O2 t.c t.c: In function 'main': t.c:1:21: warning: initialization makes integer from pointer without a cast [enabled by default] int main(){ int ptr=main; goto *ptr; } ^ t.c:1:5: internal compiler error: in make_decl_rtl, at varasm.c:1147 int main(){ int ptr=main; goto *ptr; } ^ --- Fails since at least 4.5.4 - 4.8 head. Didn't test trunk.
[Bug gcov-profile/57269] New: ICE in gcov_open, at gcov-io.c:82
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57269 Bug ID: 57269 Summary: ICE in gcov_open, at gcov-io.c:82 Product: gcc Version: 4.7.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: dirtyepic at gentoo dot org Created attachment 30107 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30107action=edit poc.i.bz2 $ gcc-4.7.3 -v -O2 poc.i -fprofile-use --coverage -o /dev/null Using built-in specs. COLLECT_GCC=gcc-4.7.3 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.7.3/work/gcc-4.7.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-cloog --with-ppl --with-cloog-include=/usr/include/cloog-ppl --disable-ppl-version-check --enable-lto --disable-nls --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --with-multilib-list=m32,m64 --disable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/python --enable-checking=release --disable-libgcj --enable-libstdcxx-time --disable-libquadmath --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.7.3 p1.0, pie-0.5.5' Thread model: posix gcc version 4.7.3 (Gentoo 4.7.3 p1.0, pie-0.5.5) COLLECT_GCC_OPTIONS='-v' '-O2' '-fprofile-use' '-coverage' '-o' '/dev/null' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/cc1 -fpreprocessed poc.i -quiet -dumpbase poc.i -mtune=generic -march=x86-64 -auxbase poc -O2 -version -fprofile-use -fprofile-arcs -ftest-coverage -o /tmp/cco33h8C.s GNU C (Gentoo 4.7.3 p1.0, pie-0.5.5) version 4.7.3 (x86_64-pc-linux-gnu) compiled by GNU C version 4.7.3, GMP version 5.1.1, MPFR version 3.1.2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C (Gentoo 4.7.3 p1.0, pie-0.5.5) version 4.7.3 (x86_64-pc-linux-gnu) compiled by GNU C version 4.7.3, GMP version 5.1.1, MPFR version 3.1.2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 2df2c46e238255eca0f13c5d46fa52c6 poc.c:1:0: internal compiler error: in gcov_open, at gcov-io.c:82 Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.gentoo.org/ for instructions. This also fails with a vanilla build of the 4.7 branch as of May 8. There is no error with 4.8.0.
[Bug target/50962] Additional opportunity for AGU stall avoidance optimization for Atom processor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50962 --- Comment #7 from Ryan Hill dirtyepic at gentoo dot org --- This caused PR56707.
[Bug rtl-optimization/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS=-O2 -march=pentium3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 --- Comment #11 from Ryan Hill dirtyepic at gentoo dot org 2013-04-04 06:54:22 UTC --- Agreed then. Thanks for looking into it.
[Bug rtl-optimization/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS=-O2 -march=pentium3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #9 from Ryan Hill dirtyepic at gentoo dot org 2013-04-04 05:32:32 UTC --- Any chance of looking at this before the 4.6 branch closes? If not we can work around it locally.
[Bug libitm/53113] Build fails in x86_avx.cc if AVX disabled but supported by as (Solaris Linux)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113 --- Comment #9 from Ryan Hill dirtyepic at gentoo dot org 2013-02-22 02:31:03 UTC --- Well, the trouble is nowadays that many CPUs are exactly this, except without that. But anyways, the test is fragile. There is no reason something like -march=core2 -mno-sse3 should cause this to fail (I don't think it should even try to build it in the first place, but I'm sure there must be a reason). So if this code expects and requires -mavx to compile, append it after the user's CFLAGS rather than letting them blow their feet off.
[Bug libitm/53113] Build fails in x86_avx.cc if AVX disabled but supported by as (Solaris Linux)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #5 from Ryan Hill dirtyepic at gentoo dot org 2012-11-05 03:22:27 UTC --- Ping?
[Bug tree-optimization/52798] __builtin_object_size() based overflow check is a false positive due to parameter optimisation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52798 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #2 from Ryan Hill dirtyepic at gentoo dot org 2012-10-21 22:00:24 UTC --- Also 4.6.2, 4.6.3.
[Bug rtl-optimization/53700] [4.7 regression] ICE in reload_cse_simplify_operands, at postreload.c:403
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53700 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #2 from Ryan Hill dirtyepic at gentoo dot org 2012-06-17 00:00:07 UTC --- * gestures towards the add an attachment button *
[Bug rtl-optimization/53700] [4.7 regression] ICE in reload_cse_simplify_operands, at postreload.c:403
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53700 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC|dirtyepic at gentoo dot org | --- Comment #3 from Ryan Hill dirtyepic at gentoo dot org 2012-06-17 00:05:30 UTC --- Sorry wrong bugzilla.
[Bug target/51106] [4.5/4.6 Regression] ICE in move_insn, at haifa-sched.c:2314
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51106 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #6 from Ryan Hill dirtyepic at gentoo dot org 2012-01-29 16:14:28 UTC --- Can this be applied to 4.5/4.6 please?
[Bug go/47656] libgo.so has writable executable stack
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47656 --- Comment #3 from Ryan Hill dirtyepic at gentoo dot org 2012-01-28 03:44:37 UTC --- Thanks. I'm guessing this builtin is new for 4.7?
[Bug debug/43290] ICE in dwarf2out_frame_debug_expr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43290 --- Comment #22 from Ryan Hill dirtyepic at gentoo dot org 2011-10-07 01:37:51 UTC --- And now 4.4.6.
[Bug tree-optimization/49999] [4.5/graphite] ICE in graphite_loop_normal_form, at graphite-sese-to-poly.c:2850
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4 --- Comment #2 from Ryan Hill dirtyepic at gentoo dot org 2011-08-08 15:58:33 UTC --- ie. no backports for graphite work?
[Bug tree-optimization/49999] New: [4.5/graphite] ICE in graphite_loop_normal_form, at graphite-sese-to-poly.c:2850
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4 Summary: [4.5/graphite] ICE in graphite_loop_normal_form, at graphite-sese-to-poly.c:2850 Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: dirtye...@gentoo.org Created attachment 24929 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24929 testcase-bug348291.i $ x86_64-pc-linux-gnu-gcc-4.5.3 -w -o /dev/null -fpreprocessed -O2 -floop-block -c testcase-bug348291.i testcase-bug348291.i: In function 'UtilArrayCalloc': testcase-bug348291.i:8:1: internal compiler error: in graphite_loop_normal_form, at graphite-sese-to-poly.c:2850 4.4.6 and 4.6.1 work. $ gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.3/work/gcc-4.5.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check --with-cloog-include=/usr/include/cloog-ppl --enable-lto --disable-nls --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.3 (Gentoo 4.5.3 p1.0, pie-0.4.5)
[Bug tree-optimization/49790] New: ICE in partition_view_bitmap, at tree-ssa-live.c:369
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49790 Summary: ICE in partition_view_bitmap, at tree-ssa-live.c:369 Product: gcc Version: 4.4.6 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: dirtye...@gentoo.org Created attachment 24795 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24795 xapian_wrap.i $ g++-4.4.6 -c xapian_wrap.i xapian_wrap.i: In function 'bool f()': xapian_wrap.i:26: internal compiler error: in partition_view_bitmap, at tree-ssa-live.c:369 Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.gentoo.org/ for instructions. $ g++-4.4.6 -v Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.4.6/work/gcc-4.4.6/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.6 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.6/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.6 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.6/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.6/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.6/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check --with-cloog-include=/usr/include/cloog-ppl --disable-nls --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.4.6/python --enable-checking=release --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.6 p1.0, pie-0.4.5' Thread model: posix gcc version 4.4.6 (Gentoo 4.4.6 p1.0, pie-0.4.5)
[Bug tree-optimization/49657] New: array subscript warnings when building gcc with -O2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49657 Summary: array subscript warnings when building gcc with -O2 Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: dirtye...@gentoo.org Building gcc-4.6.1 with BOOT_CFLAGS=-O2 causes a couple -Warray-bounds warnings to be output. I know there are several PRs open for bogus above array bounds warnings but since these are triggered building GCC itself I thought I'd report them. There is also a below array bounds warning. The warnings also appear in 4.6.0 but not 4.5.* IIRC. ~/gcc/gcc-4.6.1 $ ./configure --enable-languages=c ~/gcc/gcc-4.6.1 $ make BOOT_CFLAGS=-O2 bootstrap-lean ../../.././libgcc/../gcc/crtstuff.c: In function ‘frame_dummy’: ../../.././libgcc/../gcc/crtstuff.c:381:19: warning: array subscript is above array bounds [-Warray-bounds] ../../.././libgcc/../gcc/crtstuff.c: In function ‘__do_global_ctors_aux’: ../../.././libgcc/../gcc/crtstuff.c:575:25: warning: array subscript is below array bounds [-Warray-bounds] ../.././gcc/expmed.c: In function ‘init_expmed’: ../.././gcc/expmed.c:134:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:141:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:145:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:149:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:153:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:157:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:164:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:180:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:184:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:188:3: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:231:8: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:246:8: warning: array subscript is above array bounds [-Warray-bounds] ../.././gcc/expmed.c:247:8: warning: array subscript is above array bounds [-Warray-bounds]
[Bug tree-optimization/49657] array subscript warnings when building gcc with -O2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49657 --- Comment #1 from Ryan Hill dirtyepic at gentoo dot org 2011-07-06 04:54:56 UTC --- Created attachment 24699 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24699 build log
[Bug driver/48524] spec language does not cover switches with separated form
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48524 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added Severity|normal |enhancement
[Bug driver/48524] spec language does not cover switches with separated form
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48524 --- Comment #2 from Ryan Hill dirtyepic at gentoo dot org 2011-04-09 18:51:20 UTC --- Sorry, i just wanted a trivial example. The actual rule we use is %{!D_FORTIFY_SOURCE:%{!D_FORTIFY_SOURCE=*:%{!U_FORTIFY_SOURCE:-D_FORTIFY_SOURCE=2}}} but this is just one example of several. The reason we use specs instead of just changing the default is so we can easily bypass them at runtime. This allows us, for example, to have a single compiler for both normal and hardened profiles. I understand what you're saying, but it still seems like an omission to me to not have a way to match switches with separate arguments. Surely this isn't the only case where this is useful?
[Bug driver/48524] New: spec language does not cover switches with separated form
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48524 Summary: spec language does not cover switches with separated form Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassig...@gcc.gnu.org ReportedBy: dirtye...@gentoo.org Up until 4.6.0, we could write a simple spec rule for an arbitrary preprocessor definition like: %{!U_FORTIFY_SOURCE:-D_FORTIFY_SOURCE=2} -D and -U flags have both joined and separate forms and the above rule worked as long as the joined form was used. This was good enough for the most part, since the separate form is rare enough that I didn't even know it existed until now. As of 4.6.0, as outlined in PR47236, these flags are now regenerated in their canonical, separate, form for specs processing with the benefit that specs no longer have to handle the non-canonical cases. The problem we have though, is that there doesn't actually seem to be any way to write a spec rule for a switch substitution using the separated form, or at least any that I've found. The above rule no longer matches, and whitespace and wildcard characters don't seem to be allowed in switch names. I'd like to request that the spec language be extended to provide a way to match separate-form switches, which would restore the functionality we need. This is both an enhancement request and, in my point of view, a regression, since the loss of the ability to write specs matching preprocessor symbols has broken several of our projects in ways that would be very difficult to fix otherwise.
[Bug go/48407] libgo/configure --without-libffi doesn't work
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48407 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #1 from Ryan Hill dirtyepic at gentoo dot org 2011-04-03 07:44:52 UTC --- http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02084.html
[Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #24 from Ryan Hill dirtyepic at gentoo dot org 2011-03-26 07:31:02 UTC --- I'm seeing this exact behaviour with 4.6 (r171422) with grub-0.97. Unfortunately again there is no self-contained test case. It appears stage2 is being miscompiled. At least, if I copy that file from a 4.5 build everything works. This is how I can reproduce it: - build grub-0.97. The object files are built like gcc -m32 -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -g -MT pre_stage2_exec-stage2.o -MD -MP -MF .deps/pre_stage2_exec-stage2.Tpo -c -o pre_stage2_exec-stage2.o `test -f 'stage2.c' || echo './'`stage2.c - after installation, run `grub-install /dev/sda` # grub-install /dev/sda GNU GRUB version 0.97 (640K lower / 9216K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub setup --stage2=/boot/grub/stage2 --prefix=/grub (hd0) Checking if /grub/stage1 exists... yes Checking if /grub/stage2 exists... yes Checking if /grub/e2fs_stage1_5 exists... yes Running embed /grub/e2fs_stage1_5 (hd0)... 24 sectors are embedded. succeeded Running install --stage2=/boot/grub/stage2 /grub/stage1 (hd0) (hd0)1+24 p (hd0,0)/grub/stage2 /grub/menu.lst... failed Error 6: Mismatched or corrupt version of stage1/stage2 grub quit -fno-inline-small-functions works -fno-inline-small-functions -finline-functions works -fno-guess-branch-probability works -fno-ipa-profile works -fno-strict-aliasing works with -Os but not -O2 I understand this is impossible to debug. I'm just hoping it might spin some wheels. Grub isn't something we like to miscompile. ;) Let me know what other info/files would be useful.
[Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333 --- Comment #25 from Ryan Hill dirtyepic at gentoo dot org 2011-03-26 08:04:14 UTC --- -fno-inline-small-functions works with -O2, not -Os.
[Bug c++/44499] No default constructor available
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44499 --- Comment #16 from Ryan Hill dirtyepic at gentoo dot org 2011-03-17 11:36:15 UTC --- (In reply to comment #11) GCC 4.4 and 4.5 reject the example too, so I don't know when the bug was fixed, it's apparently not a change in 4.6 (though there were some bugs in this area fixed recently.) Hmm, that particular example does fail. But we've still been seeing this in packages such as xulrunner and openjade that are fine with 4.5, so some variation of the example is a new error. eg. this only fails with 4.6: struct A { int a; A (); }; struct B : public A { }; const B b;
[Bug debug/43290] ICE in dwarf2out_frame_debug_expr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43290 --- Comment #21 from Ryan Hill dirtyepic at gentoo dot org 2011-03-09 02:28:21 UTC --- this is an in-branch regression from 4.4.4 and prevents -march=native bootstrap on Sandy Bridge. want a new bug?
[Bug debug/43290] ICE in dwarf2out_frame_debug_expr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43290 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #20 from Ryan Hill dirtyepic at gentoo dot org 2011-03-04 21:54:01 UTC --- We're hitting this on vanilla 4.4.5. Any chance of a backport? https://bugs.gentoo.org/357287
[Bug c++/44499] No default constructor available
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44499 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #10 from Ryan Hill dirtyepic at gentoo dot org 2011-03-03 22:28:45 UTC --- (In reply to comment #3) (In reply to comment #1) gcc is correct, accepting the code previously was a bug that was fixed recently You need to provide an initializer for g_d This sort of changes should be documented in the changes.html page or in porting_to.html Could this be added? Some upstreams are arguing this is a bug in GCC. In the past we've found that if it's documented that this change was indeed intentional, they're more willing to fix their code.
[Bug go/47656] New: libgo.so has writable executable stack
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47656 Summary: libgo.so has writable executable stack Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go AssignedTo: i...@airs.com ReportedBy: dirtye...@gentoo.org For security reasons our package manager scans ELF files being installed for writable executable stacks using scanelf (pax-utils). libgo.so triggers this warning. $ scanelf -qe /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/libgo.so.0.0.0 RWX --- --- /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/libgo.so.0.0.0 $ eu-readelf -S /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/libgo.so.0.0.0 There are 31 section headers, starting at offset 0x8975e0: Section Headers: [Nr] Name Type Addr Off Size ES Flags Lk Inf Al [ 0] NULL 0 0 0 0 [ 1] .hashHASH 0200 0200 00014468 4 A 3 0 8 [ 2] .gnu.hashGNU_HASH 00014668 00014668 000181e4 0 A 3 0 8 [ 3] .dynsym DYNSYM 0002c850 0002c850 000498a8 24 A 4 3 8 [ 4] .dynstr STRTAB 000760f8 000760f8 000b1074 0 A 0 0 1 [ 5] .gnu.version GNU_versym 0012716c 0012716c 620e 2 A 3 0 2 [ 6] .gnu.version_r GNU_verneed 0012d380 0012d380 00e0 0 A 4 4 8 [ 7] .rela.dynRELA 0012d460 0012d460 002900b8 24 A 3 0 8 [ 8] .rela.pltRELA 003bd518 003bd518 edd8 24 A 3 10 8 [ 9] .initPROGBITS 003cc2f0 003cc2f0 0018 0 AX 0 0 4 [10] .plt PROGBITS 003cc308 003cc308 9ea0 16 AX 0 0 4 [11] .textPROGBITS 003d61b0 003d61b0 001c5dbc 0 AX 0 0 16 [12] .finiPROGBITS 0059bf6c 0059bf6c 000e 0 AX 0 0 4 [13] .rodata PROGBITS 0059bf80 0059bf80 000607e2 0 A 0 0 32 [14] .eh_frame_hdrPROGBITS 005fc764 005fc764 b44c 0 A 0 0 4 [15] .eh_framePROGBITS 00607bb0 00607bb0 0003b324 0 A 0 0 8 [16] .gcc_except_tablePROGBITS 00642ed4 00642ed4 27d5 0 A 0 0 4 [17] .tdata PROGBITS 00846020 00646020 0008 0 WAT0 0 8 [18] .tbssNOBITS 00846028 00646028 00d0 0 WAT0 0 8 [19] .ctors PROGBITS 00846028 00646028 0020 0 WA 0 0 8 [20] .dtors PROGBITS 00846048 00646048 0010 0 WA 0 0 8 [21] .jcr PROGBITS 00846058 00646058 0008 0 WA 0 0 8 [22] .data.rel.ro PROGBITS 00846060 00646060 00122e88 0 WA 0 0 32 [23] .dynamic DYNAMIC 00968ee8 00768ee8 01e0 16 WA 4 0 8 [24] .got PROGBITS 009690c8 007690c8 2f10 8 WA 0 0 8 [25] .got.plt PROGBITS 0096bfe8 0076bfe8 4f60 8 WA 0 0 8 [26] .dataPROGBITS 00970f60 00770f60 00084390 0 WA 0 0 32 [27] .bss NOBITS 009f5300 007f52f0 00234bb8 0 WA 0 0 32 [28] .go_export PROGBITS 007f52f0 000a21cf 0 0 0 1 [29] .gnu_debuglink PROGBITS 008974bf 001c 0 0 0 1 [30] .shstrtabSTRTAB 008974db 0102 0 0 0 1 $ gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.6.0-pre/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.6.0-pre --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check --with-cloog-include=/usr/include/cloog-ppl --enable-lto --disable-nls --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld
[Bug driver/47390] [4.6 Regression] Linking with -export-dynamic broken
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47390 --- Comment #3 from Ryan Hill dirtyepic at gentoo dot org 2011-02-08 01:23:27 UTC --- looks like some packages also use --export-dynamic, which just flat out fails now. x86_64-unknown-linux-gnu-gcc: error: unrecognized option '--export-dynamic'
[Bug driver/47390] [4.6 Regression] Linking with -export-dynamic broken
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47390 --- Comment #5 from Ryan Hill dirtyepic at gentoo dot org 2011-02-08 02:15:13 UTC --- okay, i'll let the upstreams of these packages know.
[Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45306 --- Comment #8 from Ryan Hill dirtyepic at gentoo dot org 2011-02-04 06:27:07 UTC --- I'm guessing that means 4.5 will stay broken?
[Bug go/47452] New: Bootstrap fails in libgo (argument has incompatible type)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47452 Summary: Bootstrap fails in libgo (argument has incompatible type) Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go AssignedTo: i...@airs.com ReportedBy: dirtye...@gentoo.org r169189 /bin/sh ./libtool --tag GO --mode=compile /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/build/./gcc/gccgo -B/var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/build/./gcc/ -B/usr/x86_64-unknown-linux-gnu/bin/ -B/usr/x86_64-unknown-linux-gnu/lib/ -isystem /usr/x86_64-unknown-linux-gnu/include -isystem /usr/x86_64-unknown-linux-gnu/sys-include -minline-all-stringops -O2 -g -c -o bytes/bytes.o -fgo-prefix=libgo_bytes /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/buffer.go /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/bytes.go /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/bytes_decl.go libtool: compile: /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/build/./gcc/gccgo -B/var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/build/./gcc/ -B/usr/x86_64-unknown-linux-gnu/bin/ -B/usr/x86_64-unknown-linux-gnu/lib/ -isystem /usr/x86_64-unknown-linux-gnu/include -isystem /usr/x86_64-unknown-linux-gnu/sys-include -minline-all-stringops -O2 -g -c -fgo-prefix=libgo_bytes /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/buffer.go /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/bytes.go /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/bytes_decl.go -fPIC -o bytes/.libs/bytes.o /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/buffer.go:193:33: error: argument 1 has incompatible type /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/buffer.go:193:39: error: argument 2 has incompatible type /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/bytes.go:350:31: error: argument 1 has incompatible type /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/libgo/go/bytes/bytes.go:350:50: error: argument 2 has incompatible type make[4]: *** [bytes/libbytes.a] Error 1 make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/build/x86_64-unknown-linux-gnu/libgo' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/build/x86_64-unknown-linux-gnu/libgo' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/build/x86_64-unknown-linux-gnu/libgo' make[1]: *** [all-target-libgo] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/build' make: *** [bootstrap-lean] Error 2 emake failed * ERROR: sys-devel/gcc-4.6.0_pre failed: * emake failed with bootstrap-lean configured as: configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bi n/4.6.0-pre --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check --with-cloog-include=/usr/include/cloog-ppl --enable-lto --disable-nls --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,go --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo SVN
[Bug driver/47390] New: Linking with -export-dynamic broken
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47390 Summary: Linking with -export-dynamic broken Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassig...@gcc.gnu.org ReportedBy: dirtye...@gentoo.org When building gawk, -export-dynamic is added to LDFLAGS. It seems current trunk treats options starting with -e differently that previous versions. With 4.6 I get: x86_64-unknown-linux-gnu-gcc -O2 -march=native -g -pipe -export-dynamic -o gawk array.o awkgram.o builtin.o dfa.o ext.o field.o floatcomp.o gawkmisc.o getopt.o getopt1.o io.o main.o msg.o node.o random.o re.o regex.o replace.o version.o eval.o profile.o-ldl -lm -lm /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/../../../../x86_64-unknown-linux-gnu/bin/ld: warning: cannot find entry symbol xport-dynamic; defaulting to 004034c0 This leads to a broken gawk: $ gawk -V (null): fatal: spec_setup: cp: can't allocate 2109862218 bytes of memory (Success) It could be that this is intentional and something like -Wl,-export-dynamic should be used, but this mail indicates differently: http://osdir.com/ml/bug-gnu-utils-gnu/2010-10/msg2.html If it is intentional, it should be documented in release notes so we have something to point upstreams at. $ gcc-4.6.0-pre -v Using built-in specs. COLLECT_GCC=gcc-4.6.0-pre COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.6.0_pre/work/gcc-4.6.0-/configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.6.0-pre --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0-pre/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check --with-cloog-include=/usr/include/cloog-ppl --enable-lto --disable-nls --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/4.6.0-pre/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,go --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN' Thread model: posix gcc version 4.6.0-pre 20110121 (experimental) rev. 169076 (Gentoo SVN) $ ld -v GNU ld (GNU Binutils) 2.21
[Bug testsuite/40625] [4.5/4.6 Regression] Errors in make -k check-gcc RUNTESTFLAGS=plugin.exp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40625 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #11 from Ryan Hill dirtyepic at gentoo dot org 2011-01-15 00:39:26 UTC --- I still see the struct-layout-1.exp error. Running /var/tmp/portage/sys-devel/gcc-4.5.2/work/gcc-4.5.2/gcc/testsuite/g++.dg/compat/struct-layout-1.exp ... ERROR: tcl error sourcing /var/tmp/portage/sys-devel/gcc-4.5.2/work/gcc-4.5.2/gcc/testsuite/g++.dg/compat/struct-layout-1.exp. ERROR: can't read HOSTCC: no such variable while executing remote_exec build $HOSTCC $HOSTCFLAGS $generator_cmd invoked from within set status [remote_exec build $HOSTCC $HOSTCFLAGS $generator_cmd] (file /var/tmp/portage/sys-devel/gcc-4.5.2/work/gcc-4.5.2/gcc/testsuite/g++.dg/compat/struct-layout-1.exp line 134) invoked from within source /var/tmp/portage/sys-devel/gcc-4.5.2/work/gcc-4.5.2/gcc/testsuite/g++.dg/compat/struct-layout-1.exp (uplevel body line 1) invoked from within uplevel #0 source /var/tmp/portage/sys-devel/gcc-4.5.2/work/gcc-4.5.2/gcc/testsuite/g++.dg/compat/struct-layout-1.exp invoked from within catch uplevel #0 source $test_file_name
[Bug target/45094] [arm] wrong instructions for dword move in some cases
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45094 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #12 from Ryan Hill dirtyepic at gentoo dot org 2010-12-28 00:47:14 UTC --- Is that first hunk intentional?
[Bug target/45726] Thumb2 instruction emitted for incompatible CPU
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45726 --- Comment #18 from Ryan Hill dirtyepic at gentoo dot org 2010-12-26 08:03:51 UTC --- Ignore that.
[Bug target/45726] Thumb2 instruction emitted for incompatible CPU
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45726 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #17 from Ryan Hill dirtyepic at gentoo dot org 2010-12-26 05:45:45 UTC --- Doesn't this second change also need to be on the 4.5 branch?
[Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45306 --- Comment #5 from Ryan Hill dirtyepic at gentoo dot org 2010-12-13 03:57:42 UTC --- Created attachment 22733 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22733 testcase-min.ii Reduced testcase.
[Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45306 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added Attachment #22733|0 |1 is obsolete|| --- Comment #6 from Ryan Hill dirtyepic at gentoo dot org 2010-12-13 04:25:25 UTC --- Created attachment 22735 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22735 testcase-min.ii Reduced a bit more.
[Bug middle-end/46734] [4.5 Regression] ICE in create_tmp_var, at gimplify.c:505
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46734 --- Comment #2 from Ryan Hill dirtyepic at gentoo dot org 2010-12-02 00:29:26 UTC --- Created attachment 22596 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22596 testcase-mini.i FWIW, delta eventually spit this out.
[Bug other/46734] New: ICE in create_tmp_var, at gimplify.c:505
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46734 Summary: ICE in create_tmp_var, at gimplify.c:505 Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: dirtye...@gentoo.org Created attachment 22585 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22585 segmentAnchorPluckerFeature.i.bz2 Unfortunately the preprocessed source is from boost and huge. I'm trying to reduce it. Both 4.5.1 and current 4.5 branch svn fail. 4.4.5 works. $ g++ -O2 -m32 -c segmentAnchorPluckerFeature.i In file included from /mnt/data/LAAS/Libs/jafar/modules/jmath/include/jmath/ublasExtra.hpp:12:0, from /mnt/data/LAAS/Libs/jafar/modules/slam/src/segmentAnchorPluckerFeature.cpp:6: /usr/include/boost/numeric/ublas/vector_proxy.hpp: In function 'boost::numeric::ublas::vector_rangeV boost::numeric::ublas::vector_rangeV::project(const boost::numeric::ublas::vector_rangeV::range_type) const [with V = boost::numeric::ublas::vectordouble, boost::numeric::ublas::vector_rangeV::range_type = boost::numeric::ublas::basic_range, typename A::difference_type = int, typename A::size_type = unsigned int]': /usr/include/boost/numeric/ublas/vector_proxy.hpp:62:58: internal compiler error: in create_tmp_var, at gimplify.c:505 $ g++ -v Using built-in specs. COLLECT_GCC=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.2-pre/g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.2_pre/work/gcc-4.5.2-/configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.2-pre --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.2-pre --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.2-pre/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.2-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --enable-lto --disable-nls --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/4.5.2-pre/python --enable-checking=release --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN' Thread model: posix gcc version 4.5.2-pre 20101130 (prerelease) rev. 167289 (Gentoo SVN)
[Bug middle-end/46651] ICE with graphite enabled in cairo-1.8.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46651 --- Comment #14 from Ryan Hill dirtyepic at gentoo dot org 2010-11-29 19:12:18 UTC --- Created attachment 22568 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22568 cairo-cff-subset.i This is with 4.5 branch svn HEAD (rev 167257). No patches are applied, other than branding. cairo-1.10.0/src # x86_64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.. -I/usr/include/pixman-1 -Wno-unused-parameter -Wno-attributes -O2 -floop-block -c cairo-cff-subset.c cairo-cff-subset.c: In function 'cff_index_write': cairo-cff-subset.c:316:1: internal compiler error: tree check: expected ssa_name, have integer_cst in insert_out_of_ssa_copy, at graphite-sese-to-poly.c:2129 Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.gentoo.org/ for instructions. halo ~/portage/x11-libs/cairo-1.10.0-r3/work/cairo-1.10.0/src # x86_64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.. -I/usr/include/pixman-1 -Wno-unused-parameter -Wno-attributes -O2 -floop-block -c cairo-cff-subset.c -v -save-temps Using built-in specs. COLLECT_GCC=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.2-pre/x86_64-unknown-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.2_pre/work/gcc-4.5.2-/configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.2-pre --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.2-pre --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.2-pre/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.2-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --enable-lto --disable-nls --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/4.5.2-pre/python --enable-checking=yes --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN' Thread model: posix gcc version 4.5.2-pre 20101129 (prerelease) rev. 167257 (Gentoo SVN) COLLECT_GCC_OPTIONS='-DHAVE_CONFIG_H' '-I..' '-I/usr/include/pixman-1' '-Wno-unused-parameter' '-Wno-attributes' '-O2' '-floop-block' '-c' '-v' '-save-temps' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/cc1 -E -quiet -v -I.. -I/usr/include/pixman-1 -DHAVE_CONFIG_H cairo-cff-subset.c -mtune=generic -march=x86-64 -Wno-unused-parameter -Wno-attributes -floop-block -O2 -fpch-preprocess -o cairo-cff-subset.i ignoring nonexistent directory /usr/local/include ignoring nonexistent directory /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/../../../../x86_64-unknown-linux-gnu/include #include ... search starts here: #include ... search starts here: .. /usr/include/pixman-1 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/include /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/include-fixed /usr/include End of search list. COLLECT_GCC_OPTIONS='-DHAVE_CONFIG_H' '-I..' '-I/usr/include/pixman-1' '-Wno-unused-parameter' '-Wno-attributes' '-O2' '-floop-block' '-c' '-v' '-save-temps' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.2-pre/cc1 -fpreprocessed cairo-cff-subset.i -quiet -dumpbase cairo-cff-subset.c -mtune=generic -march=x86-64 -auxbase cairo-cff-subset -O2 -Wno-unused-parameter -Wno-attributes -version -floop-block -o cairo-cff-subset.s GNU C (Gentoo SVN) version 4.5.2-pre 20101129 (prerelease) rev. 167257 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.5.2-pre 20101129 (prerelease) rev. 167257, GMP version 5.0.1, MPFR version 3.0.0-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C (Gentoo SVN) version 4.5.2-pre 20101129 (prerelease) rev. 167257 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.5.2-pre 20101129 (prerelease) rev. 167257, GMP version 5.0.1, MPFR version 3.0.0-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: af73c8cd9faabd3e4d17cfeaf8807132 cairo-cff-subset.c: In function 'cff_index_write': cairo-cff-subset.c:316:1: internal compiler error: tree check: expected ssa_name, have integer_cst in insert_out_of_ssa_copy, at graphite-sese-to-poly.c:2129 Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.gentoo.org/ for instructions.
[Bug middle-end/46651] ICE with graphite enabled in cairo-1.8.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46651 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #15 from Ryan Hill dirtyepic at gentoo dot org 2010-11-29 19:13:19 UTC --- Nevermind.
[Bug tree-optimization/46315] [4.5 Regression] gcc-4.5.1 -O2 -fno-strict-overflow causes bad code generation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46315 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org --- Comment #3 from Ryan Hill dirtyepic at gentoo dot org 2010-11-09 04:49:54 UTC --- Not to rush you, but I was wondering if there will be anyone looking at this in the near future. I was planning on releasing 4.5.1 into the unstable branch of our repo this week but if a patch may be soon available I'll hold off. If there isn't any interest I'll do the release and mask it on our hardened profiles (which use -fno-strict-overflow by default) for now.
[Bug bootstrap/46173] New: gcc/gencheck.c:30:24: error: all-tree.def: No such file or directory
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46173 Summary: gcc/gencheck.c:30:24: error: all-tree.def: No such file or directory Product: gcc Version: 4.4.6 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: dirtye...@gentoo.org Rev 137006 included this change: * gencheck.c (tree_codes): Include all-tree.def, rather than tree.def, c-common.def, and gencheck.h. Undefined DEFTREECODE after it is used. However the change to the build/gencheck.o target in gcc/Makefile.in was: @@ -3239,7 +3245,7 @@ build/genattrtab.o : genattrtab.c $(RTL_BASE_H) $(OBSTACK_H) \ build/genautomata.o : genautomata.c $(RTL_BASE_H) $(OBSTACK_H) \ $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) errors.h vec.h \ $(HASHTAB_H) gensupport.h -build/gencheck.o : gencheck.c gencheck.h tree.def $(BCONFIG_H) $(GTM_H) \ +build/gencheck.o : gencheck.c tree.def $(BCONFIG_H) $(GTM_H) \ $(SYSTEM_H) coretypes.h $(lang_tree_files) build/genchecksum.o : genchecksum.c $(BCONFIG_H) $(SYSTEM_H) $(MD5_H) build/gencodes.o : gencodes.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ rather than depending on tree.def, it should be all-tree.def. This leads to a sporadic parallel build error we're seeing on our weekly builds. This was fixed with rev 147491 but never made it onto the 4.4 branch.
[Bug target/44046] Intel Core i5 M520 CPU detected as atom with -march=native
--- Comment #6 from dirtyepic at gentoo dot org 2010-05-09 18:39 --- Created an attachment (id=20614) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20614action=view) gcc45-PR44046-core2.patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44046
[Bug target/44046] Intel Core i5 M520 CPU detected as atom with -march=native
--- Comment #7 from dirtyepic at gentoo dot org 2010-05-09 18:44 --- sorry, wrong bugzilla. ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44046
[Bug target/34501] The vector cost model does not seem suited for Intel Core2Duo
--- Comment #3 from dirtyepic at gentoo dot org 2010-05-09 19:26 --- Nothing changed. -march=native sets -mtune=core2 on my Penyrn as far back as 4.3, and you can see in PR44046 that Nehalem did the same before the patch. -- dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34501
[Bug target/44046] New: Intel Core i5 M520 CPU detected as atom with -march=native
We have a user that is getting illegal instruction errors while building xulrunner. /var/tmp/portage/net-libs/xulrunner-1.9.2.3-r1/work/mozilla-1.9.2/dist/bin/xpidl -m typelib -w -I. -I../../dist/idl -e _xpidlgen/nsIConsoleListener.xpt -d .deps/nsIConsoleListener.pp nsIConsoleListener.idl make[4]: *** [_xpidlgen/nsIConsoleListener.xpt] Illegal instruction It turns out that using -march=native with his Core i5 processor results in -march=atom being used, specifically: gcc version 4.5.0 (Gentoo 4.5.0 p1.0) COLLECT_GCC_OPTIONS= '-v' '-o' 'test' /usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.0/cc1 -quiet -v test.c -D_FORTIFY_SOURCE=2 -march=atom -mcx16 -msahf -maes -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=core2 -quiet -dumpbase test.c -auxbase test -version -o /tmp/ccmAagyo.s I believe the issue is that this processor doesn't support mmovbe, which -march=atom enables (the error doesn't occur w/ -march=atom -mno-movbe). Am I right in guessing that it should instead be using -march=core2 + a bunch of -m flags? I will attach his /proc/cpuinfo. Let me know what other info you need. http://bugs.gentoo.org/317513 -- Summary: Intel Core i5 M520 CPU detected as atom with - march=native Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44046
[Bug target/44046] Intel Core i5 M520 CPU detected as atom with -march=native
--- Comment #1 from dirtyepic at gentoo dot org 2010-05-09 04:48 --- Created an attachment (id=20610) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20610action=view) /proc/cpuinfo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44046
[Bug rtl-optimization/40838] gcc shouldn't assume that the stack is aligned
--- Comment #75 from dirtyepic at gentoo dot org 2010-04-29 22:58 --- if some libraries, (zlib and fontconfig i've had personal experience with, i've also heard libgcrypt) are compiled with -ftree-vectorize (ie. -O3) on x86 systems supporting SSE2, it causes segfaults in certain packages, usually mozilla-based or wine, when SSE2 instructions requiring 16bit alignment are used on unaligned data. nothing is being built with -mpreferred-stack-boundary in these cases. this is PR41156, https://bugzilla.redhat.com/489290, https://bugs.gentoo.org/270120. i'm not convinced this is GCC's problem. it usually gets traced back as far as something in the mozilla codebase misaligning the stack at which point everyone seems to give up. i've yet to see an actual testcase, though I've encountered it several times in the wild. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838
[Bug libstdc++/41816] libstdc++.so.6.0.14-gdb.py is not an ELF file
--- Comment #4 from dirtyepic at gentoo dot org 2010-02-04 05:02 --- would it be possible to get a configure flag specifying where to install these files, which we could then set to gdb's auto-load directory? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41816
[Bug c++/42569] ICE in cp_parser_parenthesized_expression_list at cp/parser.c
--- Comment #3 from dirtyepic at gentoo dot org 2010-01-01 22:18 --- Created an attachment (id=19440) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19440action=view) gstapev2mux.ii.bz2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42569
[Bug c++/42569] New: ICE in cp_parser_parenthesized_expression_list at cp/parser.c
while building gst-plugins-taglib-0.10.17: gstapev2mux.cc: In function 'void add_one_tag(const GstTagList*, const gchar*, void*)': gstapev2mux.cc:118:62: error: cannot call constructor 'TagLib::String::String' directly gstapev2mux.cc:118:62: note: for a function-style cast, remove the redundant '::String' gstapev2mux.cc:127:62: error: cannot call constructor 'TagLib::String::String' directly gstapev2mux.cc:127:62: note: for a function-style cast, remove the redundant '::String' gstapev2mux.cc:127:62: error: no matching function for call to 'TagLib::String::String(char*, TagLib::String::Type, char*, TagLib::String::Type)' /usr/include/taglib/tstring.h:164:5: note: candidates are: TagLib::String::String(const TagLib::ByteVector, TagLib::String::Type) /usr/include/taglib/tstring.h:156:5: note: TagLib::String::String(const char*, TagLib::String::Type) /usr/include/taglib/tstring.h:147:5: note: TagLib::String::String(wchar_t, TagLib::String::Type) /usr/include/taglib/tstring.h:142:5: note: TagLib::String::String(char, TagLib::String::Type) /usr/include/taglib/tstring.h:134:5: note: TagLib::String::String(const wchar_t*, TagLib::String::Type) /usr/include/taglib/tstring.h:129:5: note: TagLib::String::String(const TagLib::wstring, TagLib::String::Type) /usr/include/taglib/tstring.h:124:5: note: TagLib::String::String(const std::string, TagLib::String::Type) /usr/include/taglib/tstring.h:116:5: note: TagLib::String::String(const TagLib::String) /usr/include/taglib/tstring.h:109:5: note: TagLib::String::String() gstapev2mux.cc:136:44: internal compiler error: vector VEC(tree,base) push domain error, in cp_parser_parenthesized_expression_list at cp/parser.c:5326 Changing the code as the notes suggest allows it to compile, but it shouldn't ICE in any case. 4.4.2 works. $ gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.0-pre/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.0_pre/work/gcc-4.5.0-/configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.0-pre --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/python --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN' --enable-lto --enable-checking Thread model: posix gcc version 4.5.0-pre 20091230 (experimental) rev. 155514 (Gentoo SVN) -- Summary: ICE in cp_parser_parenthesized_expression_list at cp/parser.c Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42569
[Bug c++/42569] ICE in cp_parser_parenthesized_expression_list at cp/parser.c
--- Comment #1 from dirtyepic at gentoo dot org 2010-01-01 00:38 --- Created an attachment (id=19434) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19434action=view) delta-reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42569
[Bug c++/42386] New: ICE in ipcp_iterate_stage, at ipa-cp.c:766
found compiling opensp: $ g++ -O2 Big5CodingSystem.ii Big5CodingSystem.cxx:65:1: internal compiler error: in ipcp_iterate_stage, at ipa-cp.c:766 $ gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.0-pre/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.0_pre/work/gcc-4.5.0-/configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.0-pre --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/python --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN' --enable-lto --enable-checking Thread model: posix gcc version 4.5.0-pre 20091215 (experimental) rev. 155245 (Gentoo SVN) -- Summary: ICE in ipcp_iterate_stage, at ipa-cp.c:766 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42386
[Bug c++/42386] ICE in ipcp_iterate_stage, at ipa-cp.c:766
--- Comment #1 from dirtyepic at gentoo dot org 2009-12-15 23:12 --- Created an attachment (id=19314) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19314action=view) Big5CodingSystem.ii -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42386
[Bug other/42375] New: trunk hangs during diffutils configure
the attached code from the diffutils configure script is supposed to check for working C stack overflow detection but instead hangs when built with trunk at -O2 or higher. 4.4.2 works. $ gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.0-pre/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.0_pre/work/gcc-4.5.0-/configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.0-pre --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/python --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN' --enable-lto --enable-checking Thread model: posix gcc version 4.5.0-pre 20091215 (experimental) rev. 155245 (Gentoo SVN) -- Summary: trunk hangs during diffutils configure Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42375
[Bug other/42375] trunk hangs during diffutils configure
--- Comment #1 from dirtyepic at gentoo dot org 2009-12-15 05:24 --- Created an attachment (id=19303) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19303action=view) conftest.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42375
[Bug other/42375] trunk hangs during diffutils configure
--- Comment #2 from dirtyepic at gentoo dot org 2009-12-15 05:24 --- Created an attachment (id=19304) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19304action=view) conftest.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42375
[Bug target/41156] [4.4/4.5 Regression] zlib segfault in inflate_table() compiled w/ -O -msse2 ftree-vectorize
--- Comment #25 from dirtyepic at gentoo dot org 2009-10-12 22:48 --- would you please just test the patch on PR 40838 and tell HJ if it works or not? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41156
[Bug tree-optimization/41562] New: ICE with -O1 -ftree-loop-distribution -floop-block
one of our more ambitious users discovered an ICE while building libmsn with -O1 -ftree-loop-distribution -floop-block. dropping any one of these flags makes it go away. i'll attach a reduced testcase which i believe is invalid code but still ICEs, and the original preprocessed sources. i also reproduced the error with a recent 4.4 branch checkout (-r152264). $ gcc -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.4.1 --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.4.1 --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.4.1/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.4.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/4.4.1/python --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.1 p1.0' Thread model: posix gcc version 4.4.1 (Gentoo 4.4.1 p1.0) -- Summary: ICE with -O1 -ftree-loop-distribution -floop-block Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41562
[Bug tree-optimization/41562] ICE with -O1 -ftree-loop-distribution -floop-block
--- Comment #1 from dirtyepic at gentoo dot org 2009-10-03 22:29 --- Created an attachment (id=18697) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18697action=view) minimal testcase $ x86_64-unknown-linux-gnu-gcc-4.4.1 -O1 -Wall -ftree-loop-distribution -floop-block bug287159-min.ii bug287159-min.ii: In function 'int Siren7_EncodeFrame(stSirenEncoder*, unsigned char*, unsigned char*)': bug287159-min.ii:17: warning: control reaches end of non-void function bug287159-min.ii:5: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41562
[Bug tree-optimization/41562] ICE with -O1 -ftree-loop-distribution -floop-block
--- Comment #2 from dirtyepic at gentoo dot org 2009-10-03 22:31 --- Created an attachment (id=18698) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18698action=view) original preprocessed source requires -O2 to ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41562
[Bug bootstrap/41345] bootstrap comparison failure with --disable-checking
--- Comment #3 from dirtyepic at gentoo dot org 2009-09-26 20:46 --- still broken in -r152199. is there more info you need? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41345
[Bug bootstrap/41345] New: bootstrap comparison failure with --disable-checking
With current trunk (151649), bootstrap fails during the comparison stage when --disable-checking is used. GCC was built with: $ ../configure --disable-checking $ make -j4 which ultimately results in: make DESTDIR= RPATH_ENVVAR=LD_LIBRARY_PATH TARGET_SUBDIR=x86_64-unknown-linux-gnu bindir=/usr/local/bin datadir=/usr/local/share exec_prefix=/usr/local includedir=/usr/local/include datarootdir=/usr/local/share docdir=/usr/local/share/doc/ infodir=/usr/local/share/info pdfdir=/usr/local/share/doc/ htmldir=/usr/local/share/doc/ libdir=/usr/local/lib libexecdir=/usr/local/libexec lispdir= localstatedir=/usr/local/var mandir=/usr/local/share/man oldincludedir=/usr/include prefix=/usr/local sbindir=/usr/local/sbin sharedstatedir=/usr/local/com sysconfdir=/usr/local/etc tooldir=/usr/local/x86_64-unknown-linux-gnu build_tooldir=/usr/local/x86_64-unknown-linux-gnu target_alias=x86_64-unknown-linux-gnu AWK=gawk BISON=bison CC_FOR_BUILD=gcc CFLAGS_FOR_BUILD=-g -O2 CXX_FOR_BUILD=g++ EXPECT=expect FLEX=flex INSTALL=/usr/bin/install -c INSTALL_DATA=/usr/bin/install -c -m 644 INSTALL_PROGRAM=/usr/bin/install -c INSTALL_SCRIPT=/usr/bin/install -c LDFLAGS_FOR_BUILD= LEX=flex M4=m4 MAKE=make RUNTEST=runtest RUNTESTFLAGS= SED=/bin/sed SHELL=/bin/sh YACC=bison -y `echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'` ADA_CFLAGS= AR_FLAGS=rc `echo 'BOOT_ADAFLAGS=-gnatpg -gnata' | sed -e s'/[^=][^=]*=$/XFOO=/'` BOOT_CFLAGS=-g -O2 BOOT_LDFLAGS= CFLAGS=-g -O2 CXXFLAGS=-g -O2 LDFLAGS= LIBCFLAGS=-g -O2 LIBCXXFLAGS=-g -O2 -fno-implicit-templates STAGE1_CHECKING=--enable-checking=yes,types STAGE1_LANGUAGES=c GNATBIND=no GNATMAKE=no AR_FOR_TARGET=ar AS_FOR_TARGET=as CC_FOR_TARGET=/home/dirtyepic/tmp/gcc-4.5-20090910/build/./gcc/xgcc -B/home/dirtyepic/tmp/gcc-4.5-20090910/build/./gcc/ CFLAGS_FOR_TARGET=-g -O2 CPPFLAGS_FOR_TARGET= CXX_FOR_TARGET=g++ CXXFLAGS_FOR_TARGET=-g -O2 -D_GNU_SOURCE DLLTOOL_FOR_TARGET=dlltool FLAGS_FOR_TARGET=-B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include GCJ_FOR_TARGET= GFORTRAN_FOR_TARGET= LD_FOR_TARGET=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld LIPO_FOR_TARGET=lipo LDFLAGS_FOR_TARGET= LIBCFLAGS_FOR_TARGET=-g -O2 LIBCXXFLAGS_FOR_TARGET=-g -O2 -D_GNU_SOURCE -fno-implicit-templates NM_FOR_TARGET=nm OBJDUMP_FOR_TARGET=objdump RANLIB_FOR_TARGET=ranlib STRIP_FOR_TARGET=strip WINDRES_FOR_TARGET=windres WINDMC_FOR_TARGET=windmc BUILD_CONFIG=bootstrap-debug `echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'` LEAN=false STAGE1_CFLAGS=-g -fkeep-inline-functions STAGE1_TFLAGS= STAGE2_CFLAGS=-g -O2 -gtoggle STAGE2_TFLAGS= STAGE3_CFLAGS=-g -O2 STAGE3_TFLAGS= STAGE4_CFLAGS=-g -O2 STAGE4_TFLAGS= STAGEprofile_CFLAGS=-g -O2 -gtoggle -fprofile-generate STAGEprofile_TFLAGS= STAGEfeedback_CFLAGS=-g -O2 -fprofile-use STAGEfeedback_TFLAGS= TFLAGS= CONFIG_SHELL=/bin/sh MAKEINFO=makeinfo --split-size=500 --split-size=500 compare make[2]: Entering directory `/home/dirtyepic/tmp/gcc-4.5-20090910/build' make[3]: Entering directory `/home/dirtyepic/tmp/gcc-4.5-20090910/build' rm -f stage_current make[3]: Leaving directory `/home/dirtyepic/tmp/gcc-4.5-20090910/build' Comparing stages 2 and 3 warning: gcc/cc1-checksum.o differs Bootstrap comparison failure! gcc/bitmap.o differs make[2]: *** [compare] Error 1 make[2]: Leaving directory `/home/dirtyepic/tmp/gcc-4.5-20090910/build' make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory `/home/dirtyepic/tmp/gcc-4.5-20090910/build' make: *** [all] Error 2 -- Summary: bootstrap comparison failure with --disable-checking Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41345
[Bug bootstrap/41345] bootstrap comparison failure with --disable-checking
--- Comment #1 from dirtyepic at gentoo dot org 2009-09-12 18:47 --- Created an attachment (id=18574) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18574action=view) stage 2 bitmap.o -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41345
[Bug bootstrap/41345] bootstrap comparison failure with --disable-checking
--- Comment #2 from dirtyepic at gentoo dot org 2009-09-12 18:48 --- Created an attachment (id=18575) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18575action=view) stage 3 bitmap.o -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41345
[Bug bootstrap/40928] New: build failure w/ -Wl,--as-needed - undefined references in plugin.c
With current trunk (r150327, but has been broken for a couple months at least) bootstrap fails if LDFLAGS contains -Wl,--as-needed. x86_64-unknown-linux-gnu-gcc -O -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -Wl,--as-needed -Wl,--hash-style=gnu -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o i386-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o \ dummy-checksum.o main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -Lyes/lib -lcloog -Lyes/lib -lppl_c -lppl -lgmpxx -lmpc -lmpfr -lgmp -rdynamic libbackend.a(plugin.o): In function `init_one_plugin': plugin.c:(.text+0x447): undefined reference to `dlopen' plugin.c:(.text+0x454): undefined reference to `dlerror' plugin.c:(.text+0x474): undefined reference to `dlerror' plugin.c:(.text+0x483): undefined reference to `dlsym' plugin.c:(.text+0x48d): undefined reference to `dlerror' plugin.c:(.text+0x4b5): undefined reference to `dlsym' plugin.c:(.text+0x4bd): undefined reference to `dlerror' collect2: ld returned 1 exit status make[3]: *** [cc1-dummy] Error 1 rm gfdl.pod cpp.pod gcc.pod gcov.pod fsf-funding.pod make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.0_pre/work/build/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.0_pre/work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.0_pre/work/build' make: *** [bootstrap] Error 2 /var/tmp/portage/sys-devel/gcc-4.5.0_pre/work/gcc-4.5.0-/configure --prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.0-pre --includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/include --datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre --mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/man --infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre/include/g++-v4 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo SVN -- Summary: build failure w/ -Wl,--as-needed - undefined references in plugin.c Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40928
[Bug bootstrap/40286] mkinstalldirs in install-plugin target missing DESTDIR
--- Comment #5 from dirtyepic at gentoo dot org 2009-06-30 05:04 --- Confirmed, thanks. -- dirtyepic at gentoo dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40286
[Bug bootstrap/40286] New: mkinstalldirs in install-plugin target missing DESTDIR
currently the install-plugin target creates directories in $(plugin_includedir). this is broken wrt DESTDIR and causes a sandbox violation for us (we install into a sandboxed DESTDIR before merging with the live filesystem). the attached patch was sent to gcc-patches but got no response, so i'm filing a PR. I don't have a copyright assignment, but I'm thinking this counts as obvious. https://bugs.gentoo.org/270558 -- Summary: mkinstalldirs in install-plugin target missing DESTDIR Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40286
[Bug bootstrap/40286] mkinstalldirs in install-plugin target missing DESTDIR
--- Comment #1 from dirtyepic at gentoo dot org 2009-05-29 04:57 --- Created an attachment (id=17930) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17930action=view) gcc45-plugin-destdir.patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40286
[Bug c++/39377] New: ICE building qt-script-4.5.0 w/ -O{1,2,3}
dirtye...@halo ~ $ gcc -O1 qscriptecmaboolean.ii qscriptecmaboolean.cpp: In member function 'void QScript::Ecma::Boolean::newBoolean(QScriptValueImpl*, bool)': qscriptecmaboolean.cpp:101: internal compiler error: Segmentation fault dirtye...@halo ~ $ gcc -v Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.4.0_pre/work/gcc-4.4.0-/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.0-pre --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0-pre/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.0-pre --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.0-pre/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.0-pre/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0-pre/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --enable-cld --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN' --with-ppl --with-cloog Thread model: posix gcc version 4.4.0-pre built 20090304 (experimental) rev. 144634 (Gentoo SVN) -- Summary: ICE building qt-script-4.5.0 w/ -O{1,2,3} Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39377
[Bug c++/39377] ICE building qt-script-4.5.0 w/ -O{1,2,3}
--- Comment #1 from dirtyepic at gentoo dot org 2009-03-05 04:04 --- attachment is too large to attach. you can find it @ http://dev.gentoo.org/~dirtyepic/gcc/PR39377-qscriptecmaboolean.ii -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39377
[Bug bootstrap/39051] New: --without-{ppl,cloog} should also disable version checks
/cloog/clast.h:105: error: expected declaration specifiers or '...' before 'Value' /usr/include/cloog/clast.h:114: error: expected declaration specifiers or '...' before 'Value' In file included from /usr/include/cloog/cloog.h:99, from conftest.c:12: /usr/include/cloog/pprint.h:60: error: expected ')' before '*' token configure:5018: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | #ifdef __cplusplus | extern C void exit (int) throw (); | #endif | /* end confdefs.h. */ | #include cloog/cloog.h | int | main () | { | | #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 | choke me | #endif | | ; | return 0; | } configure:5039: result: no -- Summary: --without-{ppl,cloog} should also disable version checks Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39051
[Bug regression/38223] segfault in glib testsuite with trunk
--- Comment #5 from dirtyepic at gentoo dot org 2009-01-24 05:53 --- Just tested again w/ r143592 with no issues. -- dirtyepic at gentoo dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38223
[Bug c/35608] gcc.c-torture/compile/limits-structnest.c fails -O2 -Os
--- Comment #6 from dirtyepic at gentoo dot org 2008-12-07 06:42 --- This is up to four failures now: FAIL: gcc.c-torture/compile/limits-structnest.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/limits-structnest.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/limits-structnest.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/limits-structnest.c -Os (test for excess errors) (rev 142383) -- dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35608
[Bug regression/38223] segfault in glib testsuite with trunk
--- Comment #2 from dirtyepic at gentoo dot org 2008-11-22 09:35 --- Created an attachment (id=16747) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16747action=view) relation-test-min03.i minimal testcase. this also fails with 4.3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38223
[Bug regression/38223] segfault in glib testsuite with trunk
--- Comment #4 from dirtyepic at gentoo dot org 2008-11-22 19:13 --- oops. is the original valid? i'll try to reduce it to something a bit smaller. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38223
[Bug regression/38223] New: segfault in glib testsuite with trunk
/glib-2.18.2/work/glib-2.18.2/glib/.libs -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0-pre/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0-pre/../../../../lib64/crtn.o kali ~ # gcc -O1 relation-test.i -lglib-2.0 -o relation-test kali ~ # gdb ./relation-test GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-pc-linux-gnu... (no debugging symbols found) (gdb) run Starting program: /root/relation-test Program received signal SIGSEGV, Segmentation fault. IA__g_int_hash (v=0x7fffdb813000) at gutils.c:3162 3162gutils.c: No such file or directory. in gutils.c (gdb) bt #0 IA__g_int_hash (v=0x7fffdb813000) at gutils.c:3162 #1 0x7f4cd3345d83 in IA__g_hash_table_lookup (hash_table=0x1931080, key=0x7fffdb813000) at ghash.c:118 #2 0x7f4cd3361c08 in IA__g_relation_insert (relation=0x1930010) at grel.c:211 #3 0x0040075e in main () -- Summary: segfault in glib testsuite with trunk Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38223
[Bug regression/38223] segfault in glib testsuite with trunk
--- Comment #1 from dirtyepic at gentoo dot org 2008-11-22 07:08 --- Created an attachment (id=16746) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16746action=view) relation-test.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38223
[Bug regression/37976] New: ICE in insert_into_preds_of_block
, this is vanilla GCC - no patches have been applied.) The ICE is not triggered with -O{0,1,s}. -- Summary: ICE in insert_into_preds_of_block Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37976
[Bug regression/37976] ICE in insert_into_preds_of_block
--- Comment #1 from dirtyepic at gentoo dot org 2008-10-31 02:58 --- Created an attachment (id=16594) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16594action=view) percent_x.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37976
[Bug tree-optimization/36439] [4.3/4.4 Regression] infinite loop in PRE building gimp-plugin-registry
--- Comment #4 from dirtyepic at gentoo dot org 2008-06-07 14:39 --- Created an attachment (id=15728) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15728action=view) smaller testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36439
[Bug driver/35532] Native GCC no longer searches $prefix/lib for startfiles when run from $objdir
--- Comment #9 from dirtyepic at gentoo dot org 2008-03-22 20:32 --- (In reply to comment #4) By building gcc you become a gcc developer, not a user Nice. We have about 30,000 new developers for you then. Who do i talk to about getting svn write access for them? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35532
[Bug target/35599] New: gcc --target-help on x86[-64] lists invalid values for -march/-mtune
[EMAIL PROTECTED] ~/work $ gcc --target-help [...] -march=CPU/-mtune=CPU generate code/optimize for CPU, where CPU is one of: i386, i486, pentium, pentiumpro, pentium4, nocona, core, core2, k6, athlon, k8, generic32, generic64 [...] [EMAIL PROTECTED] ~/work $ touch temp.c [EMAIL PROTECTED] ~/work $ for t in i386 i486 pentium pentiumpro pentium4 nocona core core2 k6 athlon k8 generic32 generic64; do gcc -c -mtune=$t temp.c; done temp.c:1: error: bad value (core) for -mtune= switch temp.c:1: error: bad value (generic32) for -mtune= switch temp.c:1: error: bad value (generic64) for -mtune= switch [EMAIL PROTECTED] ~/work $ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.1_pre20080314/work/gcc-4.3.1-20080314/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.1-pre20080314 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1-pre20080314/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1-pre20080314 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1-pre20080314/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1-pre20080314/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1-pre20080314/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-linux-futex Thread model: posix gcc version 4.3.1-pre20080314 (Gentoo SVN ebuild) r133233 (GCC) and with 4.2 which lists the same values in --target-help: [EMAIL PROTECTED] ~/work $ for t in i386 i486 pentium pentiumpro pentium4 nocona core core2 k6 athlon k8 generic32 generic64; do gcc-4.2.4-pre20080223 -c -mtune=$t temp.c; done temp.c:1: error: bad value (core) for -mtune= switch temp.c:1: error: bad value (core2) for -mtune= switch temp.c:1: error: bad value (generic32) for -mtune= switch temp.c:1: error: bad value (generic64) for -mtune= switch [EMAIL PROTECTED] ~/work $ gcc-4.2.4-pre20080223 -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.2.4_pre20080223/work/gcc-4.2.4-20080223/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.2.4-pre20080223 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.4-pre20080223/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.4-pre20080223 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.4-pre20080223/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.4-pre20080223/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.4-pre20080223/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-linux-futex Thread model: posix gcc version 4.2.4-pre20080223 (prerelease) (rev. 132578) -- Summary: gcc --target-help on x86[-64] lists invalid values for - march/-mtune Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35599
[Bug tree-optimization/33992] [4.3 Regression] Miscompiles function with inlining, breaks profiledbootstrap
--- Comment #38 from dirtyepic at gentoo dot org 2008-02-11 01:34 --- yep, profiledbootstrap w/ BOOT_CFLAGS=-O2 on x86_64 is working now. i'll try to get it tested on ppc64 to see if it fixes PR34720 too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33992
[Bug bootstrap/33992] Building libstdc++-v3: include/limits: stray '\275' in program
--- Comment #12 from dirtyepic at gentoo dot org 2008-02-04 20:30 --- no one cares that make profiledbootstrap on 64bit targets miscompiles the preprocessor when BOOT_CFLAGS=-O2 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33992
[Bug tree-optimization/34113] [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746
--- Comment #7 from dirtyepic at gentoo dot org 2007-11-17 02:19 --- Confirmed, thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34113
[Bug c/34113] New: ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746
while compiling xorg-server-1.4 with GCC trunk rev 130172. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -O2 -g -march=native -fomit-frame-pointer -pipe -MT access.lo -MD -MP -MF .deps/access.Tpo -c access.c -fPIC -DPIC -o .libs/access.o access.c: In function 'siHostnameAddrMatch': access.c:2115: warning: assignment from incompatible pointer type access.c: In function 'InvalidHost': access.c:1767: warning: 'addr' may be used uninitialized in this function access.c: In function 'DefineSelf': access.c:718: internal compiler error: in get_addr_dereference_operands, at tree-ssa-operands.c:1746 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. make[1]: *** [access.lo] Error 1 # gcc -v Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.0_pre20071113/work/gcc-4.3.0-20071113/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.0-pre20071113 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-pre20071113/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.0-pre20071113 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.0-pre20071113/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.0-pre20071113/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-pre20071113/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.3.0-pre20071113 (experimental) (GCC) -- Summary: ICE in get_addr_dereference_operands, at tree-ssa- operands.c:1746 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dirtyepic at gentoo dot org GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34113
[Bug c/34113] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746
--- Comment #1 from dirtyepic at gentoo dot org 2007-11-15 19:34 --- Created an attachment (id=14560) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14560action=view) access-min.i preprocessed source reduced by delta. # gcc -v -O2 access-min.i Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.0_pre20071113/work/gcc-4.3.0-20071113/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.0-pre20071113 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-pre20071113/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.0-pre20071113 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.0-pre20071113/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.0-pre20071113/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-pre20071113/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.3.0-pre20071113 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-O2' '-mtune=generic' /usr/libexec/gcc/x86_64-pc-linux-gnu/4.3.0-pre20071113/cc1 -fpreprocessed access-min.i -quiet -dumpbase access-min.i -mtune=generic -auxbase access-min -O2 -version -o /tmp/cc45MInZ.s GNU C (GCC) version 4.3.0-pre20071113 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 4.3.0-pre20071113 (experimental), GMP version 4.2.2, MPFR version 2.3.0-p3. GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128180 Compiler executable checksum: bdea9186cf5370f8e72d4207bcebdb8c access-min.i:38: warning: data definition has no type or storage class access-min.i:152: warning: 'struct stat64' declared inside parameter list access-min.i:152: warning: its scope is only this definition or declaration, which is probably not what you want access-min.i:155: warning: 'struct stat64' declared inside parameter list access-min.i:183: warning: '__transparent_union__' attribute ignored access-min.i:320: warning: 'struct cmsghdr' declared inside parameter list access-min.i:322: warning: 'struct cmsghdr' declared inside parameter list access-min.i:325: warning: 'struct cmsghdr' declared inside parameter list access-min.i:355: warning: 'struct rpcent' declared inside parameter list access-min.i:357: warning: 'struct rpcent' declared inside parameter list access-min.i:381: warning: 'struct protoent' declared inside parameter list access-min.i:405: warning: parameter names (without types) in function declaration access-min.i:483: warning: parameter names (without types) in function declaration access-min.i:502: warning: parameter names (without types) in function declaration access-min.i: In function 'ResetHosts': access-min.i:610: warning: assignment makes pointer from integer without a cast access-min.i:611: warning: assignment makes pointer from integer without a cast access-min.i: In function 'siTypeAdd': access-min.i:736: warning: incompatible implicit declaration of built-in function 'strlen' access-min.i: In function 'siCheckAddr': access-min.i:747: warning: incompatible implicit declaration of built-in function 'strlen' access-min.i: In function 'siHostnameAddrMatch': access-min.i:760: warning: assignment makes pointer from integer without a cast access-min.i: In function 'siLocalCredGetId': access-min.i:798: warning: initialization makes pointer from integer without a cast access-min.i:804: warning: initialization makes pointer from integer without a cast access-min.i: In function 'AccessUsingXdmcp': access-min.i:560: internal compiler error: in get_addr_dereference_operands, at tree-ssa-operands.c:1746 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34113
[Bug c/34113] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746
--- Comment #2 from dirtyepic at gentoo dot org 2007-11-15 20:06 --- Created an attachment (id=14561) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14561action=view) access-mini.i further reduced. -- dirtyepic at gentoo dot org changed: What|Removed |Added Attachment #14560|0 |1 is obsolete|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34113
[Bug bootstrap/33992] Building libstdc++-v3: include/limits: stray '\275' in program
--- Comment #7 from dirtyepic at gentoo dot org 2007-11-10 15:56 --- looks like this only occurs with profiledbootstrap. i'll test a vanilla build to see if this is Gentoo specific. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33992