Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error compiling gcc-3.2.3-r3 during stage1 bootstrap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
emileifrem
n00b
n00b


Joined: 19 Jan 2004
Posts: 4

PostPosted: Mon Jan 19, 2004 11:57 am    Post subject: Error compiling gcc-3.2.3-r3 during stage1 bootstrap Reply with quote

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
View user's profile Send private message
adastra1982
n00b
n00b


Joined: 17 Jan 2004
Posts: 28
Location: Poznan, Poland, EU

PostPosted: Mon Jan 19, 2004 5:39 pm    Post subject: Reply with quote

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... :o

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. :oops: - I'm in the middle of installation myself here and really don't know how to do it in links... :(
_________________
adastra
Back to top
View user's profile Send private message
emileifrem
n00b
n00b


Joined: 19 Jan 2004
Posts: 4

PostPosted: Mon Jan 19, 2004 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
hopstah
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 234
Location: Michigan

PostPosted: Sat Jan 24, 2004 11:58 pm    Post subject: Reply with quote

if only adastra had posted the working and non-working lines........
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum