On i686-apple-darwin9, building libgomp fails with: libtool: compile: /opt/gcc/i686-darwin/./gcc/xgcc -B/opt/gcc/i686-darwin/./gcc/ -B/opt/gcc/gcc4.4w/i686-apple-darwin9/bin/ -B/opt/gcc/gcc4.4w/i686-apple-darwin9/lib/ -isystem /opt/gcc/gcc4.4w/i686-apple-darwin9/include -isystem /opt/gcc/gcc4.4w/i686-apple-darwin9/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.4-work/libgomp -I. -I../../../gcc-4.4-work/libgomp/config/posix -I../../../gcc-4.4-work/libgomp -Wall -pthread -Werror -g -O2 -MT loop_ull.lo -MD -MP -MF .deps/loop_ull.Tpo -c ../../../gcc-4.4-work/libgomp/loop_ull.c -fno-common -DPIC -o .libs/loop_ull.o checking for i686-apple-darwin9-g++... /opt/gcc/i686-darwin/./gcc/xgcc -shared-libgcc -B/opt/gcc/i686-darwin/./gcc -nostdinc++ -L/opt/gcc/i686-darwin/i686-apple-darwin9/libstdc++-v3/src -L/opt/gcc/i686-darwin/i686-apple-darwin9/libstdc++-v3/src/.libs -B/opt/gcc/gcc4.4w/i686-apple-darwin9/bin/ -B/opt/gcc/gcc4.4w/i686-apple-darwin9/lib/ -isystem /opt/gcc/gcc4.4w/i686-apple-darwin9/include -isystem /opt/gcc/gcc4.4w/i686-apple-darwin9/sys-include checking whether we are using the GNU C++ compiler... ../../../gcc-4.4-work/libgomp/loop_ull.c:486: error: conflicting types for 'GOMP_loop_ull_static_start' ../../../gcc-4.4-work/libgomp/libgomp_g.h:88: error: previous declaration of 'GOMP_loop_ull_static_start' was here cc1: warnings being treated as errors ../../../gcc-4.4-work/libgomp/loop_ull.c: In function 'GOMP_loop_ull_static_start': ../../../gcc-4.4-work/libgomp/loop_ull.c:489: error: passing argument 5 of 'gomp_loop_ull_static_start' makes integer from pointer without a cast ../../../gcc-4.4-work/libgomp/loop_ull.c:489: error: too few arguments to function 'gomp_loop_ull_static_start' ../../../gcc-4.4-work/libgomp/loop_ull.c: At top level:../../../gcc-4.4-work/libgomp/loop_ull.c:493: error: conflicting types for 'GOMP_loop_ull_dynamic_start'../../../gcc-4.4-work/libgomp/libgomp_g.h:94: error: previous declaration of 'GOMP_loop_ull_dynamic_start' was here ../../../gcc-4.4-work/libgomp/loop_ull.c: In function 'GOMP_loop_ull_dynamic_start': ../../../gcc-4.4-work/libgomp/loop_ull.c:496: error: passing argument 5 of 'gomp_loop_ull_dynamic_start' makes integer from pointer without a cast ../../../gcc-4.4-work/libgomp/loop_ull.c:496: error: too few arguments to function 'gomp_loop_ull_dynamic_start' ../../../gcc-4.4-work/libgomp/loop_ull.c: At top level: ../../../gcc-4.4-work/libgomp/loop_ull.c:500: error: conflicting types for 'GOMP_loop_ull_guided_start' ../../../gcc-4.4-work/libgomp/libgomp_g.h:100: error: previous declaration of 'GOMP_loop_ull_guided_start' was here ../../../gcc-4.4-work/libgomp/loop_ull.c: In function 'GOMP_loop_ull_guided_start':../../../gcc-4.4-work/libgomp/loop_ull.c:503: error: passing argument 5 of 'gomp_loop_ull_guided_start' makes integer from pointer without a cast ../../../gcc-4.4-work/libgomp/loop_ull.c:503: error: too few arguments to function 'gomp_loop_ull_guided_start'../../../gcc-4.4-work/libgomp/loop_ull.c: At top level:../../../gcc-4.4-work/libgomp/loop_ull.c:507: error: conflicting types for 'GOMP_loop_ull_ordered_static_start' ../../../gcc-4.4-work/libgomp/libgomp_g.h:112: error: previous declaration of 'GOMP_loop_ull_ordered_static_start' was here ../../../gcc-4.4-work/libgomp/loop_ull.c: In function 'GOMP_loop_ull_ordered_static_start':../../../gcc-4.4-work/libgomp/loop_ull.c:511: error: passing argument 5 of 'gomp_loop_ull_ordered_static_start' makes integer from pointer without a cast ../../../gcc-4.4-work/libgomp/loop_ull.c:511: error: too few arguments to function 'gomp_loop_ull_ordered_static_start' ../../../gcc-4.4-work/libgomp/loop_ull.c: At top level: ../../../gcc-4.4-work/libgomp/loop_ull.c:515: error: conflicting types for 'GOMP_loop_ull_ordered_dynamic_start' ../../../gcc-4.4-work/libgomp/libgomp_g.h:118: error: previous declaration of 'GOMP_loop_ull_ordered_dynamic_start' was here ../../../gcc-4.4-work/libgomp/loop_ull.c: In function 'GOMP_loop_ull_ordered_dynamic_start': ../../../gcc-4.4-work/libgomp/loop_ull.c:519: error: passing argument 5 of 'gomp_loop_ull_ordered_dynamic_start' makes integer from pointer without a cast ../../../gcc-4.4-work/libgomp/loop_ull.c:519: error: too few arguments to function 'gomp_loop_ull_ordered_dynamic_start' ../../../gcc-4.4-work/libgomp/loop_ull.c: At top level: ../../../gcc-4.4-work/libgomp/loop_ull.c:523: error: conflicting types for 'GOMP_loop_ull_ordered_guided_start' ../../../gcc-4.4-work/libgomp/libgomp_g.h:124: error: previous declaration of 'GOMP_loop_ull_ordered_guided_start' was here ../../../gcc-4.4-work/libgomp/loop_ull.c: In function 'GOMP_loop_ull_ordered_guided_start': ../../../gcc-4.4-work/libgomp/loop_ull.c:527: error: passing argument 5 of 'gomp_loop_ull_ordered_guided_start' makes integer from pointer without a cast ../../../gcc-4.4-work/libgomp/loop_ull.c:527: error: too few arguments to function 'gomp_loop_ull_ordered_guided_start' make[4]: *** [loop_ull.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-target-libgomp] Error 2
-- Summary: [4.4 Regression] Broken bootstrap while building libgomp. Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: i686-apple-darwin9 GCC host triplet: i686-apple-darwin9 GCC target triplet: i686-apple-darwin9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36452