[PATCH] glibc 2.7 compilation failure with GCC 4.2.x due to 486+-specific memmove() redeclaration and _FORTIFY_SOURCEry
Mike Frysinger
vapier@gentoo.org
Mon Oct 29 23:40:00 GMT 2007
On Monday 29 October 2007, Nix wrote:
> On 29 Oct 2007, Mike Frysinger verbalised:
> > ive gotten a report or two in Gentoo about it, but i havent been able to
> > reproduce it myself
>
> I don't see how to make it go away, personally. It should turn up on any
> platform that uses sysdeps/i386/i486/bits/string.h, as far as I can see.
>
> I configured this particular platform on a PIII with this shell script:
>
> #!/bin/sh
>
> unset CONFIG_SITE
> export CFLAGS="-O2 -march=native -pipe"
> export ASFLAGS="$CFLAGS"
> export LDFLAGS="-specs=specs.no-as-needed"
>
> CONFIGURE=$1
> shift
> $CONFIGURE --build=i686-pc-linux-gnu "$@"
dunno man ... i have CFLAGS="-O2 -march=i686" and targetting i686-pc-linux-gnu
and it builds for me. but i'm not doubting you as the people reported your
same failure and said your patch fixed things for them ;)
> --build-id and --as-needed by default at link time, and the latter at
> least is bad for the glibc testsuite. I have patches to allow glibc to
> build with a default-on --build-id, if you want them, but they're so
> trivial I thought nobody would care...)
i'd check cvs head and if it's still broken, post the patch
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20071029/35a17946/attachment.sig>
More information about the Libc-alpha
mailing list