Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2023 17:40:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274148] devel/basu: fix build with lld 17
Message-ID:  <bug-274148-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 274148
           Summary: devel/basu: fix build with lld 17
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

Building devel/basu with lld 17 results in the following link errors:

cc  -o libbasu.so.0  -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fP=
IC
-Wl,--start-group -Wl,-soname,libbasu.so.0 -Wl,--whole-archive
src/libsystemd/libsystemd_static.a -Wl,--no-whole-archive -Wl,-z,relro
-Wl,-z,now -pie -Wl,--gc-sections -fstack-protector-strong -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing src/basic/libbasic.a -shared
-Wl,--version-script=3D/wrkdirs/share/dim/ports/devel/basu/work/basu-v0.2.1=
/src/libsystemd/libsystemd.sym
-pthread -lrt -lm -Wl,--end-group
cc: warning: argument unused during compilation: '-pie'
[-Wunused-command-line-argument]
ld: error: version script assignment of 'global' to symbol
'sd_bus_attach_event' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol
'sd_bus_detach_event' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'sd_bus_get_even=
t'
failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Those symbols mentioned in libsystemd.sym are never defined anywhere, so re=
move
them from the linker version script.

--=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-274148-7788>