Hello here, I have some problems compiled glibc, I am trying to install a server with PaX and SELinux, I have an decompressing stage3 hardened and portage, change the profile for selinux/2007.0/x86/hardened and set the make.conf as a show down .Any idea how I can fix the problem with glibc?
Portage 2.1.4.4 (selinux/2007.0/x86/hardened, gcc-3.4.6, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686) ================================================================= System uname: 2.6.22-nova-r9 i686 unknown Timestamp of tree: Mon, 22 Sep 2008 01:45:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.10 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -fstack-protector-all" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -fstack-protector-all" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks loadpolicy metadata-transfer sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://10.128.50.122" LANG="C" LINGUAS="es en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://10.128.50.122/gentoo-portage" USE="acl acpi alsa apm bash-completion berkdb cdr cli cracklib crypt cups curl dbus directfb dri dvd dvdr encode esd fam fortran freetype gdbm gnutls gpm hal hardened iconv isdnlog kerberos libwww midi mudflap ncurses nls nntp nptl nptlonly openmp oss pam pcmcia pcre perl pic png ppds pppd python readline reflection selinux session slang snmp speex spell spl sse sse2 ssl svg tcpd threads truetype-fonts usb v4l vcd x86 xml xml2 xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en" USERLAND="GNU" VIDEO_CARDS="i810 chips i128 i740 imstt vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY >>> Emerging (1 of 29) sys-libs/glibc-2.6.1 to / * glibc-ports-2.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * glibc-2.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * glibc-2.6.1-patches-1.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * glibc-libidn-2.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking glibc-2.6.1.tar.bz2 ;-) ... [ ok ] * checking glibc-libidn-2.6.1.tar.bz2 ;-) ... [ ok ] * checking glibc-ports-2.6.1.tar.bz2 ;-) ... [ ok ] * checking glibc-2.6.1-patches-1.2.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... * Checking gcc for __thread support ... [ ok ] * Checking kernel version (>=2.6.9) ... [ ok ] * Checking linux-headers version (>=2.6.9) ... [ ok ] >>> Unpacking glibc-2.6.1.tar.bz2 to /var/tmp/portage/sys-libs/glibc-2.6.1/work >>> Unpacking glibc-ports-2.6.1.tar.bz2 to >>> /var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1 >>> Unpacking glibc-libidn-2.6.1.tar.bz2 to >>> /var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1 >>> Unpacking glibc-2.6.1-patches-1.2.tar.bz2 to >>> /var/tmp/portage/sys-libs/glibc-2.6.1/work * Applying Gentoo Glibc Patchset 2.6.1-1.2 ... * 0010_all_glibc-ssp-compat.patch ... [ ok ] * 0030_all_glibc-respect-env-CPPFLAGS.patch ... [ ok ] * 1018_all_glibc-awk-in-C-locale.patch ... [ ok ] * 1020_all_glibc-inet-headers.patch ... [ ok ] * 1025_all_glibc-gcc-4.3-include-fixed.patch ... [ ok ] * 1030_all_glibc-manual-no-perl.patch ... [ ok ] * 1035_all_glibc-respect-build-programs.patch ... [ ok ] * 1040_all_2.3.3-localedef-fix-trampoline.patch ... [ ok ] * 1045_all_glibc-handle-long-kernel-versions.patch ... [ ok ] * 1055_all_glibc-resolv-dynamic.patch ... [ ok ] * 1060_all_glibc-cvs-getcwd-path-max.patch ... [ ok ] * 1065_all_glibc-2.7-nscd-paranoia-segv.patch ... [ ok ] * 1075_all_glibc-section-comments.patch ... [ ok ] * 1090_all_glibc-2.3.6-fix-pr631.patch ... [ ok ] * 1100_all_glibc-2.3.3-china.patch ... [ ok ] * 1103_all_glibc-new-valencian-locale.patch ... [ ok ] * 1120_all_glibc-2.5-strict-aliasing.patch ... [ ok ] * 1130_all_glibc-2.4-undefine-__i686.patch ... [ ok ] * 1505_all_glibc-hppa-elf-relocs.patch ... [ ok ] * 1510_all_glibc-hppa-no-asm-elf-header.patch ... [ ok ] * 1530_all_glibc-m68k-sys-user.patch ... [ ok ] * 3000_all_2.3.6-dl_execstack-PaX-support.patch ... [ ok ] * 3010_all_2.3.3_pre20040117-pt_pax.patch ... [ ok ] * 3020_all_glibc-tests-sandbox-libdl-paths.patch ... [ ok ] * 4010_all_2.3.5-hardened-iconvconfig-unnest.patch ... [ ok ] * 5063_all_glibc-dont-build-timezone.patch ... [ ok ] * 5070_all_cross-compile-nptl.patch ... [ ok ] * 6001_all_alpha-glibc-2.4-xstat.patch ... [ ok ] * 6015_all_alpha-glibc-2.5-no-page-header.patch ... [ ok ] * 6016_all_alpha-glibc-2.5-no-asm-elf-header.patch ... [ ok ] * 6220_all_glibc-2.4-arm-cirrus-ep93xx-maverick-crunch-fpu.patch ... [ ok ] * 6230_all_arm-glibc-2.5-no-page-header.patch ... [ ok ] * 6235_all_arm-glibc-RTLD_SINGLE_THREAD_P.patch ... [ ok ] * 6400_all_sh-glibc-2.3.2-fpscr_values.patch ... [ ok ] * 6415_all_sh-glibc-2.5-no-asm-user-header.patch ... [ ok ] * 6416_all_sh-glibc-2.5-no-asm-elf-header.patch ... [ ok ] * 6605_all_glibc-2.4-fpu-cw-mips.patch ... [ ok ] * 6645_all_glibc-mips_shn_undef-hack.patch ... [ ok ] * 6650_all_glibc-mips_gnu-hash_support.patch ... [ ok ] * Done with patching * Using GNU config files from /usr/share/libtool * Updating scripts/config.sub [ ok ] * Updating scripts/config.guess [ ok ] * Patching to get working PIE binaries on PIE (hardened) platforms * Applying glibc-2.5-hardened-pie.patch ... [ ok ] * Applying glibc-2.5-hardened-configure-picdefault.patch ... [ ok ] * Applying glibc-2.6-hardened-inittls-nosysenter.patch ... [ ok ] * Installing Hardened Gentoo SSP handler >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1 >>> ... * ABI: default * CBUILD: i686-pc-linux-gnu * CHOST: i686-pc-linux-gnu * CTARGET: i686-pc-linux-gnu * CBUILD_OPT: * CTARGET_OPT: * CC: * CFLAGS: -march=i686 -pipe -fstack-protector-all -O2 -fno-strict-aliasing * Configuring GLIBC for nptl with: --enable-stackguard-randomization --enable-old-ssp-compat --enable-add-ons=nptl,c_stubs,libidn,ports --enable-kernel=2.6.9 --with-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 --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu configure: running configure fragment for add-on nptl configure: running configure fragment for add-on c_stubs configure: running configure fragment for add-on libidn checking add-on ports for preconfigure fragments... am33 arm hppa m68k mips checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv/i386 sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking whether /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/as is GNU as... yes checking whether /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld is GNU ld... yes checking for /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/as... /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/as checking version of /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/as... 2.18, ok checking for /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld... /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld checking version of /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld... 2.18, ok checking for pwd... /bin/pwd checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking version of i686-pc-linux-gnu-gcc... 3.4.6, ok checking for gnumake... no checking for gmake... gmake checking version of gmake... 3.81, ok checking for gnumsgfmt... no checking for gmsgfmt... gmsgfmt checking version of gmsgfmt... 0.17, ok checking for makeinfo... makeinfo checking version of makeinfo... 4.11, ok checking for sed... sed checking version of sed... 4.1.5, ok checking for autoconf... autoconf checking whether autoconf works... yes checking whether ranlib is necessary... no checking LD_LIBRARY_PATH variable... ok checking whether GCC supports -static-libgcc... -static-libgcc checking for bash... /bin/sh checking for gawk... gawk checking for perl... /usr/bin/perl checking for install-info... /usr/bin/install-info checking for bison... /usr/bin/bison checking for signed size_t type... no checking for libc-friendly stddef.h... yes checking whether we need to use -P to assemble .S files... no checking whether .text pseudo-op must be used... yes checking for assembler global-symbol directive... .globl checking for .set assembler directive... no checking for assembler .type directive prefix... @ checking for .symver assembler directive... yes checking for ld --version-script... yes checking for .previous assembler directive... yes checking for .protected and .hidden assembler directive... yes checking whether __attribute__((visibility())) is supported... yes checking for broken __attribute__((visibility()))... no checking for broken __attribute__((alias()))... no checking whether to put _rtld_local into .sdata section... no checking for .preinit_array/.init_array/.fini_array support... no configure: error: Need linker with .init_array/.fini_array support. * * ERROR: sys-libs/glibc-2.6.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3379: Called eblit-run 'src_compile' * environment, line 1104: Called eblit-glibc-src_compile * src_compile.eblit, line 181: Called toolchain-glibc_src_compile * src_compile.eblit, line 120: Called glibc_do_configure 'src_compile' * src_compile.eblit, line 97: Called die * The specific snippet of code: * "${S}"/configure ${myconf} || die "failed to configure glibc" * The die message: * failed to configure glibc * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-libs:glibc-2.6.1:20081008-153540.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'. * * Messages for package sys-libs/glibc-2.6.1: * * ERROR: sys-libs/glibc-2.6.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3379: Called eblit-run 'src_compile' * environment, line 1104: Called eblit-glibc-src_compile * src_compile.eblit, line 181: Called toolchain-glibc_src_compile * src_compile.eblit, line 120: Called glibc_do_configure 'src_compile' * src_compile.eblit, line 97: Called die * The specific snippet of code: * "${S}"/configure ${myconf} || die "failed to configure glibc" * The die message: * failed to configure glibc * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-libs:glibc-2.6.1:20081008-153540.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'. *
