On Thu, 2005-11-10 at 13:57 +0200, Vesselin Mladenov wrote: > Hello, > > I have a problem recompiling glibc on my computer after I have changed > my USE flags. > Here is what emerge is going to do: > root # emerge -p -v --update --deep --newuse world > > These are the packages that I would merge, in order: > > Calculating world dependencies ...done! > [ebuild R ] sys-libs/glibc-2.3.5-r2 -build +erandom > -glibc-compat20 +glibc-omitfp* -hardened -linuxthreads-tls (-multilib) > +nls +nptl +nptlonly -pic -profile (-selinux) +userlocales* 0 kB > [ebuild N ] app-i18n/man-pages-fr-1.64.0 864 kB > [ebuild N ] app-i18n/man-pages-de-0.4 475 kB > [ebuild U ] sys-fs/sysfsutils-1.3.0 [1.2.0-r2] 272 kB > [ebuild U ] app-arch/rar-3.5.1 [3.4.0] 661 kB > [ebuild U ] net-ftp/ftpd-0.17-r3 [0.17-r1] +ssl 35 kB > > > > The problem is with glibc. When it starts to compile, gcc quits with > the following error: > > > cc1: error: unrecognized option `-fno-stack-protector' > make[2]: *** > [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/csu/ssp.o] > Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory > `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/csu' > make[1]: *** [csu/subdir_lib] Error 2 > make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5' > make: *** [all] Error 2 > > > > Here are the details about my computer and the compilation: > ----- > Gentoo Base System version 1.6.13 > > Linux igdrazil 2.6.13-gentoo-r3 #6 Tue Oct 11 23:44:21 EEST 2005 i686 > Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux > > gcc (GCC) 3.3.6 (Gentoo 3.3.6) > > Configuring GLIBC for nptl with: > --enable-omitfp > --with-tls > --with-__thread > --enable-add-ons=nptl,c_stubs,libidn > --enable-kernel=2.6.6 > --without-selinux > --without-cvs > --enable-bind-now > --build=i686-pc-linux-gnu > --host=i686-pc-linux-gnu > --disable-profile > --without-gd > --with-headers=//usr/include > --prefix=/usr > --mandir=/usr/share/man > --infodir=/usr/share/info > --libexecdir=/usr/lib/misc/glibc > > ---- > > > I would appreciate if someone can give mi a hint about what to do. > Thank you for your time in advance. > Hi, You don't need "-fno-stack-protector" as a flag, it's only used in all hardened sources (grsec2,RSBAC,SELinux). Take it out of your /etc/make.conf (must be there as i don't see a hardened profile being used). HTH.Rumen
signature.asc
Description: This is a digitally signed message part