Displaying 1 result from an estimated 1 matches for "lsection_eh_frame0".
Did you mean:
lsection_eh_frame
2010 Oct 27
1
[LLVMdev] 64-bit binaries and the Solaris linker
...t2: 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 file:
[...]
.section .eh_frame,"aw", at progbits
.LEH_frame0:
.Lsection_eh_frame0:
.Leh_frame_common0:
[...]
I've made a quick patch to llvm to emit a proper section header and
successfully got llvm+clang compile binaries on Solaris. Patch is
attached. Note that the attached patch is not meant at all to be a
final patch, since it would quite clearly break any other linker...