Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359433 - sys-cluster/util-vserver - /usr/diet/lib-i386/libc.a(__fcntl64.o): In function `fcntl64': (.text+0x1b): undefined reference to `__builtin_stdarg_start'
Summary: sys-cluster/util-vserver - /usr/diet/lib-i386/libc.a(__fcntl64.o): In functio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on: 364103
Blocks:
  Show dependency tree
 
Reported: 2011-03-19 00:01 UTC by praktakus
Modified: 2012-01-29 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-cluster/util-vserver-0.30.216_pre2935 build log (build.log,349.52 KB, text/plain)
2011-03-21 01:48 UTC, Adrian Butterworth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description praktakus 2011-03-19 00:01:21 UTC
Can't install any recent version of util-vserver.

Reproducible: Always

Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" does not affect same result only different versions
2.emerge util-vserver
3.
Actual Results:  

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!"


Expected Results:  
Software should emerge/install.

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
Comment 1 praktakus 2011-03-19 01:22:19 UTC
Seems like a GCC 4.4.5  " __builtin_stdarg_start " bug to me.
Typo in diet libs?
Comment 2 praktakus 2011-03-19 14:24:56 UTC
GCC pr states that "__builtin_stdarg_start" is a internal no longer used header.
That should point to where?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-21 01:07:22 UTC
Please attach the entire build log to this bug report.
Comment 4 Adrian Butterworth 2011-03-21 01:48:21 UTC
Created attachment 266669 [details]
sys-cluster/util-vserver-0.30.216_pre2935 build log

I am not the original submitter but have the same problem & noticed the request for a build log.   This was with gcc 4.4.5 but I slotted an older gcc 4.3.4 & got similar result.
Comment 5 praktakus 2011-04-06 13:54:51 UTC
Thank You Adrian for a quick respons on thread.

Solution is merely simple.

Support for __builtin_stdarg has been removed and though it is still
referenced.
Comment 6 Benedikt Böhm (RETIRED) gentoo-dev 2011-04-06 14:12:26 UTC
this should be fixed with newer versions of dietlibc (which are not stable yet). please give 0.33_pre201100403 a try, i've added a bunch of other fixes, so that is the next one going stable
Comment 7 praktakus 2011-04-06 20:47:39 UTC
Thank You Benedikt!
Worked like a charm!
Comment 8 Jan 2011-06-06 11:44:43 UTC
(In reply to comment #6)
> this should be fixed with newer versions of dietlibc (which are not stable
> yet). please give 0.33_pre201100403 a try, i've added a bunch of other fixes,
> so that is the next one going stable

I'm having the same problem.

When can we expect this to go stable?
Comment 9 Benedikt Böhm (RETIRED) gentoo-dev 2012-01-29 13:06:31 UTC
for amd64/x86 it is already stable, other archs won't be stabilized on that version