This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gold on trunk breaks aarch64- and arm32-linux (Re: [gold][PATCH] PR gold/19119: Gold accepts bogus target emulation)


On 15.10.2015 17:57, Cary Coutant wrote:
         PR gold/19119
         * options.h (General_options): Remove "obsolete" from -m.

I'm a little reluctant to remove "obsolete" from the description --
maybe "deprecated" instead?

         * parameters.cc (set_parameters_target): Check if input target
         is compatible with output emulation set by "-m emulation".

This is OK. Thanks!

hmm, this breaks any released gcc on aarch64-linux-gnu and arm-linux-gnueabi*

$ gcc -fuse-ld=gold foo.c
/usr/bin/ld.gold: error: unrecognised output emulation: aarch64linux
collect2: error: ld returned 1 exit status

$ gcc -fuse-ld=gold foo.c
/usr/bin/ld.gold: error: unrecognised output emulation: armelf_linux_eabi
collect2: error: ld returned 1 exit status

Matthias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]