Gentoo Archives: gentoo-user

From: Vesselin Mladenov <veselinm@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] problem compiling glibc
Date: Thu, 10 Nov 2005 12:03:23
Message-Id: c094fa6e0511100357m23f49541g2ad783091c539715@mail.gmail.com
1 Hello,
2
3 I have a problem recompiling glibc on my computer after I have changed
4 my USE flags.
5 Here is what emerge is going to do:
6 root # emerge -p -v --update --deep --newuse world
7
8 These are the packages that I would merge, in order:
9
10 Calculating world dependencies ...done!
11 [ebuild R ] sys-libs/glibc-2.3.5-r2 -build +erandom
12 -glibc-compat20 +glibc-omitfp* -hardened -linuxthreads-tls (-multilib)
13 +nls +nptl +nptlonly -pic -profile (-selinux) +userlocales* 0 kB
14 [ebuild N ] app-i18n/man-pages-fr-1.64.0 864 kB
15 [ebuild N ] app-i18n/man-pages-de-0.4 475 kB
16 [ebuild U ] sys-fs/sysfsutils-1.3.0 [1.2.0-r2] 272 kB
17 [ebuild U ] app-arch/rar-3.5.1 [3.4.0] 661 kB
18 [ebuild U ] net-ftp/ftpd-0.17-r3 [0.17-r1] +ssl 35 kB
19
20
21
22 The problem is with glibc. When it starts to compile, gcc quits with
23 the following error:
24
25
26 cc1: error: unrecognized option `-fno-stack-protector'
27 make[2]: *** [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/csu/ssp.o]
28 Error 1
29 make[2]: *** Waiting for unfinished jobs....
30 make[2]: Leaving directory
31 `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/csu'
32 make[1]: *** [csu/subdir_lib] Error 2
33 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5'
34 make: *** [all] Error 2
35
36
37
38 Here are the details about my computer and the compilation:
39 -----
40 Gentoo Base System version 1.6.13
41
42 Linux igdrazil 2.6.13-gentoo-r3 #6 Tue Oct 11 23:44:21 EEST 2005 i686
43 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux
44
45 gcc (GCC) 3.3.6 (Gentoo 3.3.6)
46
47 Configuring GLIBC for nptl with:
48 --enable-omitfp
49 --with-tls
50 --with-__thread
51 --enable-add-ons=nptl,c_stubs,libidn
52 --enable-kernel=2.6.6
53 --without-selinux
54 --without-cvs
55 --enable-bind-now
56 --build=i686-pc-linux-gnu
57 --host=i686-pc-linux-gnu
58 --disable-profile
59 --without-gd
60 --with-headers=//usr/include
61 --prefix=/usr
62 --mandir=/usr/share/man
63 --infodir=/usr/share/info
64 --libexecdir=/usr/lib/misc/glibc
65
66 ----
67
68
69 I would appreciate if someone can give mi a hint about what to do.
70 Thank you for your time in advance.
71
72 --
73 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] problem compiling glibc Rumen Yotov <rumen_yotov@×××.bg>