Hardware: apple powerpc dual g4 867 MHz OS: Mac OS X 10.2.8 Jaguar Kernel: Darwin 6.8 Build platform: apple's GCC version 1151, based on gcc version 20020420 from Dec2002DevToolsCD.dmg odcctools-20060226 GCC version: 4.2.0-20060311, 4.1.0 (release) Mac OS X 10.3.9 status for 4.2-20060311: builds OK % ../gcc-4.2-20060311/configure --prefix=/usr/local --program-suffix=-4.2 $ make -j 2 bootstrap . . . gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.0/gcc -I../../gcc-4.1.0/gcc/. -I../../gcc-4.1.0/gcc/../include -I./../intl -I../../gcc-4.1.0/gcc/../libcpp/include ../../gcc-4.1.0/gcc/ggc-common.c -o ggc-common.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.1.0/gcc -I../../gcc-4.1.0/gcc/build -I../../gcc-4.1.0/gcc/../include -I./../intl -I../../gcc-4.1.0/gcc/../libcpp/include -o build/genattrtab.o ../../gcc-4.1.0/gcc/genattrtab.c ../../gcc-4.1.0/gcc/ggc-common.c: In function `ggc_rlimit_bound': ../../gcc-4.1.0/gcc/ggc-common.c:681: storage size of `rlim' isn't known ../../gcc-4.1.0/gcc/ggc-common.c:681: warning: unused variable `rlim' make[2]: *** [ggc-common.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [stage1_build] Error 2 make: *** [bootstrap] Error 2 -save-temps .i follows in attachment. Best regards, Mirsad
Created attachment 11057 [details] generated gcc/ggc-common.i with make options + -save-temps
*** This bug has been marked as a duplicate of 13982 ***
Subject: Re: Compilation breaks in gcc/genattrtab.c on Mac OS X 10.2.8 on G4 with odcctools Changing <build_dir>/gcc/auto-host.h #define HAVE_SYS_RESOURCE_H 1 makes build pass this point where it failed. This was set to #undef despite having the include in /usr/incude/sys/resource.h I guess configure script has not found it. I odn't have the knowledge of fixing the configure script, so it is a bootstrap bug after all. /* Define to 1 if you have the <sys/resource.h> header file. */ #ifndef USED_FOR_TARGET #define HAVE_SYS_RESOURCE_H 1 #endif The fact that it is created in bootstrap prevents me from chaning it in the beginning, so I have to wait till bootstrap fails miserably and then wix auto-host.h In case there is a problem with time for fixing this configure script, perhaps I can manage, but it will take me some time since I am not expert like you guys. Regards, Mirsad On Thu, 16 Mar 2006, pinskia at gcc dot gnu dot org wrote: > > > ------- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-16 13:24 ------- > > > *** This bug has been marked as a duplicate of 13982 *** > > > -- > > pinskia at gcc dot gnu dot org changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Severity|major |normal > Status|UNCONFIRMED |RESOLVED > Resolution| |DUPLICATE > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26711 > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > You reported the bug, or are watching the reporter. >