Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113089 - Bug in gnu "as" in the ANY new binutils (even CVS HEAD version) if emerge cairo
Summary: Bug in gnu "as" in the ANY new binutils (even CVS HEAD version) if emerge cairo
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-20 08:25 UTC by Alexey Maximov
Modified: 2005-12-02 14:28 UTC (History)
0 users

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


Attachments
.i file (fbpict.i.bz2,16.65 KB, application/x-bzip)
2005-11-20 08:32 UTC, Alexey Maximov
Details
.s file (fbpict.s.bz2,34.29 KB, application/x-bzip)
2005-11-20 08:33 UTC, Alexey Maximov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Maximov 2005-11-20 08:25:49 UTC
in this example you can see bugs with cairo and binutils 
 
============================================================================
 
localhost portage # binutils-config -l
 [1] i686-pc-linux-gnu-2.16.1
 [2] i686-pc-linux-gnu-2.16.91.0.3 *
 [3] i686-pc-linux-gnu-2.16.91.0.4
localhost portage # binutils-config 3
 * Switching to i686-pc-linux-gnu-2.16.91.0.4 ...                              
                                       [ ok ]>>> Regenerating /etc/ld.so.cache...
 
 * Please remember to run:
 
 *   # source /etc/profile
 
localhost portage # source /etc/profile
localhost portage # as --version
GNU assembler 2.16.91.0.4 20051111
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-linux-gnu'.
localhost portage # emerge cairo
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/cairo-1.0.2 to /
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2'
Making all in pixman
make[2]: Entering directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman'
Making all in src
make[3]: Entering directory
`/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman/src'
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.     -march=k8 -O2 -g -pipe
-Wno-error -MT pixregion.lo -MD -MP -MF ".deps/pixregion.Tpo" -c -o pixregion.lo
pixregion.c; \
then mv -f ".deps/pixregion.Tpo" ".deps/pixregion.Plo"; else rm -f
".deps/pixregion.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT pixregion.lo -MD -MP -MF .deps/pixregion.Tpo -c
pixregion.c  -fPIC -DPIC -o .libs/pixregion.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT pixregion.lo -MD -MP -MF .deps/pixregion.Tpo -c
pixregion.c -o pixregion.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.     -march=k8 -O2 -g -pipe
-Wno-error -MT fbpict.lo -MD -MP -MF ".deps/fbpict.Tpo" -c -o fbpict.lo fbpict.c; \
then mv -f ".deps/fbpict.Tpo" ".deps/fbpict.Plo"; else rm -f ".deps/fbpict.Tpo";
exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT fbpict.lo -MD -MP -MF .deps/fbpict.Tpo -c fbpict.c 
-fPIC -DPIC -o .libs/fbpict.o
{standard input}: Assembler messages:
{standard input}:8381: Error: symbol `_cairo_pixman_composite' is already defined
make[3]: *** [fbpict.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2'
make: *** [all] Error 2
 
!!! ERROR: x11-libs/cairo-1.0.2 failed.
!!! Function src_compile, Line 58, Exitcode 2
 
============================================================================
OOOOPS! ;-)
 
Trying change binutils to more old (BUG present even with HEAD binutils)
 
============================================================================
localhost portage # binutils-config -l
 [1] i686-pc-linux-gnu-2.16.1
 [2] i686-pc-linux-gnu-2.16.91.0.3
 [3] i686-pc-linux-gnu-2.16.91.0.4 *
localhost portage # binutils-config 2
 * Switching to i686-pc-linux-gnu-2.16.91.0.3 ...                              
                                       [ ok ]>>> Regenerating /etc/ld.so.cache...
 
 * Please remember to run:
 
 *   # source /etc/profile
 
