Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boostrap.sh-exitcode2-help-me
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
kao
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 86

PostPosted: Wed Dec 25, 2002 11:15 am    Post subject: boostrap.sh-exitcode2-help-me Reply with quote

Help Me!
----------------

2X200 Pentiumpro.
XFS-File system
stage1-x86-1.4_rc1-20020908-1208.tar.bz2
stage2-i686-1.4_rc1.tar.bz2
stage3-i686-1.4_rc1.tar.bz2

Use="-gpm"

etc/make.conf
#
#
#CPU types supported ?.
----------------cut---------------------------
Use="-gpm"
CHOST="i686-pc-linux-gnu?
CFLAGS=?-marh=pentiumpro -O3 -pipe -fomit-frame-pointer"
#>>end no #-error :) CXXFLAGS="-marh=pentiumpro -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="{CFLAGS}"
----------------------------cut-----------------------------
# +++ automagicaly added by build process
#
CHOST=i686-pc-linux-gnu
CFLAGS=-marh=pentiumpro -O3 -pipe -fomit-frame-pointer
CXXFLAGS=-marh=pentiumpro -O3 -pipe -fomit-frame-pointer
CXXFLAGS={CFLAGS}
#end
--------------------------------
#################################################

##################################################

#portage scripts/bootstrap.sh
----------------cut----------------------------
Gcc: Internal error: Terminated (programm cc1)
Please submit a full bug report.
make[2]: [aalias.o] Error 1
make[2]: ***Waiting for unfinished jobs..
make[2]: [s-attrtab] Error 143
make[2]: Leaving directory /var/tmp/portage/gcc-3.2.1/work/build/gcc
make[1]: ***[stage1_build] Error 2
make[1]: Leaving directory /var/tmp/portage/gcc-3.2.1/work/build/gcc
make *** [bootstrap-lean] Error 2

!!!ERROR: sys-devel/gcc-3.2.1 failed
!!!Function src_compile, Line 10, Exitcode 2
!!! (no error message)
####################################################
Back to top
View user's profile Send private message
piranha
n00b
n00b


Joined: 10 Jun 2002
Posts: 40

PostPosted: Wed Dec 25, 2002 11:29 am    Post subject: Reply with quote

I've also had this problem before on my 2xPII450: "Waiting for unfinished job".
I fixed this by putting back MAKEOPTS="-j2" in my make.globals file.
Back to top
View user's profile Send private message
kao
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 86

PostPosted: Wed Dec 25, 2002 11:49 am    Post subject: Reply with quote

>>
piranha wrote:
I've also had this problem before on my >>2xPII450: "Waiting for unfinished job".
>>I fixed this by putting back MAKEOPTS="-j2" in my >>make.globals file.


At me an options MAKEOPTS="-j2"
I with her was compiled ((
It is necewssary # MAKEOPTS="-j2"?
Back to top
View user's profile Send private message
piranha
n00b
n00b


Joined: 10 Jun 2002
Posts: 40

PostPosted: Wed Dec 25, 2002 11:56 am    Post subject: Reply with quote

It is not necessaryly -j2. It's only the number of files you're compiling at the same time. But sometimes your computer just can't handle that much files and another compile is started needing some files still compiling. Sometimes restarting the bootstrap fixes the problem too.
Back to top
View user's profile Send private message
kao
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 86

PostPosted: Wed Dec 25, 2002 12:06 pm    Post subject: Reply with quote

I try
#emerge system
--
and
/etc/make.globals
#MAKEOPTS="-j2"
Back to top
View user's profile Send private message
kao
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 86

PostPosted: Wed Dec 25, 2002 12:23 pm    Post subject: Reply with quote

I try
#emerge system
--
and
/etc/make.globals
MAKEOPTS="-j1"
Back to top
View user's profile Send private message
kao
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 86

PostPosted: Wed Dec 25, 2002 1:32 pm    Post subject: Reply with quote

I try
# scripts/bootstrap.sh
--
and
/etc/make.globals
MAKEOPTS="-j1"
Back to top
View user's profile Send private message
kao
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 86

PostPosted: Wed Dec 25, 2002 2:29 pm    Post subject: Reply with quote

kao wrote:
I try
# scripts/bootstrap.sh
--
and
/etc/make.globals
MAKEOPTS="-j1"


((((((
NOT COMPILATIONS!!!
HELP
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Dec 25, 2002 9:54 pm    Post subject: Reply with quote

Can you try changing -O3 to -O2 and eliminating -fomit-frame-pointer?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
invaderzim
Tux's lil' helper
Tux's lil' helper


Joined: 16 Aug 2002
Posts: 93
Location: Louisville, KY

PostPosted: Thu Dec 26, 2002 3:58 pm    Post subject: try this....your cxx flags are fubar? Reply with quote

Quote:
CFLAGS=-marh=pentiumpro -O3 -pipe -fomit-frame-pointer
CXXFLAGS=-marh=pentiumpro -O3 -pipe -fomit-frame-pointer
CXXFLAGS={CFLAGS}


CFLAGS=-march=pentiumpro -O3 -pipe -fomit-frame-pointer
CXXFLAGS={CFLAGS}
Back to top
View user's profile Send private message
kao
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2002
Posts: 86

PostPosted: Thu Dec 26, 2002 4:39 pm    Post subject: Reply with quote

PPRO 1x200 mhz
-------------------
At me so
/etc/make.conf

CHOST="i686-pc-linux-gnu"
CFLAGS="-marh=pentiumpro -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="{CFLAGS}"
#and
# +++ automagicaly added by build process
#
CHOST='i686-pc-linux-gnu'(<<<?)
CFLAGS='-marh=pentiumpro -O3 -pipe -fomit-frame-pointer'(<<<?)
CXXFLAGS='-marh=pentiumpro -O3 -pipe -fomit-frame-pointer' (<<<?)

----------
I try...
finish

(((NOT COMPILATIONS!!!
make.globals= J2

AAAAAAAAAAAAAAAAAAAAAAAAAAAAA-UU-UUU-UUUU-UUUU-UUUU-UUUU

and -O2...j2..j1...j3
and
#
/etc/make.conf
#
CFLAGS="-marh=i686 -O3 -pipe"
CXXFLAGS="{CFLAGS}"
#
CHOST='i686-pc-linux-gnu'
CFLAGS='-marh=i686 -O3 -pipe'
CXXFLAGS='-marh=i686 -O3 -pipe'
#
--------------------------------
(((NOT COMPILATIONS!!!
Back to top
View user's profile Send private message
hhaamu
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 253
Location: Finland

PostPosted: Thu Dec 26, 2002 6:16 pm    Post subject: Reply with quote

kao wrote:
/etc/make.conf
#
CFLAGS="-marh=i686 -O3 -pipe"
CXXFLAGS="{CFLAGS}"
#
CHOST='i686-pc-linux-gnu'
CFLAGS='-marh=i686 -O3 -pipe'
CXXFLAGS='-marh=i686 -O3 -pipe'
#


Try this:
Have ONLY ONE CFLAGS and CXXFLAGS set in your make.conf:

Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="${CFLAGS}"


Comment everything else in make.conf
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