[Bug 228613] lang/nbc: build fails with lld as the system linker

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 30 18:09:35 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228613

            Bug ID: 228613
           Summary: lang/nbc: build fails with lld as the system linker
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rene at FreeBSD.org
          Reporter: emaste at freebsd.org
            Blocks: 214864
             Flags: maintainer-feedback?(rene at FreeBSD.org)
          Assignee: rene at FreeBSD.org

From
http://package18.nyi.freebsd.org/data/headamd64PR214864cxx98-default/2018-05-29_20h14m12s/logs/errors/nbc-1.2.1.r4_11.log

Linking nbc
/usr/bin/ld: error: NBCCommonData.o: invalid alignment of section headers

Sure enough NBCCommonData.o has misaligned section headers:

% readelf -S ./work/NXT/NBCCommonData.o
There are 8 section headers, starting at offset 0x2cf03:

The port can probably just have LLD_UNSAFE added to its Makefile, but fixing
the root cause would be better.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list