Displaying 3 results from an estimated 3 matches for "cmtc_358cb".
2016 Oct 01
3
(Thin)LTO llvm build
...thing wasn't accepted in -Wl flags.
clang -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -march=x86-64 -mtune=generic
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
-Wl,--gc-sections -Wl,-plugin-opt,-function-sections
-Wl,-plugin-opt,-data-sections CMakeFiles/cmTC_358cb.dir/testCCompiler.c.o
-o cmTC_358cb && :
/usr/bin/ld: bad -plugin-opt option
clang-3.9: error: linker command failed with exit code 1 (use -v to see
invocation)
ninja: build stopped: subcommand failed.
2016 Oct 02
2
(Thin)LTO llvm build
...> clang -O2 -pipe -fstack-protector-strong
>> --param=ssp-buffer-size=4 -march=x86-64 -mtune=generic
>> -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
>> -Wl,--gc-sections -Wl,-plugin-opt,-function-sections
>> -Wl,-plugin-opt,-data-sections CMakeFiles/cmTC_358cb.dir/test
>> CCompiler.c.o
>> -o cmTC_358cb && :
>>
>> /usr/bin/ld: bad -plugin-opt option
>>
>> clang-3.9: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>>
>> ninja: build stopped: subcommand faile...
2016 Oct 01
4
(Thin)LTO llvm build
On Sat, Oct 1, 2016 at 4:40 PM, Teresa Johnson <tejohnson at google.com> wrote:
> I completely forgot to add -Wl,--gc-sections. The *-sections options enables
> gc-sections to work effectively. (edit: oh wait, it looks like you already have
> that one on your link command, so you should be set there!)
>
> Unfortunately, I just can't reproduce the DSO link error you are