Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229269 - dev-libs/elfutils-0.127 with gcc-4.3.1
Summary: dev-libs/elfutils-0.127 with gcc-4.3.1
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-24 18:23 UTC by Manfred Knick
Modified: 2008-11-04 18:31 UTC (History)
1 user (show)

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


Attachments
Patch to make the inline functions in elfutils-0.127 conform to ISO C99. (elfutils-0.127-c99_inline_functions-1.patch,3.87 KB, patch)
2008-06-25 00:19 UTC, Nico R.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Knick 2008-06-24 18:23:43 UTC
emerge : compile fails

Reproducible: Always

Steps to Reproduce:
1.emerge
2.
3.

Actual Results:  
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW -I. -I.. -I. -I. -I./../libelf -I.. -I./../lib    -Wall  -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99 -march=k8 -O2 -pipe  -MT dwarf_whatattr.o -MD -MP -MF .deps/dwarf_whatattr.Tpo -c -o dwarf_whatattr.o dwarf_whatattr.c
dwarf_whatform.c:60: Fehler: Redefinition von »dwarf_whatform«
./libdw.h:636: Fehler: Vorherige Definition von »dwarf_whatform« war hier
make[2]: *** [dwarf_whatform.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
dwarf_whatattr.c:60: Fehler: Redefinition von »dwarf_whatattr«
./libdw.h:629: Fehler: Vorherige Definition von »dwarf_whatattr« war hier
make[2]: *** [dwarf_whatattr.o] Fehler 1
make[2]: Leaving directory `/Storage-B/Portage_tmp/portage/dev-libs/elfutils-0.127/work/elfutils-0.127/libdw'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/Storage-B/Portage_tmp/portage/dev-libs/elfutils-0.127/work/elfutils-0.127'
make: *** [all] Fehler 2
 *
 * ERROR: dev-libs/elfutils-0.127 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2574:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)



# emerge --info
 Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.3.1, glibc-2.7-r2,
2.6.25-gentoo-r5 x86_64)
 =================================================================
 System uname: 2.6.25-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
5200+
 Timestamp of tree: Mon, 23 Jun 2008 22:45:01 +0000
 ccache version 2.4 [disabled]
 app-shells/bash:     3.2_p33
 dev-java/java-config: 1.3.7, 2.1.6
 dev-lang/python:     2.4.4-r13
 dev-python/pycrypto: 2.0.1-r6
 dev-util/ccache:     2.4-r7
 sys-apps/baselayout: 1.12.11.1
 sys-apps/sandbox:    1.2.18.1-r2
 sys-devel/autoconf:  2.13, 2.61-r2
 sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
 sys-devel/binutils:  2.18-r1
 sys-devel/gcc-config: 1.4.0-r4
 sys-devel/libtool:   1.5.26
 virtual/os-headers:  2.6.25-r4
 ACCEPT_KEYWORDS="amd64"
 CBUILD="x86_64-pc-linux-gnu"
 CFLAGS="-march=k8 -O2 -pipe "
 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/lib/fax /usr/share/config /var/bind /var/lib/hsqldb
/var/spool/fax/etc"
 CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /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/udev/rules.d"
 CXXFLAGS="-march=k8 -O2 -pipe "
 DISTDIR="/usr/portage/distfiles"
 FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch"
 GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ "
 LANG="de_DE.UTF8"
 LC_ALL="de_DE.UTF8"
 LINGUAS="de"
 MAKEOPTS="-j3"
 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="/Storage-B/Portage_tmp"
 PORTDIR="/usr/portage"
 PORTDIR_OVERLAY="/usr/portage/local/local-overlay"
 SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
 USE="X acl acpi alsa amd64 apache2 arts avahi bash-completion berkdb cairo cdr
cli cracklib crypt cups dbus doc dri dvb dvd dvdr dvdread eds emboss encode esd
evo examples fam fax firefox foomaticdb fortran gdbm gif gimp gimpprint gnome
gphoto2 gpm gstreamer gtk hal hbci hvm iconv ioemu ipv6 isdnlog java jce jpeg
kbanking kde kerberos kvm ldap libvirt libwww lirc mad maildir mailwrapper mbox
midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg
opengl openmp oss pam pcre pdf perl php png ppds pppd python qt qt3 qt3support
qt4 quicktime readline reflection samba scanner screen sdl server session snmp
spell spl sse sse2 ssl svg tcpd tiff truetype unicode usb utempter v4l v4l2
vim-syntax vorbis xml xorg xv zlib zvbi" 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 mulaw multi null 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_lock 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 unique_id userdir usertrack vhost_alias"
ELIBC="glibc" FRITZCAPI_CARDS="fcpci" INPUT_DEVICES="keyboard mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="de" MISDN_CARDS="avmfritz" USERLAND="GNU"
VIDEO_CARDS="nv nvidia"
 Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Manfred Knick 2008-06-24 19:32:16 UTC
*  dev-libs/elfutils
      Latest version available: 0.131-r2
      Latest version installed: 0.131-r2
Comment 2 Nico R. 2008-06-25 00:17:52 UTC
dev-libs/elfutils-0.131-r2 is not marked stable for any arch, while elfutils-0.127 is for all arches. I suggest reopening this bug, because it has not really been fixed.

Will attach a patch for elfutils-0.127.
Comment 3 Nico R. 2008-06-25 00:19:37 UTC
Created attachment 158341 [details, diff]
Patch to make the inline functions in elfutils-0.127 conform to ISO C99.

This patch allows dev-libs/elfutils-0.127 to be compiled with gcc-4.3.1.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2008-06-25 02:47:07 UTC
thanks for the patch, but building stable packages w/ GCC 4.3 isn't supported
Comment 5 Manfred Knick 2008-06-25 06:38:02 UTC
(In reply to comment #4)
> thanks for the patch, but building stable packages w/ GCC 4.3 isn't supported
> 

Sorry - but I fear I do not really understand what you want to implicate with your reply.
Comment 6 Sönke N. Greimann 2008-11-04 18:31:48 UTC
(In reply to comment #5)

> Sorry - but I fear I do not really understand what you want to implicate with
> your reply.

I think it's about not being able to support certain combinations of stable packages and testing GCC.

I had that same problem but can confirm that elfutils-0.131-r2 compiles fine using GCC 4.3.1-r1...

Cheerio!