[Bug 274148] devel/basu: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Sep 2023 17:40:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274148 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 -fPIC -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=/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_event' 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 remove them from the linker version script. -- You are receiving this mail because: You are the assignee for the bug.