[lfs-support] glibc 2.16.0 don't compile with gcc 4.7.1

Adrien Vasseur lanquemar at gmail.com
Wed Oct 24 10:23:31 PDT 2012


So I have :

bash, version 4.2.37(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.22.90.20120924
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 4.0.1
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
(Ubuntu EGLIBC 2.15-0ubuntu20) 2.15
grep (GNU grep) 2.12
gzip 1.5
Linux version 3.5.0-17-generic (buildd at allspice) (gcc version 4.7.2
(Ubuntu/Linaro 4.7.2-2ubuntu1) ) #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.1.0alpha
gcc compilation OK

And it doesn't work :

gcc ../sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c -c -std=gnu99
-fgnu89-inline -fno-stack-protector -O2 -Wall -Winline -Wwrite-strings
-fmerge-all-constants -frounding-math -g -Wstrict-prototypes   -fPIC
-Wno-uninitialized -U_FORTIFY_SOURCE  -D__NO_MATH_INLINES
-D__LIBC_INTERNAL_MATH_INLINES -I../include
-I/mnt/lfs/sources/glibc-build/math -I/mnt/lfs/sources/glibc-build
-I../sysdeps/unix/sysv/linux/x86_64/64/nptl
-I../sysdeps/unix/sysv/linux/x86_64/64
-I../nptl/sysdeps/unix/sysv/linux/x86_64
-I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86
-I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../nptl/sysdeps/x86_64/64
-I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch
-I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch
-I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/x86
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic
-I../nptl  -I.. -I../libio -I. -nostdinc -isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/include -isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed -isystem /tools/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -o
/mnt/lfs/sources/glibc-build/math/s_isnan.os -MD -MP -MF
/mnt/lfs/sources/glibc-build/math/s_isnan.os.dt -MT
/mnt/lfs/sources/glibc-build/math/s_isnan.os
../sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c:30:1: error: '__EI___isnan'
aliased to external symbol '__GI___isnan'
make[2]: *** [/mnt/lfs/sources/glibc-build/math/s_isnan.os] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.16.0/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.16.0'
make: *** [all] Error 2

I don't know why xD

Thanks !

2012/10/24 Bruce Dubbs <bruce.dubbs at gmail.com>

> Adrien Vasseur wrote:
> > Wow ! Very fast reply !
> >
> > I run the script in the Host System Prerequisites and I have :
> >
> > bash, version 4.2.37(1)-release
> > /bin/sh -> /bin/dash
> > Binutils: (GNU Binutils for Ubuntu) 2.22.90.20120924
> > bison (GNU Bison) 2.5
> > /usr/bin/yacc -> /usr/bin/bison.yacc
> > bzip2,  Version 1.0.6, 6-Sept-2010.
> > Coreutils:  8.13
> > diff (GNU diffutils) 3.2
> > find (GNU findutils) 4.4.2
> > GNU Awk 4.0.1
> > /usr/bin/awk -> /usr/bin/gawk
> > gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
> > (Ubuntu EGLIBC 2.15-0ubuntu20) 2.15
> > grep (GNU grep) 2.12
> > gzip 1.5
> > Linux version 3.5.0-17-generic (buildd at allspice) (gcc version 4.7.2
> > (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC
> 2012
> > m4 (GNU M4) 1.4.16
> > GNU Make 3.81
> > patch 2.6.1
> > Perl version='5.14.2';
> > GNU sed version 4.2.1
> > tar (GNU tar) 1.26
> > Texinfo: makeinfo (GNU texinfo) 4.13
> > xz (XZ Utils) 5.1.0alpha
> > gcc compilation OK
> >
> > So I think it's all correct, no ?
>
> No.   /bin/sh -> /bin/dash is wrong.  dash is known to case problems
> with glibc.
>
>    -- Bruce
>
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20121024/00891455/attachment.html>


More information about the lfs-support mailing list