Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36878 - emerge gcc crashed
Summary: emerge gcc crashed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-31 02:53 UTC by Jan Seidel (RETIRED)
Modified: 2004-04-18 22:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Seidel (RETIRED) gentoo-dev 2003-12-31 02:53:57 UTC
./xgcc -B./ -B/usr/mips-unknown-linux-gnu/bin/ -isystem /usr/mips-unknown-linux-gnu/include -isystem /usr/mips-unknown-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions  \
   -c /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
./xgcc -B./ -B/usr/mips-unknown-linux-gnu/bin/ -isystem /usr/mips-unknown-linux-gnu/include -isystem /usr/mips-unknown-linux-gnu/sys-include -S tmp-dum.c
echo '/*WARNING: This file is automatically generated!*/' >tmp-under.c
if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
  echo "int prepends_underscore = 1;" >>tmp-under.c; \
else \
  echo "int prepends_underscore = 0;" >>tmp-under.c; \
fi
/bin/sh /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/move-if-change tmp-under.c underscore.c
rm -f tmp-dum.c tmp-dum.s
echo timestamp > s-under
./xgcc -B./ -B/usr/mips-unknown-linux-gnu/bin/ -isystem /usr/mips-unknown-linux-gnu/include -isystem /usr/mips-unknown-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions  -fPIC \
   -c /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \
  -o crtbeginS.o
/var/tmp/portage/gcc-3.2.3-r3/temp/ccUGC6i9.s: Assembler messages:
/var/tmp/portage/gcc-3.2.3-r3/temp/ccUGC6i9.s:68: Warning: No .frame pseudo-op used in PIC code
./xgcc -B./ -B/usr/mips-unknown-linux-gnu/bin/ -isystem /usr/mips-unknown-linux-gnu/include -isystem /usr/mips-unknown-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions  \
   -c /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFT_O \
  -o crtbeginT.o
/var/tmp/portage/gcc-3.2.3-r3/temp/ccjgNyaj.s: Assembler messages:
/var/tmp/portage/gcc-3.2.3-r3/temp/ccjgNyaj.s:58: Warning: No .frame pseudo-op used in PIC code
./xgcc -B./ -B/usr/mips-unknown-linux-gnu/bin/ -isystem /usr/mips-unknown-linux-gnu/include -isystem /usr/mips-unknown-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions  \
   -c /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c -DCRT_END \
  -o crtend.o
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c: In function `__do_global_dtors_aux':
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c:282: warning: passing arg 1 of `__deregister_frame_info' discards qualifiers from pointer target type
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c: In function `frame_dummy':
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c:318: warning: passing arg 1 of `__register_frame_info' discards qualifiers from pointer target type
/var/tmp/portage/gcc-3.2.3-r3/temp/cc0VFTRF.s: Assembler messages:
/var/tmp/portage/gcc-3.2.3-r3/temp/cc0VFTRF.s:68: Warning: No .frame pseudo-op used in PIC code
./xgcc -B./ -B/usr/mips-unknown-linux-gnu/bin/ -isystem /usr/mips-unknown-linux-gnu/include -isystem /usr/mips-unknown-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions  -fPIC \
   -c /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c -DCRT_END -DCRTSTUFFS_O \
  -o crtendS.o
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c: In function `__do_global_ctors_aux':
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c:486: Attempt to delete prologue/epilogue insn:
(insn 99 97 100 (set (reg:SI 16 s0)
        (mem/u:SI (plus:SI (reg/f:SI 29 sp)
                (const_int 24 [0x18])) [0 S4 A32])) -1 (nil)
    (nil))
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c:486: Internal compiler error in propagate_one_insn, at flow.c:1618
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [crtend.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c: In function `__do_global_ctors_aux':
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c:486: Attempt to delete prologue/epilogue insn:
(insn 99 97 100 (set (reg:SI 16 s0)
        (mem/u:SI (plus:SI (reg/f:SI 29 sp)
                (const_int 24 [0x18])) [0 S4 A32])) -1 (nil)
    (nil))
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/crtstuff.c:486: Internal compiler error in propagate_one_insn, at flow.c:1618
Please submit a full bug report,

================================================
emerge info gives this;

Portage 2.0.49-r15 (default-mips-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-mipscvs-
20031015)
=================================================================
System uname: 2.4.22-mipscvs-20031015 mips R5000 V1.0  FPU V1.0
Gentoo Base System version 1.4.3.10
distcc 2.11.1 mips-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [en
abled]
ACCEPT_KEYWORDS="mips"
AUTOCLEAN="yes"
CFLAGS="-O2 -mips4 -mabi=32 -fomit-frame-pointer -pipe"
CHOST="mips-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mips4 -mabi=32 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distcc"
GENTOO_MIRRORS="http://gentoo.linux.no"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.3.10/gentoo-portage"
USE="libwww nls sdl mips gdbm berkdb slang readline gpm tcpd pam ssl perl python
 opengl X -openg"

Reproducible: Always
Steps to Reproduce:
1.same problem with distcc cross
2.same problem without distcc
3.
Comment 1 Jan Seidel (RETIRED) gentoo-dev 2003-12-31 15:52:49 UTC
with CFLAGS="-O2 -mips3 -mabi=32 -fomit-frame-pointer -pipe" works fine
Comment 2 Alexander Gabert (RETIRED) gentoo-dev 2004-03-03 07:01:13 UTC
can you try with -mips4 -fno-stack-protector?

thanks,

Alex
Comment 3 SpanKY gentoo-dev 2004-04-18 22:50:23 UTC
re-open if latest stable gcc does not work for you