Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 18:09:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228613] lang/nbc: build fails with lld as the system linker
Message-ID:  <bug-228613-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228613

            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@FreeBSD.org
          Reporter: emaste@freebsd.org
            Blocks: 214864
             Flags: maintainer-feedback?(rene@FreeBSD.org)
          Assignee: rene@FreeBSD.org

From
http://package18.nyi.freebsd.org/data/headamd64PR214864cxx98-default/2018-0=
5-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=3D214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228613-7788>