Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90586 - (hardened ?) gcc-3.4.3-20050110 fails to build glibc-2.3.5 on ppc
Summary: (hardened ?) gcc-3.4.3-20050110 fails to build glibc-2.3.5 on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 01:05 UTC by Olivier Castan
Modified: 2005-12-12 07:40 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 Olivier Castan 2005-04-27 01:05:29 UTC
The build fails with :
 * Configuring GLIBC for linuxthreads with:  --with-tls --with-__thread --enable-add-ons=linuxthreads,c_stubs,libidn --enable-kernel=2.4.1
                --without-cvs
                --enable-bind-now
                --build=powerpc-unknown-linux-gnu
                --host=powerpc-unknown-linux-gnu
                --disable-profile
                --without-gd
                --with-headers=/usr/include
                --prefix=/usr
                --mandir=/usr/share/man
                --infodir=/usr/share/info
                --libexecdir=/usr/lib/misc/glibc
[...]
powerpc-unknown-linux-gnu-gcc newlocale.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -mcpu=7400 -pipe -mnew-mnemonics     -DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"' -DLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"' -DCHARMAP_PATH='"/usr/share/i18n/charmaps"' -DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"' -DLOCSRCDIR='"/usr/share/i18n/locales"' -DHAVE_CONFIG_H -Iprograms -I../include -I. -I/home/portage/tmp/portage/glibc-2.3.5/work/build-default-powerpc-unknown-linux-gnu-linuxthreads/locale -I.. -I../libio  -I/home/portage/tmp/portage/glibc-2.3.5/work/build-default-powerpc-unknown-linux-gnu-linuxthreads -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../linuxthreads/sysdeps/unix/sysv/linux/powerpc -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc/powerpc32 -I../linuxthreads/sysdeps/powerpc -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32/fpu -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC     -o /home/portage/tmp/portage/glibc-2.3.5/work/build-default-powerpc-unknown-linux-gnu-linuxthreads/locale/newlocale.o -MD -MP -MF /home/portage/tmp/portage/glibc-2.3.5/work/build-default-powerpc-unknown-linux-gnu-linuxthreads/locale/newlocale.o.dt -MT /home/portage/tmp/portage/glibc-2.3.5/work/build-default-powerpc-unknown-linux-gnu-linuxthreads/locale/newlocale.o
In file included from ../socket/sys/socket.h:27,
                 from ../include/sys/socket.h:2,
                 from ../inet/netinet/in.h:24,
                 from ../include/netinet/in.h:3,
                 from ../resolv/resolv.h:57,
                 from ../include/resolv.h:11,
                 from ../linuxthreads/descr.h:19,
                 from ../linuxthreads/sysdeps/powerpc/tls.h:130,
                 from ../include/tls.h:6,
                 from ../include/errno.h:22,
                 from ../string/argz.h:26,
                 from ../include/argz.h:3,
                 from newlocale.c:22:
../include/sys/uio.h:5: warning: `altivec' attribute ignored
../include/sys/uio.h:7: warning: `altivec' attribute ignored
../include/sys/uio.h:9: warning: `altivec' attribute ignored
../include/sys/uio.h:11: warning: `altivec' attribute ignored
{standard input}: Assembler messages:
{standard input}:190: Error: symbol `.LTLS0' is already defined
make[2]: *** [/home/portage/tmp/portage/glibc-2.3.5/work/build-default-powerpc-unknown-linux-gnu-linuxthreads/locale/newlocale.o] Error 1

Found another reference to .LTLS0 on the net leading to a gcc bug :
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20611

Reproducible: Always
Steps to Reproduce:




# gcc-config -l
[1] powerpc-unknown-linux-gnu-3.3.3
[2] powerpc-unknown-linux-gnu-3.4.3-20050110 *
[3] powerpc-unknown-linux-gnu-3.4.3-20050110-hardenednopie
[4] powerpc-unknown-linux-gnu-3.4.3-20050110-hardenednossp
[5] powerpc-unknown-linux-gnu-3.4.3-20050110-vanilla

# emerge info
Portage 2.0.51.20-r5 (default-linux/ppc/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 ppc)
=================================================================
System uname: 2.6.11-gentoo-r6 ppc 7455, altivec supported
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r4
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/home/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://mir.zyrianes.net/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 a52 aac aalib alsa altivec async bash-completion berkdb bitmap-fonts
bonobo cdda cddb cdio cdparanoia cdr chroot crypt cups curl dga dillo directfb
dlloader dts dv dvd dvdr dvdread edl emboss encode erandom esd exif faac faad
fam fb fbcon ffmpeg fla flac foomaticdb fortran freetype gd gdbm ggi gif
gimpprint gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal hardened
imagemagick imlib java javascript jp2 jpeg lcms libcaca live lzo lzw lzw-tiff
mad mailwrapper matroska md5sum mime mjpeg mng motif mozilla moznocompose
moznoirc moznomail mozsvg mp3 mpeg mpeg4 mplayer ncurses network nls nptl ntlm
odbc offensive ogg opengl pam pdflib perl pg-hier physfs pic pie png ppc ppds
pthreads python quicktime radeon readline rtc sdl session sftplogging slang
smime speex spell ssl stencil-buffer svg tcltk tcpd tga theora tiff truetype
truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vorbis wmf
xanim xface xine xml xml2 xmms xosd xpm xprint xv xvid zlib video_cards_radeon"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 18:47:53 UTC
Is this still an issue for you with the latest stable gcc and binutils?
Comment 2 Olivier Castan 2005-12-12 07:39:02 UTC
Sorry, it has been corrected a long time ago.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-12-12 07:40:26 UTC
Reopening...
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2005-12-12 07:40:36 UTC
to mark fixed.