[Bug 274196] sysutils/libcdio: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Oct 2023 12:05:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274196
Bug ID: 274196
Summary: sysutils/libcdio: 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: jhale@FreeBSD.org
Reporter: dim@FreeBSD.org
Flags: maintainer-feedback?(jhale@FreeBSD.org)
Assignee: jhale@FreeBSD.org
Building sysutils/libcdio with lld 17 results in the following link errors:
libtool: link: cc -shared -fPIC -DPIC .libs/_cdio_generic.o
.libs/_cdio_stdio.o .libs/_cdio_stream.o .libs/abs_path.o .libs/aix.o
.libs/audio.o .libs/cd_types.o .libs/cdio.o .libs/cdtext.o .libs/device.o
.libs/disc.o .libs/ds.o FreeBSD/.libs/freebsd.o FreeBSD/.libs/freebsd_cam.o
FreeBSD/.libs/freebsd_ioctl.o .libs/gnu_linux.o image/.libs/bincue.o
image/.libs/cdrdao.o .libs/image_common.o image/.libs/nrg.o .libs/logging.o
.libs/memory.o mmc/.libs/mmc.o mmc/.libs/mmc_hl_cmds.o mmc/.libs/mmc_ll_cmds.o
mmc/.libs/mmc_util.o MSWindows/.libs/aspi32.o MSWindows/.libs/win32_ioctl.o
MSWindows/.libs/win32.o .libs/netbsd.o .libs/osx.o .libs/read.o
.libs/realpath.o .libs/sector.o .libs/solaris.o .libs/track.o .libs/utf8.o
.libs/util.o -L/usr/local/lib -lm -lcam -O2 -fstack-protector-strong
-Wl,--version-script=libcdio.la.ver -fstack-protector-strong -Wl,-soname
-Wl,libcdio.so.19 -o .libs/libcdio.so.19.0.0
ld: error: version script assignment of 'CDIO_19' to symbol
'cdio_get_default_device_bsdi' failed: symbol not defined
ld: error: version script assignment of 'CDIO_19' to symbol
'cdio_get_devices_bsdi' failed: symbol not defined
ld: error: version script assignment of 'CDIO_19' to symbol 'cdio_have_bsdi'
failed: symbol not defined
ld: error: version script assignment of 'CDIO_19' to symbol 'cdio_open_am_bsdi'
failed: symbol not defined
ld: error: version script assignment of 'CDIO_19' to symbol 'cdio_open_bsdi'
failed: symbol not defined
ld: error: version script assignment of 'CDIO_19' to symbol
'cdio_set_drive_speed' failed: symbol not defined
ld: error: version script assignment of 'CDIO_19' to symbol 'mmc_get_last_lsn'
failed: symbol not defined
ld: error: version script assignment of 'CDIO_19' to symbol
'mmc_isrc_track_read_subchannel' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
There are a number of symbols in libcdio's linker version scripts which are no
longer defined, so remove them.
--
You are receiving this mail because:
You are the assignee for the bug.