Bug 32719 - ICE when compiling c-format.c
Summary: ICE when compiling c-format.c
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 14:07 UTC by lucier
Modified: 2014-11-15 12:23 UTC (History)
2 users (show)

See Also:
Host: powerpc64-apple-darwin8.9.0
Target: powerpc64-apple-darwin8.9.0
Build: powerpc64-apple-darwin8.9.0
Known to work:
Known to fail:
Last reconfirmed: 2012-01-14 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lucier 2007-07-10 14:07:52 UTC
With this configure and make:

[descartes:gcc/objdirs/objdir-mainline] gcc-test% cat ../../mainline/build-and-check-gcc 
#!/bin/tcsh
/bin/rm -rf *; env CC=/pkgs/gcc-4.2.0-64/bin/gcc ../../mainline/configure --build=powerpc64-apple-darwin8.9.0 --host=powerpc64-apple-darwin8.9.0 --target=powerpc64-apple-darwin8.9.0 --with-gmp=/pkgs/gmp-4.2.1-64/ --with-mpfr=/pkgs/gmp-4.2.1-64/ --prefix=/pkgs/gcc-4.3.0-64; make -j 4 bootstrap BOOT_LDFLAGS='-Wl,-search_paths_first' >& build.log && (make install) && (make -k -j 8 check RUNTESTFLAGS="--target_board 'unix{-mcpu=970/-m64}'"  >& check.log ; make mail-report.log)

and with this version of gcc:

[descartes:~/programs/gcc/mainline] gcc-test% cat LAST_UPDATED 
Mon Jul  9 12:08:01 EDT 2007
Mon Jul  9 16:08:01 UTC 2007 (revision 126488M)

bootstrap fails with

/Users/gcc-test/programs/gcc/objdirs/objdir-mainline/./prev-gcc/xgcc -B/Users/gcc-test/programs/gcc/objdirs/objdir-mainline/./prev-gcc/ -B/pkgs/gcc-4.3.0-64/powerpc64-apple-darwin8.9.0/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                                     -Wno-overlength-strings -Werror -fno-common   -DHAVE_CONFIG_H -I. -I. -I../../../mainline/gcc -I../../../mainline/gcc/. -I../../../mainline/gcc/../include -I./../intl -I../../../mainline/gcc/../libcpp/include -I/pkgs/gmp-4.2.1-64//include -I/pkgs/gmp-4.2.1-64//include -I../../../mainline/gcc/../libdecnumber -I../../../mainline/gcc/../libdecnumber/dpd -I../libdecnumber    ../../../mainline/gcc/c-format.c -o c-format.o
../../../mainline/gcc/c-format.c: In function 'check_format_info_main':
../../../mainline/gcc/c-format.c:2109: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [c-format.o] Error 1
make[2]: *** [all-stage3-gcc] Error 2
make[1]: *** [stage3-bubble] Error 2
make: *** [bootstrap] Error 2
Comment 1 Andrew Pinski 2012-01-14 00:19:37 UTC
Does this work now?
Comment 2 lucier 2012-01-14 00:26:46 UTC
I no longer have a machine to test it on.

Brad
Comment 3 Andrew Pinski 2012-01-14 00:28:19 UTC
Let's close it as invalid then.
Comment 4 lucier 2012-01-21 05:26:19 UTC
Bootstrap still fails with a 64-bit PowerPC compiler building a 64-bit PPC compiler:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32537

I don't know how you want to manage these, or even whether we should care about them.

Brad
Comment 5 Francois-Xavier Coudert 2014-11-15 12:23:13 UTC
There are still problems with powerpc-darwin on more recent GCC versions, but they are tracked by other PRs. Let's close this one.