Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootstrap.sh fails
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
Novellusrules
n00b
n00b


Joined: 12 May 2004
Posts: 1
Location: Canada

PostPosted: Wed May 12, 2004 2:42 pm    Post subject: bootstrap.sh fails Reply with quote

here's the error I get

>>> emerge (1 of 1) sys-apps/portage-2.0.50-r6 to /
>>> md5 src_uri ;-) portage-2.0.50-r6.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.50-r6.tar.bz2 to /var/tmp/portage/portage-2.0.50-r6/work
>>> Source unpacked.
In file included from /usr/include/stdio.h:36,
from tbz2tool.c:3:
/usr/include/bits/types.h:34: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/portage-2.0.50-r6/temp/cc3hwDrJ.out file, please attach this to your bugreport
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libctest.c: In function `main':
libctest.c:7: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/portage-2.0.50-r6/temp/ccKbmYcS.out file, please attach this to your bugreport
ldd: ./libctest: No such file or directory

rm: cannot remove `libctest': No such file or directory

gcc -march=i386 -O1 -pipe -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
In file included from /usr/include/dirent.h:30,
from libsandbox.c:52:
/usr/include/bits/types.h:34: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/portage-2.0.50-r6/temp/cclsVjNg.out file, please attach this to your bugreport
make: *** [libsandbox.o] Error 1

!!! ERROR: sys-apps/portage-2.0.50-r6 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)


any suggestions.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed May 12, 2004 2:45 pm    Post subject: Reply with quote

You have set the wrong processor type in your CFLAGS variable (in /etc/make.conf).

Make sure you do not set the processor type higher than what you really have!
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
sekretarz
Retired Dev
Retired Dev


Joined: 09 Feb 2004
Posts: 156
Location: Poznan, Poland

PostPosted: Wed May 12, 2004 2:47 pm    Post subject: Reply with quote

I think you should recompile sys-libs/glibc. Also check your fs for errors.
_________________
#gentoo.pl Team - sekretarz
Back to top
View user's profile Send private message
donslayer
n00b
n00b


Joined: 13 May 2004
Posts: 4

PostPosted: Thu May 13, 2004 3:58 pm    Post subject: my problem: Reply with quote

I got following exit-status during bootstrapping:

"
...
checking for C compiler default output... configure: error: C compiler cannot create executables

!!! ERROR: sys-devel/gettext-0.11.5 failed.
!!! Function econf, Line 365, Exitcode 77
!!! econf failed
"

here my make.conf:
"
CFLAGS="-march=athlon64 -pipe -02"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="..." # "..." means a valid link
USE="..." # "..." to lot to type here ;-)
"

Sorry, if this question has been asked before. Just post a link then.
Thank you for fast help!
Back to top
View user's profile Send private message
sekretarz
Retired Dev
Retired Dev


Joined: 09 Feb 2004
Posts: 156
Location: Poznan, Poland

PostPosted: Thu May 13, 2004 5:06 pm    Post subject: Reply with quote

Just type:
Code:
emerge glibc

_________________
#gentoo.pl Team - sekretarz
Back to top
View user's profile Send private message
donslayer
n00b
n00b


Joined: 13 May 2004
Posts: 4

PostPosted: Thu May 13, 2004 5:09 pm    Post subject: Reply with quote

thanks, but here comes the same error.
The only difference is the Exitcode: 2
Back to top
View user's profile Send private message
sekretarz
Retired Dev
Retired Dev


Joined: 09 Feb 2004
Posts: 156
Location: Poznan, Poland

PostPosted: Thu May 13, 2004 5:40 pm    Post subject: Reply with quote

Could you past hire some compilation logs?
_________________
#gentoo.pl Team - sekretarz
Back to top
View user's profile Send private message
donslayer
n00b
n00b


Joined: 13 May 2004
Posts: 4

PostPosted: Fri May 14, 2004 4:15 pm    Post subject: Reply with quote

no. I´m sorry. I can´t neither execute a browser nor any other program on this status. I´m writing here from another PC and typing everything by hand.
I tried now stage3, but here comes the same error during kernel compiling.
"emerge glibc" seemed to work first, but occured later another error:

...
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See 'config.log' for more ´details.

!!! ERROR: sys-libs/glibc-2.3.2-r9 failed.
!!! Function src_compile, Line 495, Exitcode 1
!!! (no error message)
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Fri May 14, 2004 4:32 pm    Post subject: Reply with quote

maybe bug in livecd processor autodetection? or overclocked hw? anyway, try knoppix livecd...
Back to top
View user's profile Send private message
donslayer
n00b
n00b


Joined: 13 May 2004
Posts: 4

PostPosted: Fri May 14, 2004 4:41 pm    Post subject: Reply with quote

I don´t really think, there´s anything wrong with the cd. And I´m not that kind of freak that overclocks an amd64! :wink:
Finally I don´t want to work also through the knoppix-installing-handbook. So, are there any other suggestions? THX
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Fri May 14, 2004 4:57 pm    Post subject: Reply with quote

knoppix-installing-howto:
a) burn cd
b) insert it & boot it
d) viola ;-)
hint: it's a liveCD ;-)
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