Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262514 - dev-util/duma-2.5.14 fails to build on x86
Summary: dev-util/duma-2.5.14 fails to build on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-15 09:41 UTC by Andrew Savchenko
Modified: 2009-04-01 01:03 UTC (History)
2 users (show)

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 Andrew Savchenko gentoo-dev 2009-03-15 09:41:54 UTC
Hello,

I got the following error when building dev-util/duma on my system:

i686-pc-linux-gnu-gcc -DDUMA_USE_FRAMENO -march=athlon-xp -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fdirectives-only -c duma.c -o duma.o
duma.c: In function '_duma_allocate':
duma.c:2422: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining
duma.c:1186: sorry, unimplemented: called from here
make: *** [duma.o] Error 1

I changed CFLAGS to "-O2", but this doesn't help, error is the same.

My emerge --info:
Portage 2.2_rc25 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.24.3-yoruichi-sama i686)
=================================================================
System uname: Linux-2.6.24.3-yoruichi-sama-i686-AMD_Athlon-tm-_XP_3200+-with-glibc2.0
Timestamp of tree: Sat, 14 Mar 2009 19:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fdirectives-only"
CHOST="i686-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fdirectives-only"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=athlon-xp -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe"
GENTOO_MIRRORS=" ftp://orionis/distributions/1Linux/gentoo/portage ftp://ftp.corbina.net/pub/Linux/gentoo ftp://ftp.chg.ru/pub/Linux/gentoo http://mirror.yandex.ru/gentoo-distfiles  http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://mirror.netcologne.de/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/layman/sunrise /usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi adns afs aim alsa amr ao audiofile bash-completion bcmath berkdb bidi binfilter blas bluetooth branding bzip2 cairo calendar canna caps cddb cdinstall cdparanoia cdr chasen cjk cli clisp colordiff cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx cyrillic dga dirac directfb djvu doc dri dts dv dvd dvdr dvdread eap-tls editor elf encode enscript ermt examples exif expat fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran fpx freetds ftp gcj gd gdbm geoip ggi gif gimp ginac git glut gmp gnuplot gnutls gpgme gphoto2 gpm gps graphviz gs gsl gsm gtk hdf5 hdri iconv icq icu idn imagemagick imap imlib ipod iproute2 ipv6 isdnlog jabber jack jadetex java6 javascript jbig jingle jpeg jpeg2k kdehiddenvisibility kerberos keyscrub kpathsea ladspa lame lapack lash latex lcms libcaca libsamplerate libwww lm_sensors logrotate lzo mad maildir mailwrapper matroska mbox md5sum mhash midi mikmod mime mmap mmx mng modplug mp3 mpeg mplayer mppe-mppc msn mudflap musepack musicbrainz mysql mysqli nas ncurses netcdf network network-cron nls nntp nocd nptlonly nsplugin objc objc++ offensive ogg openal openexr opengl openmp oscar otr pam pango pch pcntl pcre pda pdf perl plotutils png pop portaudio posix ppds pppd qt3 qt4 quicktime raw rdesktop readline recode reflection rle samba scanner schroedinger sdl session sharedmem shorten slang slp smtp sndfile sockets socks5 sox sparse speex spell spl sqlite sqlite3 sse ssl subversion supernodal svg svga sysfs syslog szip taglib tcpd theora tiff timezone timidity truetype unicode usb vcd videos vim vim-syntax vnc vorbis wavpack wifi win32codecs wmf x264 x86 xattr xface xinerama xorg xosd xpm xprint xscreensaver xulrunner xv xvid yahoo yaz ziffy zlib" ALSA_CARDS="intel8x0" 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="authz_host dir mime" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en ja" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick Lauer gentoo-dev 2009-03-15 10:00:26 UTC
reproduced on ~amd64 and reported upstream:

http://sourceforge.net/tracker2/?func=detail&aid=2687518&group_id=149725&atid=775376

Comment 2 Andrew Savchenko gentoo-dev 2009-03-15 10:45:34 UTC
The same problem with efence:
https://bugs.gentoo.org/show_bug.cgi?id=262528
Comment 3 Andrew Savchenko gentoo-dev 2009-03-15 10:47:08 UTC
(In reply to comment #1)
> reproduced on ~amd64 and reported upstream:
> 
> http://sourceforge.net/tracker2/?func=detail&aid=2687518&group_id=149725&atid=775376
> 

Thanks, we should wait for solution from now.
Comment 4 Steve Arnold archtester gentoo-dev 2009-04-01 01:03:12 UTC
Updated latest ~arch to build with current toolchain.  Based on what this package does, as well as the failures reported in this bug, it doesn't seem appropriate to pass every random set of user-supplied CFLAGS.  Feel free to comment with justification for specific flags and/or pointers to relevant info.