Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo - The Developers Method - Stage1 and NPTL
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 23, 24, 25  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Tue Nov 23, 2004 10:11 am    Post subject: Reply with quote

Bah, crappy old box ;)
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 11:34 am    Post subject: Reply with quote

MoonWalker wrote:
EDIT:
Well after cleaning out everything and starting over from scratch, this time excluding the "&& emerge -C linux-headers" of the magic oneliner, it now at least seam to get passed the previous error. So it's now bootstraping, puh... lets see how far it goes.
Well the bootstrap failed while compiling glibc,
Code:
typed extract:
>>>md5...
nptl
x86
!nptlonly
*Warning.....
* ....
>>> unpacking source
nptl
x86
* Checking gcc for  __tread support  no
* Could not find a gcc  that supports the __treads directive!
* Please update to gcc-3.2.2-r1 or later, and try again.

!!! ERROR: sys-lib/glibc-2.3.4.20041102 failed!
!!! Function check_nptl_support, line 158, Exitcode 0
!!  No threed support in gcc!


I'm pretty sure this is the second compile of glibc, although let it over night. When I was leaving glibc was alreaddy in the middle of compiling so source was unpacked. Is this maybe related to the gcc issue just mentioned here by ali3nx?
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Tue Nov 23, 2004 11:37 am    Post subject: Reply with quote

MoonWalker: Yes it is, after bootstrap script has emerged GCC, it doesn't change your system to use new GCC profile.

How about trying to run:
Code:

gcc-config -l
gcc-config <your newly compiled GCC version>
source /etc/profile

Then try to restart bootstrap...It should pass :P
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 11:42 am    Post subject: Reply with quote

Code:
#gcc-config -l
* /usr/bin/gcc-config : No default profile setup!
#

Well it seam it lost the profile somewere, maybe that's the bug?
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Tue Nov 23, 2004 11:43 am    Post subject: Reply with quote

Well, I got exactly the same message...

It should be fixed, check this out: Bug #63973

ali3nx: You succeeded to change profile without this message? :?
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 11:50 am    Post subject: Reply with quote

Ok so which steps to take getting this fix into my box, is it enough with
Code:
# emerge sync
and then start bootstrap again, or do I have to start from scratch a 5th time!? Do I even need to fetch a new stage1 tarball or?
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Tue Nov 23, 2004 11:54 am    Post subject: Reply with quote

Honestly, I have no idea. Maybe it's the best to wait some time and see if somebody has a workaround for this...

That Bugzilla link I posted, it's about 2 months old...
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 12:01 pm    Post subject: Reply with quote

Oktane wrote:
Honestly, I have no idea. Maybe it's the best to wait some time and see if somebody has a workaround for this...

That Bugzilla link I posted, it's about 2 months old...

Then the LiveCD must have a rather old gcc & gcc-config set as the fix doesn't seam to have got into it? Well I better wait until I can get Reiser4 into it as well then. It's no hurry really, the box is supposed to replace my current K6 based server, and it probably wont happen before christmas anyhow.
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
thecrazyperson_ws
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2004
Posts: 89

PostPosted: Tue Nov 23, 2004 2:16 pm    Post subject: Reply with quote

My P3-Katmai box went right through bootstrap without giving me a single error (except for having to "emerge system" twice due to it miscalculating when to compile perl). Following this guide to the letter, an ~x86 box based on my experiences should give you GCC 3.4.3 by default. At least... that's what it did with me. It's currently compiling the kernel: 2.6.9-nitro4 "Less Is More"! I'll have more to post when I reboot it later.

EDIT: btw, sw33t system that you're playing around with there, ali3n. I wish I had something like that.
_________________
Bevelle: Dual Athlon MP 2000+, 1.25G ram, 120G HD, Gentoo 2005.1-r1, Kernel 2.6.15-gentoo-r5

Gagazet: Pentium 2-266, 288M ram, 240G HD, currently installing gentoo

Besaid: p-150, 80M ram, win2k pro
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 3:31 pm    Post subject: Reply with quote

thecrazyperson_ws wrote:
My P3-Katmai box went right through bootstrap without giving me a single error (except for having to "emerge system" twice due to it miscalculating when to compile perl). Following this guide to the letter, an ~x86 box based on my experiences should give you GCC 3.4.3 by default. At least... that's what it did with me. It's currently compiling the kernel: 2.6.9-nitro4 "Less Is More"! I'll have more to post when I reboot it later.

Well some are just lucky :-) but it strange how the same code can come out so differently :? What USE= flags did you set in make.conf? I just used USE="nptl" and the oneliner
Code:
env-update && source /etc/profile && USE="-* build bootstrap" emerge linux26-headers && cd /usr/portage && scripts/bootstrap.sh
as no old linux-headers was installed. I belive
Code:
USE="-* build bootstrap" emerge linux26-headers
removed my tptl flag, but it should have come back in the bootstrap script I assume.

