[Bug 274150] devel/schilybase: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Sep 2023 18:38:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274150 Bug ID: 274150 Summary: devel/schilybase: 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: fuz@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(fuz@FreeBSD.org) Assignee: fuz@FreeBSD.org Building devel/schilybase with lld 17 results in the following link errors: ==> LINKING dynamic library "../libs/amd64-freebsd-clang/pic/libschily.so.2.0" ld: error: version script assignment of 'SCHILY_1.0' to symbol 'getdomainname' failed: symbol not defined ld: error: version script assignment of 'SCHILY_1.6' to symbol 'qftoes' failed: symbol not defined ld: error: version script assignment of 'SCHILY_1.6' to symbol 'qftofs' failed: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) The symbols in question are not always defined. getdomainname() is only defined when HAVE_GETDOMAINNAME is undefined, and qftoes() and qftofs() are only defined when HAVE_LONGDOUBLE is undefined. Add #ifndef blocks to libschily/libschily-mapvers to handle these. -- You are receiving this mail because: You are the assignee for the bug.