Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498346 - sys-devel/gcc:4.6/4.7/4.8 fails to compile on OpenSuse - filenames.h:85:6: error: unknown type name ‘size_t’
Summary: sys-devel/gcc:4.6/4.7/4.8 fails to compile on OpenSuse - filenames.h:85:6: er...
Status: RESOLVED WONTFIX
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:
: 464630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-17 12:19 UTC by Justin Lecher (RETIRED)
Modified: 2020-12-14 20:51 UTC (History)
0 users

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


Attachments
gcc-build-logs.tar.bz2 (gcc-build-logs.tar.bz2,57.09 KB, application/x-tar)
2014-01-17 12:20 UTC, Justin Lecher (RETIRED)
Details
gcc-4.7.2-r1:20140117-120448.log (gcc-4.7.2-r1:20140117-120448.log,115.27 KB, text/x-log)
2014-01-17 12:20 UTC, Justin Lecher (RETIRED)
Details
config.log (config.log,154.08 KB, text/x-log)
2014-01-17 12:21 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 12:19:59 UTC
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/choose-temp.c:67:9: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c:172:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c: In function ‘fibheap_extract_min’:
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c:190:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]

/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c: In function ‘fibheap_replace_key_data’:
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c:220:30: error: ‘LONG_MIN’ undeclared (first use in this function)
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/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/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c: In function ‘fibheap_delete_node’:
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c:261:36: error: ‘LONG_MIN’ undeclared (first use in this function)
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/choose-temp.c:69:3: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/choose-temp.c:69:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c:265:7: warning: implicit declaration of function ‘abort’ [-Wimplicit-function-declaration]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c:265:7: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
checking for strerror... /opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c: In function ‘fibheap_delete’:
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c:277:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c: In function ‘fibheap_consolidate’:
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c:368:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/fibheap.c:368:3: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/cplus-dem.c: In function ‘squangle_mop_up’:
--
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/cplus-dem.c:1322:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
yes
checking for long long int... x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -O2 -pipe -march=core2 -frecord-gcc-switches  -I. -I/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  /opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/floatformat.c -o floatformat.o

Makefile:648: recipe for target 'fibheap.o' failed
make[3]: *** [fibheap.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/choose-temp.c:72:3: warning: implicit declaration of function ‘mktemp’ [-Wimplicit-function-declaration]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/choose-temp.c:73:5: warning: implicit declaration of function ‘abort’ [-Wimplicit-function-declaration]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/choose-temp.c:73:5: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/cplus-dem.c: In function ‘demangle_template_value_parm’:
--
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/cp-demangle.c:5265:7: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/cplus-dem.c:3313:7: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration]
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/cp-demangle.c: In function ‘is_ctor_or_dtor’:
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/cp-demangle.c:5471:51: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
In file included from /opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/filename_cmp.c:27:0:
/opt/scisoft64/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libiberty/../include/filenames.h:85:6: error: unknown type name ‘size_t’


$ emerge --info --ignore-default-opts
Portage 2.2.8-prefix (prefix/linux/amd64, gcc-4.6.3, unavailable, 3.7.10-1.16-desktop x86_64)
=================================================================
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,   2534008 free
KiB Swap:    2103292 total,   2084420 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
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-01-17 12:20:32 UTC
Created attachment 367992 [details]
gcc-build-logs.tar.bz2

build logs
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2014-01-17 12:20:47 UTC
Created attachment 367994 [details]
gcc-4.7.2-r1:20140117-120448.log

build.log
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2014-01-17 12:21:15 UTC
Created attachment 367996 [details]
config.log

config.log
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2014-03-14 11:40:47 UTC
Could we get a solution here? Slowly it gets outdated if one cannot upgrade the compiler
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-03-14 22:55:06 UTC
In general, I've found that the libc is quite "weird" on suse. So, there may not be an easy solution here, similar to support on multilib distros (debian/ubuntu). Maybe the RAP project will help this scenerio?
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2014-03-15 07:57:47 UTC
this is in production set up with more than hundred clients. I don't want to fiddle around with that. How stable it's rap today?
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-03-15 15:30:49 UTC
(In reply to Justin Lecher from comment #6)
> this is in production set up with more than hundred clients. I don't want to
> fiddle around with that. How stable it's rap today?

Experimental, just like Gentoo Prefix.
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2014-03-17 20:01:48 UTC
(In reply to Justin Lecher from comment #6)
> this is in production set up with more than hundred clients. I don't want to
> fiddle around with that. How stable it's rap today?
I have updated <https://wiki.gentoo.org/wiki/Prefix/libc> recently, it might be worth merging the rap overlay into the prefix one.
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2014-06-05 07:15:01 UTC
using CPPFLAGS="-O2" fixes the problem
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2014-06-05 07:15:32 UTC
*** Bug 464630 has been marked as a duplicate of this bug. ***
Comment 11 Fabian Groffen gentoo-dev 2020-12-14 20:51:52 UTC
these configurations are nowadays supported by RAP