[llvm-bugs] [Bug 50612] New: Problem in Linking CXX shared library ../../lib/libLTO.so

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 7 23:59:56 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50612

            Bug ID: 50612
           Summary: Problem in Linking CXX shared library
                    ../../lib/libLTO.so
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: imanoj.bansal at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Created attachment 24921
  --> https://bugs.llvm.org/attachment.cgi?id=24921&action=edit
make output log (after running make second time)

Hello, I have followed the following sequence to build and make Clang Project
on my Ubuntu PC (installed with Ubuntu 20.10) - 
Step 1- git clone https://github.com/llvm/llvm-project.git
Step 2- cd llvm-project
Step 3- mkdir build
Step 4- cd build
Step 5- cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm
Step 6- make

I was able to complete cmake without any issue. 
During make process: all LLVM files are compiled except few due to missing
header files in CMakeError, and finally the program was struck during libLTO
linking process...

I have run it two times:  In the first trial program was automatically
terminated after continuing trials for 5-6 hours after displaying some error
messages. In the second trial (after enabling verbose flag), after observing
the similar situation for continuing this trial for around 3 hours, I have
terminated this program.

Please see the terminal display log as per attachment and let me know what
additional input is required.

In my PC, I have following configuration -
CMake : 3.16.3
GCC : 10.2.0
Python: 3.8.5
zlib1g: 1:1.2.11.dfsg-2ubuntu4
GNU Make: 4.3

-- 
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/20210608/6037bb9c/attachment.html>


More information about the llvm-bugs mailing list