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