[llvm-bugs] [Bug 39155] New: CLANG_ENABLE_BOOTSTRAP=On is failing with "-fuse-ld=gold -Wl, --no-keep-files-mapped -Wl, --no-map-whole-files"

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 2 09:15:20 PDT 2018


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: unassignedclangbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181002/45f5d425/attachment-0001.html>


More information about the llvm-bugs mailing list