ia64-unknown-linux-gnu-gcc -nostdlib -nostartfiles -static -o /var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-default-ia64-unknown-linux-gnu-nptl/elf/sln -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--hash-style=gnu /var/tmp/p$ /var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-default-ia64-unknown-linux-gnu-nptl/libc.a(libc-start.o): In function `__libc_start_main': libc-start.c:(.text+0x692): undefined reference to `__set_errno' libc-start.c:(.text+0x752): undefined reference to `__set_errno' collect2: ld returned 1 exit status Reproducible: Always Portage 2.2.0_alpha101 (hardened/linux/ia64/server, gcc-4.5.3, glibc-2.13-r4, 2.6.27-openvz-repin.1 ia64) [2/8] ================================================================= System uname: Linux-2.6.27-openvz-repin.1-ia64-31-with-gentoo-2.0.3 Timestamp of tree: Fri, 04 May 2012 10:45:01 +0000 app-shells/bash: 4.2_p20 dev-lang/python: 2.7.2-r3, 3.2.2-r1 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo local Installed sets: @system ACCEPT_KEYWORDS="ia64" ACCEPT_LICENSE="* -@EULA" CBUILD="ia64-unknown-linux-gnu" CFLAGS="-pipe -mtune=mckinley -O2" CHOST="ia64-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-pipe -mtune=mckinley -O2" DISTDIR="/var/cache/portage/distfiles" EMERGE_DEFAULT_OPTS="--usepkg --buildpkg --binpkg-respect-use --with-bdeps y --keep-going" FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv u sersandbox usersync xattr" FFLAGS="" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfile s.gentoo.org" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--hash-style=gnu" MAKEOPTS="-j3" PKGDIR="/var/cache/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS=" --delete-excluded --exclude='/games*/' --exclude='/gnome*/' --exclude='/gnustep*/' --exclude='/gpe*/' --exclude='/kde*/' --exclude='/lxde*/' --exclude='/rox*/' --exclude='/xfce*/'" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/cache/portage/gentoo" PORTDIR_OVERLAY="/var/cache/portage/local" [...] Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Created attachment 310797 [details] build.log (xz compressed)
i'm guessing related to hardened. can't say i've ever tried that on ia64.
committed upstream: http://sourceware.org/git/?p=glibc-ports.git;a=commitdiff;h=f5cf58f7947db6681b0084afd248e5f601434fb3 and added to 2.14.1/2.15: http://sources.gentoo.org/gentoo/src/patchsets/glibc/2.15/6901_all_ia64-sysdep-errno.patch?rev=1.1
(In reply to comment #3) > committed upstream and added to 2.14.1/2.15 Thanks!
Commit message: Fix from upstream for building ia64/hardened http://sources.gentoo.org/sys-libs/glibc/glibc-2.14.1-r3.ebuild?r1=1.11&r2=1.12 http://sources.gentoo.org/sys-libs/glibc/glibc-2.15-r1.ebuild?r1=1.4&r2=1.5