Displaying 1 result from an estimated 1 matches for "funique".
Did you mean:
unique
2015 Apr 18
4
[LLVMdev] [lld] Linker cannot handle sections with non-unique names
...lang++ -c test.cc -fno-unique-section-names
$ lld -flavor gnu -target x86_64 --hash-style=both --build-id \
--eh-frame-hdr -m elf_x86_64 \
-dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out \
<bunch of regular linker arguments here>
$ ./a.out
Illegal instruction
$ clang++ -c test.cc -funique-section-names
$ lld -flavor gnu -target x86_64 --hash-style=both --build-id \
--eh-frame-hdr -m elf_x86_64 \
-dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out \
<bunch of regular linker arguments here>
$ ./a.out
--
Simon Atanasyan