Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149144 - glibc fails building with softfloat
Summary: glibc fails building with softfloat
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/bugzilla/show_b...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 00:43 UTC by Daniel Glaser
Modified: 2006-09-27 06:53 UTC (History)
0 users

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


Attachments
glibc.log.gz (cross-powerpc-softfloat-linux-gnu-glibc.log.gz,89.17 KB, application/gzip)
2006-09-27 02:55 UTC, Daniel Glaser
Details
info.log.gz (cross-powerpc-softfloat-linux-gnu-info.log.gz,1.90 KB, application/gzip)
2006-09-27 02:55 UTC, Daniel Glaser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Glaser 2006-09-26 00:43:35 UTC
Softfloat in glibc is broken. For me, this directly applies to PPC but other arches without fpu seem also affected.

This is described in bug http://sourceware.org/bugzilla/show_bug.cgi?id=2749

Patches are already available.

Perhaps thinking about adding this to the gcc ebuild.
Comment 1 SpanKY gentoo-dev 2006-09-26 15:26:45 UTC
glibc-2.3.6 should work ... lemme know when upstream gets this fixed in 2.4 so i can revisit cutting patches
Comment 2 Daniel Glaser 2006-09-27 02:55:20 UTC
Created attachment 98207 [details]
glibc.log.gz
Comment 3 Daniel Glaser 2006-09-27 02:55:56 UTC
Created attachment 98208 [details]
info.log.gz
Comment 4 Daniel Glaser 2006-09-27 03:01:07 UTC
I gave it a try with glibc-2.3.6-r4, but I'm getting an error that some symbols are already defined. 

Here are the last lines from src-compile:

powerpc-softfloat-linux-gnu-gcc ../sysdeps/unix/sysv/linux/getpeername.S -c  -I../include -I. -I/var/tmp/cross/powerpc-softfl
oat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-softfloat-linux-gnu-nptl/socket -I.. -I../libio -I../nptl -I/
var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-softfloat-linux-gnu-nptl -I../sys
deps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../nptl/sysdeps/uni
x/sysv/linux/powerpc -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/
sysv -I../nptl/sysdeps/unix -I../nptl/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/uni
x/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysd
eps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/nofpu -I../sysdeps/powerpc -
I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -no
stdinc -isystem /usr/lib/gcc/powerpc-softfloat-linux-gnu/3.4.6/include -isystem /usr/powerpc-softfloat-linux-gnu/usr/include
-D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DASSEMBLER   -Wa,--noexecstack -Wa,--noexecstac
k  -o /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-softfloat-linux-gnu-nptl/s
ocket/getpeername.o -MD -MP -MF /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-
softfloat-linux-gnu-nptl/socket/getpeername.o.dt -MT /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/b
uild-default-powerpc-softfloat-linux-gnu-nptl/socket/getpeername.o
../sysdeps/unix/sysv/linux/bind.S: Assembler messages:
../sysdeps/unix/sysv/linux/bind.S:5: Error: symbol `__bind' is already defined
make[2]: *** [/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-softfloat-linux-gn
u-nptl/socket/bind.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6/socket'
make[1]: *** [socket/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: cross-powerpc-softfloat-linux-gnu/glibc-2.3.6-r4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  glibc-2.3.6-r4.ebuild, line 1126:   Called src_compile
  glibc-2.3.6-r4.ebuild, line 1137:   Called toolchain-glibc_src_compile
  glibc-2.3.6-r4.ebuild, line 224:   Called die

For further Information, see attachments...
Comment 5 SpanKY gentoo-dev 2006-09-27 06:53:01 UTC
that is a different issue and it occurs when using binutils-2.17

ive fixed in cvs and it'll be in glibc-2.3.6-r5