public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42775]  New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1
@ 2010-01-17 15:52 laurent at guerby dot net
  2010-01-17 16:05 ` [Bug target/42775] " rguenth at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: laurent at guerby dot net @ 2010-01-17 15:52 UTC (permalink / raw)
  To: gcc-bugs

../gcc-4.4.2/configure --enable-languages=c --disable-werror
--enable-__cxa_atexit --disable-nls --enable-threads=posix --disable-multilib
--prefix=/opt/cfarm/release/4.4.2 --with-cpu=v8
make bootstrap && make install
PATH=/opt/cfarm/release/4.4.2/bin:$PATH
../gcc-4.4.2/configure --enable-languages=c --disable-werror
--enable-__cxa_atexit --disable-nls --enable-threads=posix --disable-multilib
--prefix=/opt/cfarm/release/4.4.2-v2 --with-cpu=v8
make bootstrap STAGE1_CFLAGS=-O1

fails with

/home/guerby/build442/./gcc/xgcc -B/home/guerby/build442/./gcc/
-B/opt/cfarm/release/4.4.2-v3/sparc64-unknown-linux-gnu/bin/
-B/opt/cfarm/release/4.4.2-v3/sparc64-unknown-linux-gnu/lib/ -isystem
/opt/cfarm/release/4.4.2-v3/sparc64-unknown-linux-gnu/include -isystem
/opt/cfarm/release/4.4.2-v3/sparc64-unknown-linux-gnu/sys-include -g -O2 -O2 
-g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition  -isystem ./include 
-fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I.
-I../.././gcc -I../../../gcc-4.4.2/libgcc -I../../../gcc-4.4.2/libgcc/.
-I../../../gcc-4.4.2/libgcc/../gcc -I../../../gcc-4.4.2/libgcc/../include 
-DHAVE_CC_TLS -o _popcountsi2.o -MT _popcountsi2.o -MD -MP -MF _popcountsi2.dep
-DL_popcountsi2 -c ../../../gcc-4.4.2/libgcc/../gcc/libgcc2.c \
          -fvisibility=hidden -DHIDE_EXPORTS
../../../gcc-4.4.2/libgcc/../gcc/libgcc2.c: In function '__popcountsi2':
../../../gcc-4.4.2/libgcc/../gcc/libgcc2.c:787: internal compiler error: Bus
error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [_popcountsi2.o] Error 1
make[3]: Leaving directory
`/home/guerby/build442/sparc64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/home/guerby/build442'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/guerby/build442'
make: *** [bootstrap] Error 2


Without STAGE1_CFLAGS=-O1 bootstrap works.

Note: this is gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=283041


-- 
           Summary: sparc-linux 4.4.2 fails to rebuild itself when using
                    STAGE1_CFLAGS=-O1
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
 GCC build triplet: sparc-linux
  GCC host triplet: sparc-linux
GCC target triplet: sparc-linux


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


^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <bug-42775-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-05-24 19:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
2010-01-17 16:05 ` [Bug target/42775] " rguenth at gcc dot gnu dot org
2010-01-17 19:07 ` armin76 at gentoo dot org
2010-01-18  8:41 ` laurent at guerby dot net
2010-03-21 19:57 ` laurent at guerby dot net
2010-09-19 12:20 ` ebotcazou at gcc dot gnu dot org
2010-09-19 21:58 ` [Bug target/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1 ebotcazou at gcc dot gnu dot org
2010-09-20 10:31 ` [Bug rtl-optimization/42775] " ebotcazou at gcc dot gnu dot org
2010-09-20 21:30 ` ebotcazou at gcc dot gnu dot org
2010-09-20 21:31 ` ebotcazou at gcc dot gnu dot org
2010-09-20 21:31 ` ebotcazou at gcc dot gnu dot org
2010-09-20 21:35 ` ebotcazou at gcc dot gnu dot org
     [not found] <bug-42775-4@http.gcc.gnu.org/bugzilla/>
2011-05-14  2:33 ` pkoning at gcc dot gnu.org
2011-05-24 19:12 ` danglin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).