Date: Sat, 23 Mar 2024 16:28:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277905] net/jose: fix build with lld 18 Message-ID: <bug-277905-7788-fL0YQCcELa@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277905-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-277905-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277905 --- Comment #3 from Dimitry Andric <dim@FreeBSD.org> --- (In reply to Howard Holm from comment #2) Yeah, the correct way to check for --version-script support in a linker wou= ld be to have a small test with one correct .c file and one correct .map file,= the latter with only valid symbols from from the .c file. As it is, the meson test failed because it tries "-Wl,--version-script=3D..= .", which works neither on lld nor on BFD ld: $ cc version-test.c -o foo -Wl,--version-script=3D... -fuse-ld=3Dlld ld.lld: error: cannot find version script ... cc: error: linker command failed with exit code 1 (use -v to see invocation) $ cc version-test.c -o foo -Wl,--version-script=3D... -fuse-ld=3Dbfd /usr/local/bin/ld.bfd: cannot open linker script file ...: No such file or directory cc: error: linker command failed with exit code 1 (use -v to see invocation) --=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-277905-7788-fL0YQCcELa>