HA: [ELF2] Revert of r250775

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 09:23:37 PDT 2015


Loos like it is -z relro (but I didn`t check what will be if ignore it, probably there are other ones also):
Full log is below:

CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "/home/umb/LLVM/build/bin/clang" is not able to compile a
  simple test program.
  It fails with the following output:
   Change Dir: /home/umb/LLVM/build_selfhost/CMakeFiles/CMakeTmp
  Run Build Command:"/usr/local/bin/ninja" "cmTryCompileExec2295796968"
  [1/2] Building C object
 CMakeFiles/cmTryCompileExec2295796968.dir/testCCompiler.c.o
  [2/2] Linking C executable cmTryCompileExec2295796968
  FAILED: : && /home/umb/LLVM/build/bin/clang -fuse-ld=lld2
  CMakeFiles/cmTryCompileExec2295796968.dir/testCCompiler.c.o -o
  cmTryCompileExec2295796968 -rdynamic && :
  relro: unknown -z option
  clang-3.8: error: linker command failed with exit code 1 (use -v to see
  invocation)
  ninja: build stopped: subcommand failed.

>От: Davide Italiano [davide.italiano at gmail.com]
>Отправлено: 20 октября 2015 г. 20:04
>Кому: George Rimar
>Копия: llvm-commits; Davide Italiano
>Тема: Re: [ELF2] Revert of r250775
>
>On Oct 20, 2015 2:04 AM, "George Rimar via llvm-commits" <llvm-commits at lists.llvm.org<mailto:llvm-commits at lists.llvm.org>> wrote:
>>
>> Hi !
>>
>> I had to revert r250775 since it broke self-hosting on linux x64. Sorry.
>>
>> Best regards,
>> George.
>>
>
>Sorry to hear that George.
>I guess this is because of unimplemented ld option(s) used during self-host. Do you have a log of the failure? I'll take a look at it later today.



More information about the llvm-commits mailing list