[Bug 274147] devel/tevent: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Sep 2023 17:24:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274147 Bug ID: 274147 Summary: devel/tevent: 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: timur@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(timur@FreeBSD.org) Assignee: timur@FreeBSD.org Building devel/tevent with lld 17 results in the following link errors: 11:57:46 runner ['cc', '-Wl,--version-script=/wrkdirs/usr/ports/devel/tevent/work/tevent-0.13.0/bin/default/tevent.vscript', '-shared', '-Wl,-h,libtevent.so.0', 'lib/replace/replace.c.2.o', 'lib/replace/strptime.c.2.o', 'lib/replace/xattr.c.2.o', 'tevent.c.1.o', 'tevent_debug.c.1.o', 'tevent_fd.c.1.o', 'tevent_immediate.c.1.o', 'tevent_queue.c.1.o', 'tevent_req.c.1.o', 'tevent_wrapper.c.1.o', 'tevent_poll.c.1.o', 'tevent_threads.c.1.o', 'tevent_signal.c.1.o', 'tevent_standard.c.1.o', 'tevent_timed.c.1.o', 'tevent_util.c.1.o', 'tevent_wakeup.c.1.o', '-o/wrkdirs/usr/ports/devel/tevent/work/tevent-0.13.0/bin/default/libtevent.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-ltalloc', '-lpthread', '-fstack-protector-strong', '-Wl,-no-undefined'] ld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) Since the linker version scripts are generated dynamically, suppress errors with lld >= 17 due to these undefined symbols. -- You are receiving this mail because: You are the assignee for the bug.