This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/48201] New: ndefined reference to `__builtin_stdarg_start' when compiling util-vserver-0.30.216 on gentoo
- From: "praktakus at go2 dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 Mar 2011 02:20:55 +0000
- Subject: [Bug pch/48201] New: ndefined reference to `__builtin_stdarg_start' when compiling util-vserver-0.30.216 on gentoo
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48201
Summary: ndefined reference to `__builtin_stdarg_start' when
compiling util-vserver-0.30.216 on gentoo
Product: gcc
Version: 4.4.5
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: pch
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: praktakus@go2.pl
diet -Os i686-pc-linux-gnu-gcc -O2 -pipe -march=native -s -fno-ident
-fomit-frame-pointer -std=c99 -Wall -pedantic -W -funit-at-a-time -Wl,-O1 -o
src/check-unixfile src/check-unixfile.o
/usr/diet/lib-i386/libc.a(__fcntl64.o): In function `fcntl64':
(.text+0x1b): undefined reference to `__builtin_stdarg_start'
collect2: ld returned 1 exit status
make[2]: *** [src/chain-echo] Error 1
make[2]: *** Waiting for unfinished jobs....
/bin/sh ./libtool --tag=CC --mode=link diet -Os i686-pc-linux-gnu-gcc -O2
-pipe -march=native -s -fno-ident -fomit-frame-pointer -std=c99 -Wall -pedantic
-W -funit-at-a-time -Wl,-O1 -o src/fakerunlev$
diet -Os i686-pc-linux-gnu-gcc -O2 -pipe -march=native -s -fno-ident
-fomit-frame-pointer -std=c99 -Wall -pedantic -W -funit-at-a-time -Wl,-O1 -o
src/fakerunlevel src/fakerunlevel.o
make[2]: Leaving directory
`/var/tmp/portage/sys-cluster/util-vserver-0.30.216_pre2935/work/util-vserver-0.30.216-pre2935'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-cluster/util-vserver-0.30.216_pre2935/work/util-vserver-0.30.216-pre2935'
make: *** [all] Error 2
emake failed
^[[31;01m*^[[0m ERROR: sys-cluster/util-vserver-0.30.216_pre2935 failed
(compile phase):
^[[31;01m*^[[0m emake failed!
^[[31;01m*^[[0m
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 56: Called src_compile
^[[31;01m*^[[0m environment, line 2222: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m emake || die "emake failed!"
app-shells/bash: 4.1_p9
dev-lang/python: 2.6.6-r2, 3.1.3-r1
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.65-r1
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -s -fno-ident -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -s -fno-ident -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news
parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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://rsync.gentoo.org/gentoo-portage"
Portage 2.1.9.42 (default/linux/x86/10.0/server, gcc-4.4.5, glibc-2.11.3-r0,
2.6.35-vs2.3.0.36.32-gentoo i686)
=================================================================
System Settings
=================================================================
System uname:
Linux-2.6.35-vs2.3.0.36.32-gentoo-i686-Intel-R-_Xeon-TM-_CPU_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 18 Mar 2011 23:00:01 +0000
USE="acl apache2 aspnet2 berkdb bzip2 cli cracklib crypt cups cxx dri fbcon
fortran gdbm gnutls gpm iconv ipv6 modules mudflap mysql ncurses nls nptl
nptlonly openmp pam pcre pppd readline session snmp$
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY