Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220641 - dev-libs/elfutils-0.131-r2 __gnu_inline undeclared in argp-std.c when building with -O0
Summary: dev-libs/elfutils-0.131-r2 __gnu_inline undeclared in argp-std.c when buildin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-06 18:10 UTC by Grimbert Jérôme
Modified: 2008-05-10 12:08 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 Grimbert Jérôme 2008-05-06 18:10:28 UTC
Upgrading from elfutils-0.131-r1 to r2.

Compilation fails at argp-std.c due to undeclared __gnu_inline.

Reproducible: Always

Steps to Reproduce:
1. emerge elfutils
(with whatever options you want)
Actual Results:  
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I.. -I. -I. -I./../libelf -I./../libebl -I./../libdw -I.. -I./../lib   -Wall  -Wshadow -Wunused -Wformat=2 -std=gnu99 -march=athlon64 -pipe -msse3 -msse2 -msse  -MT argp-std.o -MD -MP -MF .deps/argp-std.Tpo -c -o argp-std.o argp-std.c
argp-std.c: In function ‘parse_opt’:
argp-std.c:109: erreur: ‘__gnu_inline’ undeclared (first use in this function)
argp-std.c:109: erreur: (Each undeclared identifier is reported only once
argp-std.c:109: erreur: for each function it appears in.)
argp-std.c:109: erreur: expected ‘;’ before ‘void’
make[2]: *** [argp-std.o] Erreur 1
make[2]: quittant le répertoire « /var/tmp/portage/dev-libs/elfutils-0.131-r2/work/elfutils-0.131/libdwfl »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/dev-libs/elfutils-0.131-r2/work/elfutils-0.131 »
make: *** [all] Erreur 2
 * 
 * ERROR: dev-libs/elfutils-0.131-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2117:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-libs:elfutils-0.131-r2:20080506-180706.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.131-r2/temp/environment'.
 * 


Expected Results:  
Success of emerge.

I guess patch from r1 to r2 is not ready for gcc-4.2.3

Portage 2.1.5_rc7 (default-linux/amd64/2006.1/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Tue, 06 May 2008 15:45:03 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r4, 2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -msse3 -msse2 -msse "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/ude
v/rules.d"
CXXFLAGS="-march=athlon64 -pipe -msse3 -msse2 -msse "
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mi
rror/gentoo/ "
LANG="fr_FR.utf8"
LDFLAGS=""
LINGUAS="fr en"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X X509 a52 aac aalib accessibility alsa amd64 amr amrnb amrwb apache2 apm aqua_theme arts artworkextra audiofile avahi background bash-completion berkdb bittorrent bl bonobo browserplugin bzip2 c++ cairo calendar carbone_theme cdda cddb cdio cdp
aranoia cdr cdrom cgi chroot cjk cli cpudetection cracklib crypt ctype cups curl cvs cvsgraph daap dbus dga directfb djvu dri dts dv dvb dvd dvdr dvdread dvi eds emboss encode equalizer esd f77 fam fame fat ffmpeg firefox flac flash flx fmod font-server f
ortran gb gd gdbm gif gimp gimpprint glitz glut gnome gnuplot gnustep gpg2-experimental gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile gvim gzip hal hddtemp hfs howl https iconv idn ieee1394 imagemagick imlib insecure-savers ipv6 isdnlog jack java javas
cript jbig jfs joystick jpeg jpeg2k kde keyring ladspa latex lcms libcaca libnotify libsamplerate libsexy lm_sensors logitech-mouse lua lzo mad math matroska mbrola mdnsresponder-compat midi mikmod mjpeg mkv mmkeys mng mod modplug mono motif mozilla mp3 m
p4 mpd mpeg mplayer mudflap musepack mysql mysqli nas nautilus ncurses network networking networkmanager nls nntp nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc ocaml offensive ogg openal openexr opengl openmp pam pcre pdf perl php plotutils png p
osix postgres povray ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection regex reiser4 reiserfs rpm rtc rtsp ruby samba scanner scenarios screen sdl seamonkey sensord session sndfile sound sox speex spell spl ssl ssse3 svg sysfs s
zip tagwriting tcl tcpd tetex tga theora threads tiff timidity tk tokenizer trayicon truetype unicode unzip upnp usb v4l v4l2 vcd vcdimager videos vim vim-pager vim-with-x vlm vorbis vxwindows wavpack wma wma123 wmf x264 xanim xcb xforms xfs xft xine xml 
xml2 xmlreader xmlwriter xorg xosd xprint xscreensaver xsettings xv xvid xvmc yv12 zlib" ALSA_CARDS="via82xx mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi nu
ll plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lo
ck dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status un
ique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2008-05-10 12:08:04 UTC
it failed because you arent building with any optimization levels

http://sources.gentoo.org/dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch?r1=1.1&r2=1.2