View previous topic :: View next topic |
Author |
Message |
emileifrem n00b
Joined: 19 Jan 2004 Posts: 4
|
Posted: Mon Jan 19, 2004 11:57 am Post subject: Error compiling gcc-3.2.3-r3 during stage1 bootstrap |
|
|
Hello.
During a stage1 install on an Omnibook 800CT (133Mhz Pentium), the bootstrap script repeatedly fails to compile gcc-3.2.3-r3:
Code: | bin/sh /var/tmp/portage/gcc-3.2.3-r3/work/[...]/move-if-change tmp-extract.c insn-extract.c
echo timestamp > s-extract
stage2/xgcc -Bstage2/ [....] -c insn-attrtab.c \
-o insn-attrtab.o
xgcc: Internal error: Terminated (program cc1)
Please submit a full bug report.
See (URL:http://bugs.gentoo.org/) for instructions.
{standard input}: Assembler messages:
{standard input}:50555: Warning: end of file not at end of a line; newline inserted
make[2]: *** [insn-recog.o] Error 1
{standard input}:51825: Error: suffix or operands invalid for 'and'
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc'
make[1]: *** [stage3_build] Error 2
make[1]: Leaving directory '/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc'
make: *** [bootstrap-lean] Error 2
!!! ERROR: sys-devel/gcc-3.2.3-r3 failed.
!!! Function src_compile, line 411, Exitcode 2
!!! (no error message)
localhost portage # |
(Edited for clarity, [...] denotes cut text.)
Emerge info:
Code: |
Gentoo Base System version 1.4.3.8p1
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.18-14BOOT)
=================================================================
System uname: 2.4.18-14BOOT i586 Pentium 75 - 200
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -O2 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.linux.no/ http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo ftp://ftp.uninett.no/pub/linux/Gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk2 imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses oggvorbis opengl oss pam pdflib png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
|
I've tried twice, the first time with slightly more aggressive CFLAGS than shown above (-fomit-frame-pointer and -funroll-loops as well) and the second time exactly as above. I've hacked the bootstrap.sh script so it only builds gcc, but on this hardware it is still quite a tedious process.
Any clues?
TIA,
-EE |
|
Back to top |
|
|
adastra1982 n00b
Joined: 17 Jan 2004 Posts: 28 Location: Poznan, Poland, EU
|
Posted: Mon Jan 19, 2004 5:39 pm Post subject: |
|
|
I've had an *almost* exactly the same problem - at the same line of the same source file!
I remeber I've loosen up the CFLAGS and CXXFLAGS settings a little and changed USE somehow and it passed...
I have the backup (before the change) make.conf and the changed one at my disposal ...but don't know how to paste it here. - I'm in the middle of installation myself here and really don't know how to do it in links... _________________ adastra |
|
Back to top |
|
|
emileifrem n00b
Joined: 19 Jan 2004 Posts: 4
|
Posted: Mon Jan 19, 2004 6:29 pm Post subject: |
|
|
Ah, I see, I guess you don't have gpm enabled? I would be eternally grateful if you could just copy the original (non-functional) and the new (functional) CFLAGS line, manually maybe? It would be really interesting to see what you did to make it pass.
TIA,
-EE |
|
Back to top |
|
|
hopstah Apprentice
Joined: 23 Nov 2003 Posts: 234 Location: Michigan
|
Posted: Sat Jan 24, 2004 11:58 pm Post subject: |
|
|
if only adastra had posted the working and non-working lines........ |
|
Back to top |
|
|
|