An other question OT to this threed maybe, but you use Nitro4 sources, (at least partly) for the Reiser4 support I assume... I just wonder is there any way reaiser4 can convert a resier 3.6 file system? Without loosing data, of course :-)
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 7:32 pm    Post subject: Reply with quote

Regarding my previous error report quoted below, I now found out the original error actually happens before, just after gcc-3.4.3 compiling finish.
Code:
>>> Original instance of package unmerged sagely
bootstrap
[color=red]*[/color] /usr/bin/gcc-config: profile does not exist or invalid setting for /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3
* Switching to i686-pc-linux-gnu-3.4.3 compiler
>>> Regenerating /etc/ld.so.cache....
>>> sys-devel/gcc-3.4.3 merged

It's just above my level to figure out exactly what is wrong, but there must be a bug somewere, so much I understand.

MoonWalker wrote:
Well the bootstrap failed while compiling glibc,
Code:
typed extract:
>>>md5...
nptl
x86
!nptlonly
*Warning.....
* ....
>>> unpacking source
nptl
x86
* Checking gcc for  __tread support  no
* Could not find a gcc  that supports the __treads directive!
* Please update to gcc-3.2.2-r1 or later, and try again.

!!! ERROR: sys-lib/glibc-2.3.4.20041102 failed!
!!! Function check_nptl_support, line 158, Exitcode 0
!!  No threed support in gcc!


_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Tue Nov 23, 2004 7:37 pm    Post subject: Reply with quote

As far as I can tell, after emerging GCC, gcc-config should switch to new compiler, however, it doesn't do it. Result: bootstrap fails.

Ok, not a big problem. It can be fixed by running gcc-config -l and select new compiler from list, then source /etc/profile.

Well, I wish it would be that simple. The problem is, gcc-config doesn't work properly, it ouputs strange error messages and warnings (see above) :x
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 8:26 pm    Post subject: Reply with quote

is there any bug filed for this? I can do, but I have a bit problem supplying data into the bug as I'm not so familar with the textbased browsers available in the console - simply don't use them very often... (this is other box)

I was able to make gcc-config to select the new profile, and ran bootstrap again but same error, then released I forgot source /etc/profile and have now done it again and just now bootstraping. If it doesn't work gcc-config must be really borked, well it is any way.

gcc just started to compile so in an hour or so I know.
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 621
Location: Winnipeg, Canada

PostPosted: Tue Nov 23, 2004 8:47 pm    Post subject: Reply with quote

Oktane wrote:
Well, I got exactly the same message...

It should be fixed, check this out: Bug #63973

ali3nx: You succeeded to change profile without this message? :?


what i did to bypass the error is this...
Code:
gcc-config 1 && source /etc/profile && gcc-config 2 && source /etc/profile && emerge --resume


gcc-config will whine perfusely but only the first time it sets a profile. another thing to mention is that gcc-config -l will show no profiles but they *do* exist. Mind over matter will win the day here :wink:
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 8:56 pm    Post subject: Reply with quote

Hey, you are the man! :lol: :lol: :lol: :lol: :lol:
ali3nx wrote:


what i did to bypass the error is this...
Code:
gcc-config 1 && source /etc/profile && gcc-config 2 && source /etc/profile && emerge --resume


gcc-config will whine perfusely but only the first time it sets a profile. another thing to mention is that gcc-config -l will show no profiles but they *do* exist. Mind over matter will win the day here :wink:


A bug need to get filed for this anyhow
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Tue Nov 23, 2004 9:16 pm    Post subject: Reply with quote

ali3nx wrote:
Oktane wrote:
Well, I got exactly the same message...

It should be fixed, check this out: Bug #63973

ali3nx: You succeeded to change profile without this message? :?


what i did to bypass the error is this...
Code:
gcc-config 1 && source /etc/profile && gcc-config 2 && source /etc/profile && emerge --resume


gcc-config will whine perfusely but only the first time it sets a profile. another thing to mention is that gcc-config -l will show no profiles but they *do* exist. Mind over matter will win the day here :wink:

I wiped partitions and started from scratch, I'll let you know how it goes :wink: Bootstrapping at the moment... :P

[ EDIT ] YAY! It worked like a charm...


Last edited by Deranger on Tue Nov 23, 2004 10:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 10:14 pm    Post subject: Reply with quote

Me bootstrapping too, although I continued were I was as I had it pretty clean so far. But I left out the parts after bootstrap in the oneliner, and now I wonder (before I do it and screw something), if I open a 2nd console, would it still be in the chroot environment? I think not, but if is it then ok to run a 2nd instance of emerge to # emerge --fetchonly system, so all the source is there for the next step?
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Tue Nov 23, 2004 11:54 pm    Post subject: Reply with quote

Code:
gcc-config 1 && source /etc/profile && gcc-config 2 && source /etc/profile && emerge --resume
completed, if that now was all to complete the bootstrap? I'm a bit unsure, looking at emerge.log zlib was the last package compiled, can this be correct?

