Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498348 - sys-devel/gdb-7.6.2 fails on Opensuse ./fibheap.c:220:30: error: ‘LONG_MIN’ undeclared (first use in this function)./cp-demangle.c: In function ‘cplus_demangle_print’:
Summary: sys-devel/gdb-7.6.2 fails on Opensuse ./fibheap.c:220:30: error: ‘LONG_MIN’ u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 13:04 UTC by Justin Lecher (RETIRED)
Modified: 2015-05-06 10:51 UTC (History)
1 user (show)

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


Attachments
gdb-7.6.2:20140117-125121.log (gdb-7.6.2:20140117-125121.log,86.26 KB, text/x-log)
2014-01-17 13:05 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 2014-01-17 13:04:58 UTC
./cp-demangle.c:3707:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
./cplus-dem.c: In function ‘delete_non_B_K_work_stuff’:
./cplus-dem.c:1305:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./cplus-dem.c:1314:2: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./cplus-dem.c:1322:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./cp-demangle.c: In function ‘d_print_comp’:./cp-demangle.c:4020:13: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration]./cplus-dem.c: In function ‘demangle_template_value_parm’:if [ x"" != x ]; then \  x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ./fnmatch.c -o pic/fnmatch.o; \else true; fi./cplus-dem.c:2047:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./cplus-dem.c:2051:8: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./filename_cmp.c -o filename_cmp.ox86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./floatformat.c -o floatformat.oif [ x"" != x ]; then \  x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ./fopen_unlocked.c -o pic/fopen_unlocked.o; \else true; fix86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./fopen_unlocked.c -o fopen_unlocked.o./cp-demangle.c: In function ‘d_demangle_callback’:./cp-demangle.c:5300:47: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]./cp-demangle.c: In function ‘d_demangle’:./cp-demangle.c:5373:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./cp-demangle.c: In function ‘is_ctor_or_dtor’:./cp-demangle.c:5579:51: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -O2 -pipe -march=core2 -mssse3 -frecord-gcc-switches  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./fnmatch.c -o fnmatch.o./fibheap.c: In function ‘fibheap_union’:./fibheap.c:151:7: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]./fibheap.c:151:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./fibheap.c:156:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./fibheap.c:172:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./fibheap.c: In function ‘fibheap_extract_min’:./fibheap.c:190:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./fibheap.c: In function ‘fibheap_replace_key_data’:./fibheap.c:220:30: error: ‘LONG_MIN’ undeclared (first use in this function)./fibheap.c:220:30: note: each undeclared identifier is reported only once for each function it appears in./cplus-dem.c: In function ‘gnu_special’:./cplus-dem.c:3086:8: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]./fibheap.c: In function ‘fibheap_delete_node’:./fibheap.c:261:36: error: ‘LONG_MIN’ undeclared (first use in this function)
./fibheap.c:265:7: warning: implicit declaration of function ‘abort’ [-Wimplicit-function-declaration]
./fibheap.c:265:7: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
./fibheap.c: In function ‘fibheap_delete’:
./fibheap.c:277:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
./fibheap.c: In function ‘fibheap_consolidate’:
./fibheap.c:368:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
./fibheap.c:368:3: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
./cplus-dem.c: In function ‘recursively_demangle’:
./cplus-dem.c:3142:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
./cplus-dem.c:3148:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
./cplus-dem.c: In function ‘demangle_qualified’:
./cplus-dem.c:3313:7: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration]
./cplus-dem.c: In function ‘do_hpacc_template_literal’:Makefile:656: recipe for target 'fibheap.o' failed
make[2]: *** [fibheap.o] Error 1
make[2]: *** Waiting for unfinished jobs....



$ emerge --info --ignore-default-opts gdb
Portage 2.2.8-prefix (prefix/linux/amd64, gcc-4.6.3, unavailable, 3.7.10-1.16-desktop x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.10-1.16-desktop-x86_64-Intel_Core_i7_9xx_-Nehalem_Class_Core_i7-with-SuSE-12.3-x86_64
KiB Mem:     3939704 total,   2145708 free
KiB Swap:    2103292 total,   2084544 free
Timestamp of tree: Thu, 16 Jan 2014 11:06:04 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p39-r1
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.1-r3
dev-util/pkgconfig:       0.28
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.4, 1.14
sys-devel/binutils:       2.24-r1
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:           4.0-r1
sys-kernel/linux-headers: 3.12 (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/gentoo-release /etc/revdep-rebuild /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 userpriv usersandbox usersync"
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 --omit-dir-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"
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" 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 author" 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 ublox 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" 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"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

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

sys-devel/gdb-7.6.2 was built with the following:
USE="client nls (prefix) python server zlib -expat -multitarget -test -vanilla"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-01-17 13:05:46 UTC
Created attachment 367998 [details]
gdb-7.6.2:20140117-125121.log

build.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2014-01-17 13:06:44 UTC
CPPFLAGS="-O2" helps
Comment 3 SpanKY gentoo-dev 2015-05-04 07:54:35 UTC
gdb-7.9 is in the tree now.  can you check if that still fails ?

what C library version does your distro have ?
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2015-05-06 07:34:57 UTC
(In reply to SpanKY from comment #3)
> gdb-7.9 is in the tree now.  can you check if that still fails ?

That version works fine.


> what C library version does your distro have ?

Name: glibc
Version: 2.19-16.9.1
Arch: x86_64
Vendor: openSUSE
Comment 5 SpanKY gentoo-dev 2015-05-06 10:51:15 UTC
(In reply to Justin Lecher from comment #4)

weird ... glibc-2.19 should have worked.  at any rate, if the latest is fine, nothing for us to do now ;).