(This was after doing "(cd /usr/lib; ln -sv x86_64-linux-gnu/*.o .)"
to work around upstream GCC not supporting multiarch.) Once that was
done building, `pwd`/gcc/xgcc -B`pwd`/gcc -c /tmp/s_isnan.i -o
/tmp/s_isnan.o worked fine from the build directory, whereas gcc -c
/tmp/s_isnan.i -o /tmp/s_isnan.o reproduced the error. So it looks
like this is most likely an issue introduced by one of the
Debian-specific patches. (Also, it's a regression from Debian
gcc-4.6, which can compile the same preprocessed source without error.
I've also verified gcc-4.6 can build all of glibc git master without
error.)
Attaching the preprocessed s_isnan.i file.
--
Daniel Schepler
07-01-2012, 10:46 PM
Jonathan Nieder
Bug#678589: gcc-4.7: Fails to build glibc (git master) : '__EI___isnan' aliased to external symbol '__GI___isnan'
Hi,
Daniel Schepler wrote:
> When I try to build glibc, the git master branch, on Debian sid amd64,
> I get this error:
[...]
> ../sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c:30:1: error: '__EI___isnan' aliased to external symbol '__GI___isnan'
[...]
> I tried building upstream GCC 4.7.1 with a configuration as close as
> possible to Debian's:
[...]
> Once that was
> done building, `pwd`/gcc/xgcc -B`pwd`/gcc -c /tmp/s_isnan.i -o
> /tmp/s_isnan.o worked fine from the build directory
As mentioned in /usr/share/doc/gcc-4.7/README.Debian.<arch>.gz, gcc
4.7.1-1 had some later changes from the 4.7 branch applied, if I
remember correctly, which could account for the difference.
How does 4.7.1-2 do?
Curious,
Jonathan
--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120701224654.GA3987@burratino
07-02-2012, 04:53 PM
Daniel Schepler
Bug#678589: gcc-4.7: Fails to build glibc (git master) : '__EI___isnan' aliased to external symbol '__GI___isnan'
On Sun, Jul 1, 2012 at 3:46 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> How does 4.7.1-2 do?
>
> Curious,
> Jonathan
Still fails.
--
Daniel Schepler
--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CADf0C461Q_f_uVHPDfA=LOU0OV8iJG38PUwD8pbCRHQKsEtbc Q@mail.gmail.com