Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345013 - ld segf during configure with conftest.c:51: undefined reference to `S_ISWHT'
Summary: ld segf during configure with conftest.c:51: undefined reference to `S_ISWHT'
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-11 08:05 UTC by Justin Lecher (RETIRED)
Modified: 2014-01-14 18:56 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 Justin Lecher (RETIRED) gentoo-dev 2010-11-11 08:05:01 UTC
I does this for around 10% of all packages:

from config.log

configure:5258: checking if S_ISWHT can be used
configure:5280: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=core2 -g  -Wl,--as-needed -Wl,-O1,--hash-style=gnu,--sort-common conftest.c  >&5
collect2: ld terminated with signal 11 [Segmentation fault]
/opt/scisoft64/var/tmp/portage/sys-apps/portage-2.2.01.15553/temp/ccYkG5Sb.o: In function `main':
/opt/scisoft64/var/tmp/portage/sys-apps/portage-2.2.01.15553/work/prefix-portage-2.2.01.15553/conftest.c:51: undefined reference to `S_ISWHT'
configure:5280: $? = 1
configure: failed program was:

It is a opensuse-11.3 x86_64 host.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-11-11 08:07:15 UTC
Portage 2.2.01.15553-prefix (prefix/linux/amd64, gcc-4.4.5, unavailable, 2.6.34.7-0.5-desktop x86_64)
=================================================================
System uname: Linux-2.6.34.7-0.5-desktop-x86_64-Intel-R-_Xeon-R-_CPU_E5504_@_2.00GHz-with-SuSE-11.3-x86_64
Timestamp of tree: Wed, 10 Nov 2010 19:12:11 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.6.3-r1, 1.10.2-r00.1, 1.11.1
sys-devel/binutils:  2.20.51.0.10
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.34 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64-linux ~amd64-linux"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/nano/"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -g"
DISTDIR="/opt/scisoft64/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-t --verbose --jobs=4 --load-average=8 --keep-going"
FEATURES="assume-digests buildsyspkg ccache collision-protect distlocks fixlafiles fixpackages news noinfo parallel-fetch preserve-libs protect-owned sfperms sign split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=core2 -g"
GENTOO_MIRRORS=" 	http://gentoo.j-schmitz.net/mirror/  	ftp://ftp.gentoo.mesh-solutions.com/gentoo/  	ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 	ftp://ftp.tu-clausthal.de/pub/linux/gentoo/  	http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en"
MAKEOPTS="-j12 -l4"
PKGDIR="/opt/scisoft64/usr/portage/packages"
PORTAGE_CONFIGROOT="/opt/scisoft64/"
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="/opt/scisoft64/var/tmp"
PORTDIR="/opt/scisoft64/usr/portage"
PORTDIR_OVERLAY="/opt/scisoft64/data/sciprefix"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X amd64 apbs aria bash-completion berkdb blas bzip2 c++ cblas cli cracklib crypt cxx dri fortran gdbm gmp iconv lapack libssh2 lzma mmx modules motif mudflap nano-syntax ncurses nls nptl nptlonly opengl openmp openssl pcre perl png pppd prefix python readline session sse sse2 ssl sysfs tcpd threads tk truetype unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon intel vesa nvidia radeonhd r128" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 2 Fabian Groffen gentoo-dev 2014-01-14 18:56:56 UTC
I bet there is a newer ld out there these days