Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464586 - sys-devel/binutils-2.23 fails on opensuse-12.3 - error: ‘LONG_MIN’ undeclared (first use in this function)
Summary: sys-devel/binutils-2.23 fails on opensuse-12.3 - error: ‘LONG_MIN’ undeclared...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-04 12:25 UTC by Justin Lecher (RETIRED)
Modified: 2017-06-06 22:46 UTC (History)
0 users

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


Attachments
build.log (build.log,139.20 KB, text/plain)
2013-04-04 12:27 UTC, Justin Lecher (RETIRED)
Details
binutils-2.24-r1-config.log (binutils-2.24-r1-config.log,840.53 KB, text/plain)
2014-06-03 07:00 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2013-04-04 12:25:02 UTC
 $ make
make[1]: Entering directory `/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/build'
make[2]: Entering directory `/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/build/libiberty'
if [ x"-fpic" != x ]; then \
  x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -O2 -pipe -march=core2  -I. -I/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fpic /opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c: In function ‘fibheap_union’:
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:151:7: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:151:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:156:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:172:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c: In function ‘fibheap_extract_min’:
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:190:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c: In function ‘fibheap_replace_key_data’:
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:220:30: error: ‘LONG_MIN’ undeclared (first use in this function)
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:220:30: note: each undeclared identifier is reported only once for each function it appears in
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c: In function ‘fibheap_delete_node’:
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:261:36: error: ‘LONG_MIN’ undeclared (first use in this function)
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:265:7: warning: implicit declaration of function ‘abort’ [-Wimplicit-function-declaration]
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:265:7: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c: In function ‘fibheap_delete’:
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:277:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c: In function ‘fibheap_consolidate’:
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:368:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/binutils-2.23/libiberty/fibheap.c:368:3: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
make[2]: *** [fibheap.o] Error 1
make[2]: Leaving directory `/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/build/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory `/opt/scisoft64/var/tmp/portage/sys-devel/binutils-2.23/work/build'
make: *** [all] Error 2
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-04-04 12:26:34 UTC
Portage 2.2.01.21890-prefix (prefix/linux/amd64, gcc-4.6.3, unavailable, 3.7.10-1.1-desktop x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.10-1.1-desktop-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-SuSE-12.3-x86_64
KiB Mem:    12328296 total,   4000820 free
KiB Swap:    2103292 total,   2103292 free
Timestamp of tree: Thu, 04 Apr 2013 08:06:12 +0000
ld GNU ld (GNU Binutils) 2.23
app-shells/bash:          4.2_p39-r1
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r3
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.4
sys-devel/binutils:       2.23
sys-devel/gcc:            4.1.2, 4.6.3
sys-devel/gcc-config:     1.8-r00.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
Repositories: gentoo_prefix last-hope local science
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/scisoft64/etc /usr/share/gnupg/qualified.txt"
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 /opt/scisoft64/etc/env.d"
CXXFLAGS="-O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches"
DISTDIR="/opt/scisoft64/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-v -t --keep-going --autounmask-write=y --autounmask=y --quiet-build=n"
FCFLAGS="-O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news noinfo parallel-fetch preserve-libs protect-owned sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches"
GENTOO_MIRRORS="    http://gentoo.j-schmitz.net/mirror/    ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo    ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
MAKEOPTS="-j16"
PKGDIR="/opt/scisoft64/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-v -e -9"
PORTAGE_CONFIGROOT="/opt/scisoft64/"
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="/opt/scisoft64/var/tmp/"
PORTDIR="/opt/scisoft64/usr/portage"
PORTDIR_OVERLAY="/opt/scisoft64/data/lh /opt/scisoft64/data/local-repo /opt/scisoft64/data/sci"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="amd64 apbs berkdb bzip2 cli cracklib crypt cxx dri extendnmr fortran gdbm gmp iconv ipv6 jpeg mmx modules mudflap ncurses nls nptl opengl openmp pcre png prefix pymol qt3support readline session sse sse2 ssl tcpd threads tiff unicode zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="none" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-devel/binutils-2.23 was built with the following:
USE="cxx nls (prefix) zlib -multislot -multitarget -static-libs -test -vanilla"
CFLAGS="-O2 -pipe -march=core2 -g"
CXXFLAGS="-O2 -pipe -march=core2 -g"
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-04-04 12:27:25 UTC
Created attachment 344366 [details]
build.log

build.log
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2014-01-17 12:00:27 UTC
CPPFLAGS="-O2" fixes the problem
Comment 4 SpanKY gentoo-dev 2014-06-03 02:30:58 UTC
attach a tar of all the config.log files.  it looks like stdlib.h isn't found.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2014-06-03 07:00:34 UTC
Created attachment 378154 [details]
binutils-2.24-r1-config.log

All config.logs concanated