Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281864 - media-libs/giflib-4.1.6-r1 fails to build (ld:.libs/dev2gif.o:1: syntax error)
Summary: media-libs/giflib-4.1.6-r1 fails to build (ld:.libs/dev2gif.o:1: syntax error)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-18 06:12 UTC by Vladimir Rusinov
Modified: 2009-08-18 07:31 UTC (History)
0 users

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


Attachments
build log with FEATURES="ccache" (build.log,18.91 KB, text/plain)
2009-08-18 07:00 UTC, Vladimir Rusinov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Rusinov 2009-08-18 06:12:29 UTC
# emerge -v1 =media-libs/giflib-4.1.6-r1
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-libs/giflib-4.1.6-r1 [4.1.6] USE="X -rle" 0 kB

<snip>
i686-pc-linux-gnu-ar cru libgetarg.a getarg.o
i686-pc-linux-gnu-ranlib libgetarg.a
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -Wall -MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c quantize.c -o quantize.o >/dev/null 2>&1
mv -f .deps/quantize.Tpo .deps/quantize.Plo
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -Wall -version-info 5:6:1  -o libgif.la -rpath /usr/lib dev2gif.lo dgif_lib.lo egif_lib.lo gif_err.lo gif_font.lo gif_hash.lo gifalloc.lo qprintf.lo quantize.lo -lSM -lICE   -lX11  -lSM -lICE   -lX11
i686-pc-linux-gnu-gcc -shared  .libs/dev2gif.o .libs/dgif_lib.o .libs/egif_lib.o .libs/gif_err.o .libs/gif_font.o .libs/gif_hash.o .libs/gifalloc.o .libs/qprintf.o .libs/quantize.o  /usr/lib/libSM.so -L/usr/lib /usr/lib/libICE.so /usr/lib/libX11.so  -march=native -mtune=native -Wl,-soname -Wl,libgif.so.4 -o .libs/libgif.so.4.1.6
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/bin/ld:.libs/dev2gif.o: file format not recognized; treating as linker script
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/bin/ld:.libs/dev2gif.o:1: syntax error
collect2: ld returned 1 exit status


Reproducible: Always

Steps to Reproduce:




# ld -V
GNU ld version 2.16.1
  Supported emulations:
   elf_i386
   i386linux
   elf_x86_64
# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2-r3 p1.6, pie-10.1.5'
Thread model: posix
gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5)


# emerge --info
Portage 2.1.6.13 (!/var/lib/gmos/portage/gmos-linux/profiles/gmos/x86/desktop/kde/, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4_gmos_desktop i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4_gmos_desktop-i686-Intel-R-_Pentium-R-_Dual_CPU_T2390_@_1.86GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 17 Aug 2009 09:15:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -mtune=native -pipe -fomit-frame-pointer"
DISTDIR="/var/lib/greenmice/distfiles/"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.greenmice.info/ http://downloads.greenmice.info/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="ru_RU.UTF8"
LDFLAGS=""
LINGUAS="ru en en_US"
MAKEOPTS="-j2"
PKGDIR="/var/lib/greenmice/pakaches/base/"
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="/tmp"
PORTDIR="/var/lib/gmos/portage/gentoo/"
PORTDIR_OVERLAY="/var/lib/gmos/portage/gmos-linux"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa amarok amazon apache2 apm berkdb bluetooth branding bzip2 cairo cddb cdparanoia cli connectionstatus cpudetection cracklib crypt cups daap dbus dcpp djvu dri dvd dvdr dvdread emoticons-manager encode exif fam firefox flac foomaticdb fortran gdbm genkernel gif gimp gmos_desktop gnokii gnutls hal history iconv ifp im inotify ipod irc isdnlog ithreads jabber jingle jpeg kde kipi koffice laptop lm_sensors lzma madwifi media midi mmx mng mp2 mp3 mp4 mpeg mplayer mtp mudflap musepack musicbrainz ncurses networkmanager nforce2 njb nls nowlistening nptl nptlonly nsplugin ntp nvidia office ogg opengl openmp openoffice oscar pam pcre pdf perl php pmu png ppds pppd python qt3 qt4 raw rdesktop readline reflection reiserfs removable rtc samba sametime sdl session slang sound spell spl sse sse2 ssl statistics svg svn symlink tagging tcpd templates theora threads threadsafe tiff translator truetype unicode unrar usb vcd vhosts vim-syntax vorbis wavpack wine wmf x264 x86 xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1         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 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 deflate dir env expires ext_filter filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en en_US" USERLAND="GNU" VIDEO_CARDS="intel vga vesa i810"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-08-18 06:28:26 UTC
Could you please provide the full build.log?
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2009-08-18 06:30:32 UTC
And output of emerge -vp sys-devel/libtool
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2009-08-18 06:36:20 UTC
(In reply to comment #2)
> And output of emerge -vp sys-devel/libtool
> 

Forget about this.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2009-08-18 06:43:23 UTC
Try without ccache in FEATURES.
Comment 5 Vladimir Rusinov 2009-08-18 06:58:13 UTC
Oh, I forgot about ccache.

Is it ccache bug? I'll attache build.log, may be it will be somehow useful.
Comment 6 Vladimir Rusinov 2009-08-18 06:58:58 UTC
Builds fine without ccache.
Comment 7 Vladimir Rusinov 2009-08-18 07:00:22 UTC
Created attachment 201583 [details]
build log with FEATURES="ccache"
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-08-18 07:31:52 UTC
There isn't much we can do to prevent ccache issues. Closing, since it works for you now.