bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling some packages fails when using -flto with the new gcc-4.5.0


From: Piotr Juźwiak
Subject: Compiling some packages fails when using -flto with the new gcc-4.5.0
Date: Tue, 15 Jun 2010 16:28:05 +0200
User-agent: KMail/1.13.3 (Linux/2.6.34-gentoo; KDE/4.4.4; i686; ; )

I am using gentoo

my emerge --info (if it helps in any way):

Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.5.0,
glibc-2.11.2-r0, 2.6.34-gentoo i686)
=================================================================
System uname:
Linux-2.6.34-gentoo-i686-Intel-R-_Atom-TM-
address@hidden
Timestamp of tree: Tue, 15 Jun 2010 00:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=atom -mtune=atom -mfpmath=sse -
mmovbe -msahf -flto
-fomit-frame-pointer -pipe -Wno-deprecated"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=atom -mtune=atom -mfpmath=sse -
mmovbe -msahf -flto
-fomit-frame-pointer -pipe -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news 
parallel-fetch
protect-owned sandbox sfperms strict unmerge-logs unmerge-
orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org";
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS=""
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="/dev/shm"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit X a52 aac accessibility acl acpi akonadi alsa archive 
aspell
bash-completion bindist branding bzip2 cairo cli consolekit 
cpudetection
cracklib cups cxx dbus dhcpcd dri dts emboss encode 
exceptions exif fam ffmpeg
firefox fortran gif glib gnutls graphite hyperestraier iconv 
inotify ipod jpeg
kde kipi laptop lcms libnotify lzma lzo mad matroska metalink 
mikmod minimal
mmap mmx mng modules mp3 mp4 mpeg mudflap mysql 
ncurses networkmanager nls nptl
nptlonly nsplugin nss ogg opengl openmp optimized-qmake 
pam pango pcre pdf perl
phonon plasma png policykit ppds python qt3support qt4 
readline rss samba
scanner sdl semantic-desktop session smp solid spell sse sse2 
ssl ssse3
startup-notification svg svga symlink sysfs taglib tcpd theora 
threads tiff
truetype udev unicode usb v4l2 vaapi virtuoso vorbis wifi wpd 
wv2 x264 x86
xattr xcb xcomposite xine xinerama xml xorg xulrunner xv xvid 
xvmc zeroconf
zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev synaptics" 
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 
lcdm001 mtxorb ncurses
text" LINGUAS="en" RUBY_TARGETS="ruby18" 
SANE_BACKENDS="hp" USERLAND="GNU"
VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, FFLAGS, 
INSTALL_MASK, LANG,
LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

The failing packages are gstreamer, glib, gtk+ (that's at least 
the ones i stumbled upon, if you need me to test some more i 
can do that)


Compilling glib fails when linking (as does gstreamer):

.libs/gvariant.o .libs/gvariant-core.o .libs/gvariant-parser.o
.libs/gvariant-serialiser.o .libs/gvarianttypeinfo.o 
.libs/gvarianttype.o
.libs/gprintf.o .libs/giounix.o .libs/gspawn.o   
libcharset/.libs/libcharset.a
pcre/.libs/libpcre.a |  | /bin/sed 's/.* //' | sort | uniq >
.libs/libglib-2.0.exp'
../libtool: line 964: warning: syntax errors in . or eval will cause 
future
versions of the shell to abort as Posix requires
make[4]: *** [libglib-2.0.la] Error 1
make[4]: Leaving directory
`/dev/shm/portage/dev-libs/glib-2.24.1/work/glib-2.24.1/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/dev/shm/portage/dev-libs/glib-2.24.1/work/glib-2.24.1/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/dev/shm/portage/dev-libs/glib-2.24.1/work/glib-2.24.1/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/dev/shm/portage/dev-libs/glib-2.24.1/work/glib-2.24.1'
make: *** [all] Error 2
 * ERROR: dev-libs/glib-2.24.1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2980:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info
=dev-libs/glib-2.24.1',
 * the complete build log and the output of 'emerge -pqv
=dev-libs/glib-2.24.1'.
 * The complete build log is located at
'/dev/shm/portage/dev-libs/glib-2.24.1/temp/build.log'.
 * The ebuild environment file is located at
'/dev/shm/portage/dev-libs/glib-2.24.1/temp/environment'.
 * S: '/dev/shm/portage/dev-libs/glib-2.24.1/work/glib-2.24.1'

>>> Failed to emerge dev-libs/glib-2.24.1, Log file:



GSTREAMER:

gstreamer_0.10_la-gstquery.o .libs/libgstreamer_0.10_la-
gstregistry.o
.libs/libgstreamer_0.10_la-gstregistrychunks.o
.libs/libgstreamer_0.10_la-gstsegment.o
.libs/libgstreamer_0.10_la-gststructure.o
.libs/libgstreamer_0.10_la-gstsystemclock.o
.libs/libgstreamer_0.10_la-gsttaglist.o
.libs/libgstreamer_0.10_la-gsttagsetter.o 
.libs/libgstreamer_0.10_la-gsttask.o
.libs/libgstreamer_0.10_la-gsttaskpool.o 
.libs/libgstreamer_0.10_la-gsttrace.o
.libs/libgstreamer_0.10_la-gsttypefind.o
.libs/libgstreamer_0.10_la-gsttypefindfactory.o
.libs/libgstreamer_0.10_la-gsturi.o .libs/libgstreamer_0.10_la-
gstutils.o
.libs/libgstreamer_0.10_la-gstvalue.o .libs/libgstreamer_0.10_la-
gstparse.o
.libs/libgstreamer_0.10_la-gstregistrybinary.o
.libs/libgstreamer_0.10_la-gstxml.o .libs/libgstreamer_0.10_la-
gstenumtypes.o
.libs/libgstreamer_0.10_la-gstmarshal.o   
parse/.libs/libgstparse.a |  |
/bin/sed 's/.* //' | sort | uniq > .libs/libgstreamer-0.10.exp'
../libtool: line 950: warning: syntax errors in . or eval will cause 
future
versions of the shell to abort as Posix requires
make[4]: *** [libgstreamer-0.10.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * ERROR: media-libs/gstreamer-0.10.28 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2549:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info
=media-libs/gstreamer-0.10.28',
 * the complete build log and the output of 'emerge -pqv
=media-libs/gstreamer-0.10.28'.
 * The complete build log is located at
'/dev/shm/portage/media-
libs/gstreamer-0.10.28/temp/build.log'.
 * The ebuild environment file is located at
'/dev/shm/portage/media-
libs/gstreamer-0.10.28/temp/environment'.
 * S: '/dev/shm/portage/media-
libs/gstreamer-0.10.28/work/gstreamer-0.10.28'

>>> Failed to emerge media-libs/gstreamer-0.10.28, Log file:


Please inform me what additional informations you would 
require (some additional debug flags or something like that). 
Thanks







reply via email to

[Prev in Thread] Current Thread [Next in Thread]