Well I guess it will showup om # emerge system
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Wed Nov 24, 2004 7:25 am    Post subject: Reply with quote

MoonWalker wrote:
Code:
gcc-config 1 && source /etc/profile && gcc-config 2 && source /etc/profile && emerge --resume
completed, if that now was all to complete the bootstrap? I'm a bit unsure, looking at emerge.log zlib was the last package compiled, can this be correct?

Well I guess it will showup om # emerge system

If it completed without any errors, you're all set.
Back to top
View user's profile Send private message
madness
n00b
n00b


Joined: 31 Dec 2003
Posts: 1

PostPosted: Wed Nov 24, 2004 7:59 am    Post subject: portage weirdness Reply with quote

I ran into an evil error while trying to bootstrap my 2004.3 system with USE="nptl". It seems portage goes a little nuts and emerges linux26-headers then emerges linux-headers. From 2004.2, portage never thought I needed linux-headers. So.. I made a little modification that doesn't fix the root of the problem, but it seems to work as a work around.

Just for replication sake, here is my make.conf:

Code:

CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="nptl doc mmx sse acpi crypt ssl alsa cdr dvd dvdr flac speex theora"


To quickly replicate the fault, (as root) make a directory, extract the 2004.3 stage1, extract the recent portage snapshot of your choice, make the above your make.conf, add any needed distfiles distfiles or setup resolv.conf, mount proc, chroot in, env-update, and run bootstrap.sh.

It should emerge linux26-headers followed closely by linux-headers. This defiles linux26-headers, making your headers (kernel) version look like a 2.4 version (which most of it is, now). Then gcc notices this and tells you to take a hike. Atleast, that is my experience.

Exit out of the test environment, unmount proc, and nuke the test directory.

Make a new directory and setup again. This time, make one small modification to bootstrap.sh.

Now the work-around, find this in bootstrap.sh:

Code:

        emerge ${STRAP_EMERGE_OPTS} ${myOS_HEADERS} ${myTEXINFO} ${myGETTEXT} ${myBINUTILS} || cleanup 1


replace it with:

Code:

emerge ${STRAP_EMERGE_OPTS} ${myOS_HEADERS} || cleanup 1
echo "sys-kernel/linux-headers-2.4.21-r1" >>  etc/portage/profile/package.provided
emerge ${STRAP_EMERGE_OPTS} ${myTEXINFO} ${myGETTEXT} ${myBINUTILS} || cleanup 1


After running this, just comment out the linux-headers line in etc/portage/profile/package.provided. All seems fine.

So does this seem sane to anyone else?
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Wed Nov 24, 2004 8:05 am    Post subject: Reply with quote

Just emerge linux26-headers before bootstrap, then it doesn't emerge 2.4 headers and fuck up your install ;)
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Wed Nov 24, 2004 10:14 am    Post subject: Reply with quote

Well all went file all the way through #emerge system, but then it "stumble" on grub
Code:
checking for C compiler default output name... configure: error: C compiler cannot create executables!
Strange as it have created them upto this point! I wonder if it's gcc-config that are playing jokes again? I get this strange listing:
Code:
portage# gcc-config -l
[color=red]*[/color] /usr/bin/gcc-config: profile does not exist or invalid setting for /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3
[1] i386-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.4.3 *
[3] i686-pc-linux-gnu-3.4.3-hardened
[4] i686-pc-linux-gnu-3.4.3-hardenednopie
[5] i686-pc-linux-gnu-3.4.3-hardenednossp

_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
vicaya
n00b
n00b


Joined: 26 Jun 2004
Posts: 57

PostPosted: Wed Nov 24, 2004 10:42 am    Post subject: Reply with quote

I ran into this problem once, as a bootstrap failure caused a missing symlink of /usr/lib/gcc to /usr/lib/gcc-lib. fix:

cd /usr/lib && mv gcc/i686-pc-linux-gnu gcc-lib && rmdir gcc && ln -s gcc-lib gcc

Hope that's the same problem.
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Wed Nov 24, 2004 10:46 am    Post subject: Reply with quote

vicaya wrote:
I ran into this problem once, as a bootstrap failure caused a missing symlink of /usr/lib/gcc to /usr/lib/gcc-lib. fix:

cd /usr/lib && mv gcc/i686-pc-linux-gnu gcc-lib && rmdir gcc && ln -s gcc-lib gcc

Hope that's the same problem.

And when was this, with the new 2004.3 tarball?
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 449

PostPosted: Wed Nov 24, 2004 11:33 am    Post subject: Reply with quote

I digged a bit in bugzilla and I think #70111 is what makes emerge bomb on grub. Solution seam to be on the way though, but as always it's justa a matter of (available) time.

OT: He he I like this, I suddenly became 'Guru' and looking back it seams like I always been 8)
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 23, 24, 25  Next
Page 12 of 25

 
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