Hello, I just wanted to build my first hardened AMD64 system and ran into the following problem after chrooting into the unpacked tarball: (2007-0 AMD64 multilib - keywords: amd64)
$ emerge --sync [..] $ ls -l /etc/make.profile lrwxrwxrwx 1 root root 47 Dec 14 00:34 /etc/make.profile -> ../usr/portage/profiles/hardened/amd64/multilib $ emerge -p binutils gcc glibc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-devel/binutils-2.18-r1 [2.16.1-r3] USE="-nls*" [ebuild R ] sys-devel/gcc-3.4.6-r2 USE="-d% -hardened* -nls*" [ebuild U ] sys-libs/glibc-2.6.1 [2.3.6-r5] USE="-debug% -gd% -hardened* -nls* -vanilla%" $ gcc-config -l [1] x86_64-pc-linux-gnu-3.4.6 * [2] x86_64-pc-linux-gnu-3.4.6-hardenednopie [3] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp [4] x86_64-pc-linux-gnu-3.4.6-hardenednossp [5] x86_64-pc-linux-gnu-3.4.6-vanilla $ emerge -Du world [..] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1 ... * Building multilib glibc for ABIs: x86 amd64 * ABI: x86 * CBUILD: x86_64-pc-linux-gnu * CHOST: x86_64-pc-linux-gnu * CTARGET: x86_64-pc-linux-gnu * CBUILD_OPT: i686-pc-linux-gnu * CTARGET_OPT: i686-pc-linux-gnu * CC: * CFLAGS: -O2 -fno-strict-aliasing -fno-stack-protector -nopie [..] checking for -z nodelete option... configure: error: linker with -z nodelete support required [..] The log file says nothing more than the message above. I already tried to reemerge binutils to be sure the linker was ok. That didn't help. This is my first AMD64 system so I'm not yet into the multilib stuff - perhaps I made an error by not specifying "hardened" and/or "multilib" as USE-flag? But after reading through the archives, I thought they are both not used as long as I take the right profile. Below you find my make.conf and the output of emerge --info. Thank you for reading! Marcel $ emerge --info emerge --info Portage 2.1.3.19 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.3.6-r5, 2.6.19-gentoo-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 AMD Opteron(tm) Processor 850 Timestamp of tree: Fri, 14 Dec 2007 14:16:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fforce-addr" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 bash-completion berkdb caps crypt memlimit ncurses nptl pam readline skey snmp ssl unicode vim-syntax xattr xinetd zlib" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS $ cat /etc/make.conf USE="-* \ bash-completion berkdb \ caps crypt \ memlimit \ ncurses nptl \ pam \ readline \ skey snmp ssl \ unicode \ vim-syntax \ xattr xinetd \ zlib \ " CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fforce-addr" CXXFLAGS="${CFLAGS}" # ACCEPT_KEYWORDS="~amd64" PORT_LOGDIR="/var/log/portage" PORT_ENOTICE_DIR="/var/log/portage/enotice" PORTDIR_OVERLAY="/usr/local/portage" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" MAKEOPTS="-j5" FEATURES="parallel-fetch sandbox strict" PORTAGE_NICENESS="5" PORTAGE_TMPFS="/dev/shm" PORTAGE_ELOG_CLASSES="info warn error log" PORTAGE_ELOG_SYSTEM="save" ALSA_CARDS="" ALSA_PCM_PLUGINS="" APACHE2_MODULES="" LCD_DEVICES="" VIDEO_CARDS=""
signature.asc
Description: This is a digitally signed message part.
