Gentoo Archives: gentoo-user

From: Bastian Balthazar Bux <BastianBalthazarBux@×××××××××.it>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Gentoo with Kernel 2.6, GCC 3.4 and NPTL?
Date: Sun, 05 Dec 2004 21:39:55
Message-Id: 41B384F4.7050305@pnpitalia.it
1 <snip>
2
3 > * Checking gcc for __thread support ... no
4 >
5 > * Could not find a gcc that supports the __thread directive!
6 > * please update to gcc-3.2.2-r1 or later, and try again.
7 >
8 >!!! ERROR: sys-libs/glibc-2.3.4.20040808-r1 failed.
9 >!!! Function check_nptl_support, Line 150, Exitcode 0
10 >!!! No __thread support in gcc!
11 >!!! If you need support, post the topmost build error, NOT this status
12 >message.
13 >
14 >WHAT?! GCC IS COMPILED WITH NPTL AND NOT NPTLONLY. What is going on? anyone
15 >had same problems?
16 >
17 >
18 I'm at the same point with the same problem, workaround:
19
20 gcc-config -l says you don't have any default profiles
21 don't care:
22 # gcc-config 1
23 # source /etc/profile
24 # gcc-config -l
25 # gcc-config <whatever profile you want>
26 # source /etc/profile
27
28 cp /usr/portage/scripts/bootstrap.sh /usr/portage/scripts/bb.sh
29 edit /usr/portage/scripts/bb.sh, comment the following lines:
30
31 #USE="-* build bootstrap ${STAGE1_USE}" emerge ${STRAP_EMERGE_OPTS}
32 ${myPORTAGE} || cleanup 1
33
34 #emerge ${STRAP_EMERGE_OPTS} ${myOS_HEADERS} ${myTEXINFO} ${myGETTEXT}
35 ${myBINUTILS} || cleanup 1
36
37 #if [ -n "${STRAP_RUN}" ]; then
38 #emerge clean || cleanup 1
39 #fi
40
41 #emerge ${STRAP_EMERGE_OPTS} ${myGCC} || cleanup 1
42
43 #emerge clean || cleanup 1
44
45 you have only two emerge still to do:
46 emerge ${STRAP_EMERGE_OPTS} ${myLIBC} ${myBASELAYOUT} ${myZLIB} || cleanup 1
47 emerge ${STRAP_EMERGE_OPTS} ${myNCURSES} || cleanup 1
48
49 launch /usr/portage/scripts/bb.sh
50
51 starting the script I've seen the
52
53 # livecd portage # scripts/bb.sh
54
55 Gentoo Linux; http://www.gentoo.org/
56 Copyright 1999-2004 Gentoo Foundation; Distributed under the GPLv2
57 Resuming Bootstrap of base system ...
58
59
60 the last output frase make me think that commenting emerge lines is
61 useless but who know ;)
62
63 ciao, hope it helps francesco
64
65
66
67 --
68 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: Gentoo with Kernel 2.6, GCC 3.4 and NPTL? Bastian Balthazar Bux <BastianBalthazarBux@×××××××××.it>