[llvm-dev] (Thin)LTO llvm build

Carsten Mattner via llvm-dev llvm-dev at lists.llvm.org
Sat Oct 1 14:20:26 PDT 2016


Hmm, something 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.


More information about the llvm-dev mailing list