Created attachment 431748 [details] build.log media-libs/adplug-2.2.1 fails to build during linking with some undefined references: /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -march=native -pipe ../src/.libs/libadplug.la -lbinio -Wl,-O1 -Wl,--as-needed -o adplugdb adplugdb.o -lstdc++ libtool: link: x86_64-pc-linux-gnu-g++ -march=native -pipe -Wl,-O1 -Wl,--as-needed -o .libs/adplugdb adplugdb.o ../src/.libs/libadplug.so -lbinio -lstdc++ ../src/.libs/libadplug.so: undefined reference to `OPL_KEYON' ../src/.libs/libadplug.so: undefined reference to `set_sl_rr' ../src/.libs/libadplug.so: undefined reference to `CSMKeyControll' ../src/.libs/libadplug.so: undefined reference to `set_ksl_tl' ../src/.libs/libadplug.so: undefined reference to `OPL_STATUS_RESET' ../src/.libs/libadplug.so: undefined reference to `set_mul' ../src/.libs/libadplug.so: undefined reference to `set_ar_dr' ../src/.libs/libadplug.so: undefined reference to `OPL_STATUS_SET' ../src/.libs/libadplug.so: undefined reference to `CALC_FCSLOT' ../src/.libs/libadplug.so: undefined reference to `OPL_STATUSMASK_SET' ../src/.libs/libadplug.so: undefined reference to `OPL_CALC_RH' ../src/.libs/libadplug.so: undefined reference to `OPL_KEYOFF' ../src/.libs/libadplug.so: undefined reference to `OPL_CALC_CH' ../src/.libs/libadplug.so: undefined reference to `Limit' collect2: error: ld returned 1 exit status Makefile:286: recipe for target 'adplugdb' failed
Created attachment 431750 [details] emerge --info
Does it compile with CFLAGS=-fgnu89-inline ?
(In reply to Felix Janda from comment #2) > Does it compile with CFLAGS=-fgnu89-inline ? Yes, it compiles and links successfully with these CFLAGS.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1713780be34c291036483fc06dd67a1ed7c4ac39 commit 1713780be34c291036483fc06dd67a1ed7c4ac39 Author: David Seifert <soap@gentoo.org> AuthorDate: 2017-11-20 20:25:46 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2017-11-20 20:27:15 +0000 media-libs/adplug: Version bump to 2.3 Bug: https://bugs.gentoo.org/509660 Bug: https://bugs.gentoo.org/580992 Package-Manager: Portage-2.3.14, Repoman-2.3.6 media-libs/adplug/Manifest | 1 + media-libs/adplug/adplug-2.3.ebuild | 41 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+)}
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57736f8f9e67fbdabd1e6bfe7d8392b0cfd8ff37 commit 57736f8f9e67fbdabd1e6bfe7d8392b0cfd8ff37 Author: David Seifert <soap@gentoo.org> AuthorDate: 2018-07-26 05:48:34 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2018-07-26 06:20:31 +0000 media-libs/adplug: Remove old Closes: https://bugs.gentoo.org/509660 Closes: https://bugs.gentoo.org/580992 Package-Manager: Portage-2.3.43, Repoman-2.3.10 media-libs/adplug/Manifest | 1 - media-libs/adplug/adplug-2.2.1.ebuild | 28 ---------------------------- 2 files changed, 29 deletions(-)