Displaying 1 result from an estimated 1 matches for "lna4vk".
2010 Oct 27
1
[LLVMdev] 64-bit binaries and the Solaris linker
...is created.
llvm+clang creates it with SHT_PROGBITS and SHT_ALLOC|SHT_WRITE, while
the Solaris linker expects a SHT_AMD64_UNWIND section with SHT_ALLOC
only permissions [1]. Simple example follows:
root at markuse:/work/llvm/llvm/Debug+Asserts/bin# ./clang -o h hello.c -m64
ld: fatal: file /tmp/cc-LNa4VK.o: section [6].eh_frame: section type
is SHT_PROGBITS: expected SHT_AMD64_UNWIND
collect2: ld returned 1 exit status
clang: error: linker (via gcc) command failed with exit code 1 (use -v
to see invocation)
root at markuse:/work/llvm/llvm/Debug+Asserts/bin# ./clang -v -o h hello.c -m64
Emitted .s...