Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320611 - sys-devel/gcc-4.4.3-r2 undefined reference to `__builtin_stdarg_start'
Summary: sys-devel/gcc-4.4.3-r2 undefined reference to `__builtin_stdarg_start'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Solaris
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 18:19 UTC by Eric Meddaugh
Modified: 2011-04-06 18:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Meddaugh 2010-05-19 18:19:25 UTC
Error when compiling new tiff from 3.9.2-r1:

>>> Emerging (1 of 36) media-libs/tiff-4.0.0_beta5
 * tiff-4.0.0beta5.tar.gz RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  media-libs/tiff-4.0.0_beta5
 * REPO: gentoo_prefix
 * USE:  bigtiff cxx elibc_SunOS kernel_SunOS prefix userland_GNU x86-solaris zlib
>>> Unpacking source...
>>> Unpacking tiff-4.0.0beta5.tar.gz to /sys_tools/var/tmp/portage/media-libs/tiff-4.0.0_beta5/work
>>> Source unpacked in /sys_tools/var/tmp/portage/media-libs/tiff-4.0.0_beta5/work
>>> Preparing source in /sys_tools/var/tmp/portage/media-libs/tiff-4.0.0_beta5/work/tiff-4.0.0beta5 ...
 * Applying tiff-3.9.2-CVE-2009-2347.patch ...                                                                               [ ok ]
 * Running elibtoolize in: tiff-4.0.0beta5/config
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /sys_tools/var/tmp/portage/media-libs/tiff-4.0.0_beta5/work/tiff-4.0.0beta5 ...
 * econf: updating tiff-4.0.0beta5/config/config.sub with /sys_tools/usr/share/gnuconfig/config.sub
 * econf: updating tiff-4.0.0beta5/config/config.guess with /sys_tools/usr/share/gnuconfig/config.guess
./configure --prefix=/sys_tools/usr --build=i386-pc-solaris2.10 --host=i386-pc-solaris2.10 --mandir=/sys_tools/usr/share/man --infodir=/sys_tools/usr/share/info --datadir=/sys_tools/usr/share --sysconfdir=/sys_tools/etc --localstatedir=/sys_tools/var/lib --disable-dependency-tracking --disable-silent-rules --enable-largefile --enable-cxx --enable-zlib --disable-jpeg --disable-jbig --disable-mdi --without-x --with-docdir=/sys_tools/usr/share/doc/tiff-4.0.0_beta5


.......
.......

make[1]: Entering directory `/sys_tools/var/tmp/portage/media-libs/tiff-4.0.0_beta5/work/tiff-4.0.0beta5/tools'
\
#       source='bmp2tiff.c' object='bmp2tiff.o' libtool=no 
i386-pc-solaris2.10-gcc -DHAVE_CONFIG_H -I. -I../libtiff -I../libtiff  -I/sys_tools/usr/include  -O2 -pipe -Wall -W -c bmp2tiff.c
/sys_tools/bin/bash ../libtool  --tag=CC   --mode=link i386-pc-solaris2.10-gcc  -O2 -pipe -Wall -W  -L/sys_tools/usr/lib -R/sys_tools/usr/lib -L/sys_tools/lib -R/sys_tools/lib -o bmp2tiff bmp2tiff.o ../libtiff/libtiff.la ../port/libport.la -lz -lm -lc 
libtool: link: i386-pc-solaris2.10-gcc -O2 -pipe -Wall -W -o .libs/bmp2tiff bmp2tiff.o  -L/sys_tools/usr/lib -L/sys_tools/lib ../libtiff/.libs/libtiff.so ../port/.libs/libport.a -lz -lm -lc -Wl,-rpath -Wl,/sys_tools/usr/lib -Wl,-rpath -Wl,/sys_tools/lib
../libtiff/.libs/libtiff.so: undefined reference to `__builtin_stdarg_start'
collect2: ld returned 1 exit status
make[1]: *** [bmp2tiff] Error 1
make[1]: Leaving directory `/sys_tools/var/tmp/portage/media-libs/tiff-4.0.0_beta5/work/tiff-4.0.0beta5/tools'
make: *** [all-recursive] Error 1
 * ERROR: media-libs/tiff-4.0.0_beta5 failed:
 *   emake failed
Comment 1 Eric Meddaugh 2010-05-19 18:19:42 UTC
$ emerge --info
Portage 2.2.00.15842-prefix (prefix/sunos/solaris/5.10/x86, gcc-4.4.3, unavailable, 5.10 i86pc)
=================================================================
System uname: Solaris-2.10-i86pc-i386-32bit-ELF
Timestamp of tree: Wed, 19 May 2010 14:08:10 +0000
app-shells/bash:     4.0_p38
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2
dev-util/cmake:      2.8.1-r1
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r3, 1.10.2-r00.1, 1.11.1
sys-devel/binutils:  2.20.51.0.4
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
ACCEPT_KEYWORDS="~x86-solaris"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i386-pc-solaris2.10"
CFLAGS="-O2 -pipe"
CHOST="i386-pc-solaris2.10"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CPPFLAGS="-I/sys_tools/usr/include"
CXXFLAGS="-O2 -pipe"
DISTDIR="/sys_tools/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-L/sys_tools/usr/lib -R/sys_tools/usr/lib -L/sys_tools/lib -R/sys_tools/lib"
PKGDIR="/sys_tools/usr/portage/packages"
PORTAGE_CONFIGROOT="/sys_tools/"
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="/sys_tools/var/tmp"
PORTDIR="/sys_tools/usr/portage"
PORTDIR_OVERLAY="/sys_tools/usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="cracklib cxx kerberos modules ncurses nls prefix readline ssl unicode x86-solaris zlib" 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 proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http auth_digest" ELIBC="SunOS" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Eric Meddaugh 2010-05-19 20:10:13 UTC
Appears to be more of an issue with sys-devel/gcc-4.4.3-r2, as when I downgraded back to 4.4.3 (had to restore, couldn't emerge as that failed with same errror), things now compile again without the undefined reference error.

Only appears to be a problem on Solaris x86 (sparc cannot emerge 4.4.3 anyways yet), Linux (centos 32/64 bits) worked ok.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-05-24 20:18:08 UTC
Seems related. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35460
Comment 4 Fabian Groffen gentoo-dev 2011-04-06 18:09:56 UTC
I think newer versions work, I have installed on x86-solaris:

sys-devel/gcc-4.1.2
sys-devel/gcc-4.2.4
sys-devel/gcc-4.3.2-r4
sys-devel/gcc-4.4.5
sys-devel/gcc-4.5.2-r00.1