Bug 26708 - ppc-darwin bootstrap failure (gcc/libiberty/floatformat.c ?)
Summary: ppc-darwin bootstrap failure (gcc/libiberty/floatformat.c ?)
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-16 01:15 UTC by perrin
Modified: 2006-03-16 18:58 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description perrin 2006-03-16 01:15:51 UTC
Building SVN rev 112107 of gcc/trunk on my PowerPC G4 OS X 10.3.9 (powerpc-apple-darwin7.9.0) 

/Users/perrin/gcc_MAINLINE/gcc/configure --prefix=/Users/perrin/gcc_MAINLINE/INSTALL/112107/ --enable-languages=c --enable-threads=posix --disable-multilib 

and then

make -j 2 bootstrap && make install

I get the errors below. 

Is there a configure flag I'm missing? -force_cpusubtype_ALL ?

-------------------------------------------------
if [ x"" != x ]; then \
  /Users/perrin/gcc_MAINLINE/BUILD/./prev-gcc/xgcc -B/Users/perrin/gcc_MAINLINE/BUILD/./prev-gcc/ -B/Users/perrin/gcc_MAINLINE/INSTALL/112107//powerpc-apple-darwin7.9.0/bin/ -c -DHAVE_CONFIG_H -g -O2 -mdynamic-no-pic -I. -I/Users/perrin/gcc_MAINLINE/gcc/libiberty/../include  -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat  /Users/perrin/gcc_MAINLINE/gcc/libiberty/floatformat.c -o pic/floatformat.o; \
else true; fi
/Users/perrin/gcc_MAINLINE/BUILD/./prev-gcc/xgcc -B/Users/perrin/gcc_MAINLINE/BUILD/./prev-gcc/ -B/Users/perrin/gcc_MAINLINE/INSTALL/112107//powerpc-apple-darwin7.9.0/bin/ -c -DHAVE_CONFIG_H -g -O2 -mdynamic-no-pic -I. -I/Users/perrin/gcc_MAINLINE/gcc/libiberty/../include  -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat /Users/perrin/gcc_MAINLINE/gcc/libiberty/floatformat.c -o floatformat.o
/Users/perrin/gcc_MAINLINE/gcc/libiberty/floatformat.c: In function 'floatformat_to_double':
/Users/perrin/gcc_MAINLINE/gcc/libiberty/floatformat.c:354: warning: floating constant exceeds range of 'float'
/var/tmp//ccOMOtbW.s:476:stfiwx instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
/var/tmp//ccOMOtbW.s:533:stfiwx instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
make[3]: *** [floatformat.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-stage2-libiberty] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2
Comment 1 Andrew Pinski 2006-03-16 02:16:19 UTC
You need a newer cctools.
ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-590.12.dmg
works for me on 10.3.9 just fine.
Comment 2 perrin 2006-03-16 18:58:15 UTC
Thanks, those new tools worked.