[cfe-commits] r118382 - in /cfe/trunk: include/clang/Driver/Options.td lib/Driver/ToolChains.cpp lib/Driver/ToolChains.h lib/Driver/Tools.cpp lib/Driver/Tools.h test/Driver/emit-llvm.c test/Driver/sysroot-flags.c

İsmail Dönmez ismail at namtrac.org
Mon Nov 8 02:51:29 PST 2010


Hi;

On Mon, Nov 8, 2010 at 12:40 PM, Frits van Bommel <fvbommel at gmail.com>wrote:

> On Mon, Nov 8, 2010 at 11:25 AM, İsmail Dönmez <ismail at namtrac.org> wrote:
> > As far as I know "-z,relro" should work too.
>
> I just tried this: it works with regular ld, but not with gold:
>
> $ ld test.o -o test -z,relro -lc
> ld: ,relro: unknown -z option
> ld: use the --help option for usage information
> $ ld test.o -o test -z relro -lc
> $ ld --version
> GNU gold (GNU Binutils for Ubuntu 2.20.1-system.20100303) 1.9
> [...]
>

Thanks for testing it, looks like gold is seriously broken while parsing
command line :-)

Regards,
ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101108/025ec975/attachment.html>


More information about the cfe-commits mailing list