[llvm-bugs] [Bug 45630] New: lld fails to link target with `missing entry main`.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 21 06:32:46 PDT 2020


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

            Bug ID: 45630
           Summary: lld fails to link target with `missing entry main`.
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: tcanabrava at kde.org
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

Building the QGroundControl project fails with `missing entry main`,
the project builds fine with ld and gold.

The project is quite big and everything is a single binary, so compilation
might take a while.

dependencies:
Qt 5.12

clone https://github.com/mavlink/qgroundcontrol.git
cd qgroundcontrol
git submodule init
git submodule update recursive
mkdir ../build
cd ../build
qmake ../qgroundcontrol

make -jN

fais with lld, succeeds with ld or gold.

I know that I can't rely on you to install the specific versions of the
softwares so if I need to provide more information just tell me how.

-- 
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/20200421/875cbf38/attachment.html>


More information about the llvm-bugs mailing list