[Bug 273995] audio/lame: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Sep 2023 09:09:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273995 Bug ID: 273995 Summary: audio/lame: 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: netchild@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(netchild@FreeBSD.org) Assignee: netchild@FreeBSD.org Building audio/lame with lld 17 results in the following link error: libtool: link: cc -shared -fPIC -DPIC .libs/VbrTag.o .libs/bitstream.o .libs/encoder.o .libs/fft.o .libs/gain_analysis.o .libs/id3tag.o .libs/lame.o .libs/newmdct.o .libs/presets.o .libs/psymodel.o .libs/quantize.o .libs/quantize_pvt.o .libs/reservoir.o .libs/set_get.o .libs/tables.o .libs/takehiro.o .libs/util.o .libs/vbrquantize.o .libs/version.o .libs/mpglib_interface.o -Wl,--whole-archive ../libmp3lame/vector/.libs/liblamevectorroutines.a ../mpglib/.libs/libmpgdecoder.a -Wl,--no-whole-archive -lm -O3 -O2 -fstack-protector-strong -fstack-protector-strong -Wl,-soname -Wl,libmp3lame.so.0 -Wl,-version-script -Wl,.libs/libmp3lame.so.0.0.0-ver -o .libs/libmp3lame.so.0.0.0 ld: error: version script assignment of 'global' to symbol 'lame_init_old' failed: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) The "lame_init_old" symbol is an obsolete initialization function, which is still kept in the source under a DEPRECATED_OR_OBSOLETE_CODE_REMOVED define, but it has not been enabled for years. Add a sed command to the Makefile to remove the undefined symbol from the version script file to fix the error. -- You are receiving this mail because: You are the assignee for the bug.