git: a47b90ce1845 - main - databases/firebird30-server: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Oct 2023 16:26:13 UTC
The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=a47b90ce18451bb618092ac1d80588af0c5193a9 commit a47b90ce18451bb618092ac1d80588af0c5193a9 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-10-07 15:20:24 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-10-20 16:25:47 +0000 databases/firebird30-server: fix build with lld 17 Building databases/firebird30-server with lld 17 results in the following link error: c++ -O2 -pipe -DAMD64 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=gnu++03 -fstack-protector-strong -L/usr/local/lib -D_THREAD_SAFE -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/libexec/firebird/intl -Wl,--version-script,empty.vers -Wl,-rpath,../gen/firebird/lib /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/c_cxx.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/cmd.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/cme.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/cmp.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/exp.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/gpre.o /wrkdirs/share/d im/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/hsh.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/int_cxx.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/jrdmet.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/movg.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/msc.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/obj_cxx.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/par.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/pat.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/sqe.o /wrkdirs/share/dim/ports/databases/firebird30-c lient/work/Firebird-3.0.10.33601-0/temp/Rele! ase/gpre/sql.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/gpre/boot/gpre_meta_boot.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/yvalve/gds.o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/temp/Release/common.a -o /wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/gen/Release/firebird/bin/gpre_boot -L/wrkdirs/share/dim/ports/databases/firebird30-client/work/Firebird-3.0.10.33601-0/gen/Release/firebird/lib -liconv -lm -lpthread -lcurses ld: error: version script assignment of 'global' to symbol '_IO_stdin_used' failed: symbol not defined c++: error: linker command failed with exit code 1 (use -v to see invocation) The mentioned symbol is only relevant for Linux. Remove it from the builds/posix/vers.sh.in script that generates the linker version script. PR: 274335 Approved by: maintainer timeout (2 weeks) MFH: 2023Q4 --- .../firebird30-server/files/patch-builds_posix_vers.sh.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/databases/firebird30-server/files/patch-builds_posix_vers.sh.in b/databases/firebird30-server/files/patch-builds_posix_vers.sh.in new file mode 100644 index 000000000000..da2abd316bb7 --- /dev/null +++ b/databases/firebird30-server/files/patch-builds_posix_vers.sh.in @@ -0,0 +1,10 @@ +--- builds/posix/vers.sh.in.orig 2022-06-07 08:18:52 UTC ++++ builds/posix/vers.sh.in +@@ -57,7 +57,6 @@ platform_linux() { + echo "${TAB}$i;" + done + +- echo "${TAB}_IO_stdin_used;" + echo 'local:' + echo "${TAB}*;" + echo '};'