[llvm-bugs] [Bug 40542] New: unsupported flag -n

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 30 17:55:56 PST 2019


            Bug ID: 40542
           Summary: unsupported flag -n
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: grimar at accesssoftek.com, llvm-bugs at lists.llvm.org,
                    peter.smith at linaro.org, ruiu at google.com,
                    srhines at google.com

The arm64 linux kernel vdso Makefile makes use of `$(CC) -Wl,-n` when linking. 
This produces an error when trying to link with ld.lld.

I can link without it, but I'm unsure of the implications of turning it off. 
The man page for bfd suggests that sections will be page aligned, so I'm
guessing that's going to create a larger object than needed?

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/20190131/645d9822/attachment.html>

More information about the llvm-bugs mailing list