1 |
Not there unfortunatelly. |
2 |
Here are my CFLAGS: |
3 |
CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer |
4 |
-fexpensive-optimizations -pipe" |
5 |
|
6 |
|
7 |
On 11/10/05, Rumen Yotov <rumen_yotov@×××.bg> wrote: |
8 |
> On Thu, 2005-11-10 at 13:57 +0200, Vesselin Mladenov wrote: |
9 |
> > Hello, |
10 |
> > |
11 |
> > I have a problem recompiling glibc on my computer after I have changed |
12 |
> > my USE flags. |
13 |
> > Here is what emerge is going to do: |
14 |
> > root # emerge -p -v --update --deep --newuse world |
15 |
> > |
16 |
> > These are the packages that I would merge, in order: |
17 |
> > |
18 |
> > Calculating world dependencies ...done! |
19 |
> > [ebuild R ] sys-libs/glibc-2.3.5-r2 -build +erandom |
20 |
> > -glibc-compat20 +glibc-omitfp* -hardened -linuxthreads-tls (-multilib) |
21 |
> > +nls +nptl +nptlonly -pic -profile (-selinux) +userlocales* 0 kB |
22 |
> > [ebuild N ] app-i18n/man-pages-fr-1.64.0 864 kB |
23 |
> > [ebuild N ] app-i18n/man-pages-de-0.4 475 kB |
24 |
> > [ebuild U ] sys-fs/sysfsutils-1.3.0 [1.2.0-r2] 272 kB |
25 |
> > [ebuild U ] app-arch/rar-3.5.1 [3.4.0] 661 kB |
26 |
> > [ebuild U ] net-ftp/ftpd-0.17-r3 [0.17-r1] +ssl 35 kB |
27 |
> > |
28 |
> > |
29 |
> > |
30 |
> > The problem is with glibc. When it starts to compile, gcc quits with |
31 |
> > the following error: |
32 |
> > |
33 |
> > |
34 |
> > cc1: error: unrecognized option `-fno-stack-protector' |
35 |
> > make[2]: *** [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/csu/ssp.o] |
36 |
> > Error 1 |
37 |
> > make[2]: *** Waiting for unfinished jobs.... |
38 |
> > make[2]: Leaving directory |
39 |
> > `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/csu' |
40 |
> > make[1]: *** [csu/subdir_lib] Error 2 |
41 |
> > make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5' |
42 |
> > make: *** [all] Error 2 |
43 |
> > |
44 |
> > |
45 |
> > |
46 |
> > Here are the details about my computer and the compilation: |
47 |
> > ----- |
48 |
> > Gentoo Base System version 1.6.13 |
49 |
> > |
50 |
> > Linux igdrazil 2.6.13-gentoo-r3 #6 Tue Oct 11 23:44:21 EEST 2005 i686 |
51 |
> > Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux |
52 |
> > |
53 |
> > gcc (GCC) 3.3.6 (Gentoo 3.3.6) |
54 |
> > |
55 |
> > Configuring GLIBC for nptl with: |
56 |
> > --enable-omitfp |
57 |
> > --with-tls |
58 |
> > --with-__thread |
59 |
> > --enable-add-ons=nptl,c_stubs,libidn |
60 |
> > --enable-kernel=2.6.6 |
61 |
> > --without-selinux |
62 |
> > --without-cvs |
63 |
> > --enable-bind-now |
64 |
> > --build=i686-pc-linux-gnu |
65 |
> > --host=i686-pc-linux-gnu |
66 |
> > --disable-profile |
67 |
> > --without-gd |
68 |
> > --with-headers=//usr/include |
69 |
> > --prefix=/usr |
70 |
> > --mandir=/usr/share/man |
71 |
> > --infodir=/usr/share/info |
72 |
> > --libexecdir=/usr/lib/misc/glibc |
73 |
> > |
74 |
> > ---- |
75 |
> > |
76 |
> > |
77 |
> > I would appreciate if someone can give mi a hint about what to do. |
78 |
> > Thank you for your time in advance. |
79 |
> > |
80 |
> Hi, |
81 |
> You don't need "-fno-stack-protector" as a flag, it's only used in all |
82 |
> hardened sources (grsec2,RSBAC,SELinux). |
83 |
> Take it out of your /etc/make.conf (must be there as i don't see a |
84 |
> hardened profile being used). |
85 |
> HTH.Rumen |
86 |
> |
87 |
> |
88 |
> -----BEGIN PGP SIGNATURE----- |
89 |
> Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) |
90 |
> |
91 |
> iD8DBQBDc33hw4vKYiLy/AsRAgasAJ9bKdqA6VLp+GEMDeyqOVHLqyBZ7wCfbD5w |
92 |
> NtJ32G1/JhJ69PMlGjTGx0c= |
93 |
> =sCWG |
94 |
> -----END PGP SIGNATURE----- |
95 |
> |
96 |
> |
97 |
> |
98 |
|
99 |
-- |
100 |
gentoo-user@g.o mailing list |