Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237831 - x11-misc/google-gadgets-0.10.2 - ./.libs/libggadget-linux.a(libggadget_linux_la-machine.o) in archive is not an object when -march=nocona is used
Summary: x11-misc/google-gadgets-0.10.2 - ./.libs/libggadget-linux.a(libggadget_linux_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Alfredsen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 12:04 UTC by Pacho Ramos
Modified: 2008-09-25 19:38 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 Pacho Ramos gentoo-dev 2008-09-16 12:04:43 UTC
I get the following:
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/crtbeginS.o  .libs/linux_system_framework_la-linux_system_framework.o -Wl,--whole-archive ./.libs/libggadget-linux.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/ggadget/.libs -Wl,--rpath -Wl,/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/ggadget/xdg/.libs -Wl,--rpath -Wl,/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/ggadget/dbus/.libs -L/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/ggadget/.libs ../../ggadget/.libs/libggadget-1.0.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64 /var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/ggadget/xdg/.libs/libggadget-xdg-1.0.so -L/usr/lib64 /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/ggadget/dbus/.libs/libggadget-dbus-1.0.so /usr/lib64/libdbus-1.so /var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/ggadget/.libs/libggadget-1.0.so /usr/lib64/libltdl.so -ldl -lz ../../ggadget/dbus/.libs/libggadget-dbus-1.0.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/crtn.o  -march=nocona -Wl,-O1 -Wl,-soname -Wl,linux-system-framework.so -o .libs/linux-system-framework.so
./.libs/libggadget-linux.a: member ./.libs/libggadget-linux.a(libggadget_linux_la-machine.o) in archive is not an object
collect2: ld returned 1 exit status
make[4]: *** [linux-system-framework.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/extensions/linux_system_framework'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/extensions/linux_system_framework'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work/google-gadgets-for-linux-0.10.2'
make: *** [all] Error 2
 * 
 * ERROR: x11-misc/google-gadgets-0.10.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2238:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-misc/google-gadgets-0.10.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/google-gadgets-0.10.2/temp/environment'.

Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-tuxonice x86_64)
=================================================================
System uname: 2.6.26-tuxonice x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz
Timestamp of tree: Tue, 16 Sep 2008 09:34:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
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.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer"
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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups daap dbus dell divx djvu dts dvd dvdr dvdread dvi eds emboss emovix encode epiphany evo exif fam fbcondecor fbsplash ffmpeg flac fortran fuse galago gdbm gif glitz gmedia gnome gnome-keyring gpm gstreamer gtk hal iconv ieee1394 ipv6 isdnlog java jpeg kdeenablefinal kdehiddenvisibility kpathsea ladspa laptop latex lcms ldap libnotify lirc lzma mad midi mikmod mjpeg mmx mono moonlight mp3 mpeg mudflap multilib musepack musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ogg opengl openmp pam pch pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection scanner sdl session smp speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd theora threads tiff totem truetype unicode usb vcd vorbis wmf wmp xattr xcb xft xinetd xml xorg xulrunner xv xvid 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" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-16 12:56:20 UTC
Does it help to set MAKEOPTS=-j1 ?
Comment 2 Pacho Ramos gentoo-dev 2008-09-16 16:07:08 UTC
(In reply to comment #1)
> Does it help to set MAKEOPTS=-j1 ?
> 

It fails at same stage, anyway, thanks for the hint (I will try next time) :-)
Comment 3 Pacho Ramos gentoo-dev 2008-09-20 16:27:04 UTC
It's because of -march=nocona
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-24 19:18:56 UTC
(In reply to comment #3)
> It's because of -march=nocona

Have you tried this with gcc-4.2 or gcc-4.3?
Comment 5 Pacho Ramos gentoo-dev 2008-09-25 07:32:32 UTC
No, I am using stable version of gcc :-/, should I try?
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-25 07:51:22 UTC
I'd say it couldn't hurt. It's obviously a gcc bug, so it may have been solved in later versions.
Comment 7 Pacho Ramos gentoo-dev 2008-09-25 17:46:55 UTC
Seems to be fixed in gcc-4.2.4, I haven't tested with gcc-4.3* because they require update to glibc >= 2.7 and I prefer keep with "stable" glibc (I had serius problems with a glibc update years ago with other distribution, I know that it shouldn't occur again but...)

Anyway, I expect that, as it's fixed with 4.2.4 it will be hopefully fixed also in 4.3
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-25 19:38:13 UTC
Marking as fixed, then.