[Bug target/52495] rs6000.c fails to (cross-) build: "=?UTF-8?Q?implicit=20declaration=20of=20function=20=E2=80=98ASM=5FWEAKEN=5FDECL=E2=80=99?="
meissner at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 16 23:14:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52495
Michael Meissner <meissner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-08-16
CC| |meissner at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Michael Meissner <meissner at gcc dot gnu.org> 2012-08-16 23:14:17 UTC ---
If the configure scripts think the cross assembler does not support .weak
symbols, the compiler will fail because it does not define ASM_WEAKEN_DECL.
Note, when I tried this on August 16th, 2012, the current head of binutils
seems broken (the archiver segfaults), but the 2_21 branch builds it fine on my
Linux system with a target of powerpc64-linux and additional targets of
powerpc-linux. Obviously the compiler should do something more appropriate if
the assembler does not support .weak symbols.
More information about the Gcc-bugs
mailing list