localhost portage # source /etc/profile
localhost portage # emerge cairo
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/cairo-1.0.2 to /
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2'
Making all in pixman
make[2]: Entering directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman'
Making all in src
make[3]: Entering directory
`/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman/src'
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.     -march=k8 -O2 -g -pipe
-Wno-error -MT pixregion.lo -MD -MP -MF ".deps/pixregion.Tpo" -c -o pixregion.lo
pixregion.c; \
then mv -f ".deps/pixregion.Tpo" ".deps/pixregion.Plo"; else rm -f
".deps/pixregion.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT pixregion.lo -MD -MP -MF .deps/pixregion.Tpo -c
pixregion.c  -fPIC -DPIC -o .libs/pixregion.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT pixregion.lo -MD -MP -MF .deps/pixregion.Tpo -c
pixregion.c -o pixregion.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.     -march=k8 -O2 -g -pipe
-Wno-error -MT fbpict.lo -MD -MP -MF ".deps/fbpict.Tpo" -c -o fbpict.lo fbpict.c; \
then mv -f ".deps/fbpict.Tpo" ".deps/fbpict.Plo"; else rm -f ".deps/fbpict.Tpo";
exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT fbpict.lo -MD -MP -MF .deps/fbpict.Tpo -c fbpict.c 
-fPIC -DPIC -o .libs/fbpict.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT fbpict.lo -MD -MP -MF .deps/fbpict.Tpo -c fbpict.c -o
fbpict.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.     -march=k8 -O2 -g -pipe
-Wno-error -MT icblt.lo -MD -MP -MF ".deps/icblt.Tpo" -c -o icblt.lo icblt.c; \
then mv -f ".deps/icblt.Tpo" ".deps/icblt.Plo"; else rm -f ".deps/icblt.Tpo";
exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT icblt.lo -MD -MP -MF .deps/icblt.Tpo -c icblt.c  -fPIC
-DPIC -o .libs/icblt.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT icblt.lo -MD -MP -MF .deps/icblt.Tpo -c icblt.c -o
icblt.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.     -march=k8 -O2 -g -pipe
-Wno-error -MT icbltone.lo -MD -MP -MF ".deps/icbltone.Tpo" -c -o icbltone.lo
icbltone.c; \
then mv -f ".deps/icbltone.Tpo" ".deps/icbltone.Plo"; else rm -f
".deps/icbltone.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -pipe -Wno-error -MT icbltone.lo -MD -MP -MF .deps/icbltone.Tpo -c icbltone.c
 -fPIC -DPIC -o .libs/icbltone.o
 
 
============================================================================
All OK!!!!!!!!!!


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
localhost binutils # emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-4.1.0-beta20051113,
glibc-2.3.6-r1, 2.6.14-fantoo5 i686)
=================================================================
System uname: 2.6.14-fantoo5 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre10
distcc[4145] (dcc_mkdir) ERROR: mkdir /var/tmp/portage/homedir/.distcc/state
failed: No such file or directory [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1, 2.16.91.0.3, 2.16.91.0.4
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -g -pipe -Wno-error"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/media/hda9/gentoo/distfiles"
FEATURES="autoconfig distlocks nostrip prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LINGUAS="ru"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/fantoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib acl acpi adns alsa amuled ao apache2 artworkextra
asterisk atm audiofile avahi avi bash-completion berkdb bidi bitmap-fonts
bluetooth bmp boo browserplugin bzip2 cairo caps cdda cddb cdparanoia cdr cflags
chm chroot cjk corba crypt cups curl custom-cflags daap dbus debug dga dhcp
directfb djbfft djvu dlloader dri dts dv dvb dvd dvdr dvdread dxr3 dynagraph ecc
edl eds emacs encode epiphany evo exif expat extensions fame fat fbcon fbsplash
ffmpeg firefox flac flash foomaticdb freetype gcj gd gdbm ggi gif gimpprint
glitz gmail gnokii gnome gnutls gphoto2 gpm graphviz gsf gsm gstreamer gtk gtk2
gtkhtml guile hal hfs howl httpd iconv idea ieee1394 imagemagick imap imlib
innodb iproute2 irda irmc irssi ithreads jack java javascript jfs jpeg jpeg2k
kdeenablefinal kerberos kqemu ladcca ladspa lcms ldap libcaca libclamav libgda
libsamplerate lirc live lm_sensors lmtp logitech-mouse logrotate lzo mad maildir
mailwrapper maps matroska mbox mbrola md5sum mdb mh mikmod mjpeg mmx mng mod
mono motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg
mppe-mppc multislot music musicbrainz mysql nas nautilus ncurses network nntp
nocd nptl nptlonly nsplugin ntfs numeric objc odbc ogg oggvorbis openexr opengl
osc oss pam pam_console pcmcia pda pdf pdflib perl pic plotutils png pop3
portaudio postgres postscript povray ppds pwdb python qt quicktime quotas radius
rdesktop readline real reiserfs remote rtc ruby samba sametime sblive scanner
screen sdl sensord sftplogging silc skey slang slic slp smartcard sms snmp
socks5 sounds speex spell srv sse ssl stats stream svg svga sysfs syslog tcltk
tetex theora threads tidy tiff truetype truetype-fonts unicode urandom usb utf8
v4l v4l2 vcd vidix vlm vorbis webservices wifi win32codecs winbind wmf wxwindows
xanim xbase xchat xchatdccserver xfs xine xml xml2 xprint xv xvid yv12 zeroconf
zlib zvbi linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Alexey Maximov 2005-11-20 08:30:40 UTC
attaching .i and .s files

/bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.     -march=k8 -O2 -g -Wno-error -MT
fbpict.lo -MD -MP -MF ".deps/fbpict.Tpo" -c -o fbpict.lo fbpict.c -save-temps
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=k8 -O2
-g -Wno-error -MT fbpict.lo -MD -MP -MF .deps/fbpict.Tpo -c fbpict.c -save-temps
 -fPIC -DPIC -o .libs/fbpict.o
fbpict.s: Assembler messages:
fbpict.s:8381: Error: symbol `_cairo_pixman_composite' is already defined

Comment 2 Alexey Maximov 2005-11-20 08:32:55 UTC
Created attachment 73248 [details]
.i file
Comment 3 Alexey Maximov 2005-11-20 08:33:40 UTC
Created attachment 73249 [details]
.s file
Comment 4 SpanKY gentoo-dev 2005-12-02 14:28:18 UTC
unable to reproduce on any of my machines