https://bugs.llvm.org/show_bug.cgi?id=39155
Bug ID: 39155
Summary: CLANG_ENABLE_BOOTSTRAP=On is failing with
"-fuse-ld=gold -Wl,--no-keep-files-mapped
-Wl,--no-map-whole-files"
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: sylves...@debian.org
CC: llvm-bugs@lists.llvm.org
$ cmake ../ -DCMAKE_CXX_FLAGS=' -fuse-ld=gold -Wl,--no-keep-files-mapped
-Wl,--no-map-whole-files' \
-DCLANG_ENABLE_BOOTSTRAP=On
$ make
/usr/bin/ld.gold : erreur : ../../lib/libLLVMDemangle.a(ItaniumDemangle.cpp.o)
: requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile
with -fPIC
Adding -fPIC still fails with:
/usr/bin/ld.gold: error: ../../lib/libLLVMSupport.a(regcomp.c.o): requires
unsupported dynamic reloc 11; recompile with -fPIC
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs