Summary: | sys-devel/gcc-5.3.0[gcj] ld: cannot find -ljack | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | edes <edes> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.tar.bz2 |
Description
edes
2015-12-16 22:45:29 UTC
libtool: link: /var/tmp/portage/sys-devel/gcc-5.3.0/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-5.3.0/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -shared -fPIC -DPIC .libs/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.o .libs/gnu_javax_sound_midi_dssi_DSSISynthesizer.o ../../../native/jni/classpath/.libs/jcl.o -ljack -m32 -march=native -m32 -m32 -Wl,-soname -Wl,libgjsmdssi.so -o .libs/libgjsmdssi.so /usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libjack.so when searching for -ljack /usr/x86_64-pc-linux-gnu/bin/ld: cannot find -ljack collect2: error: ld returned 1 exit status Makefile:411: recipe for target 'libgjsmdssi.la' failed Looks like we might have an automagic dependency on media-sound/jack-audio-connection-kit, which triggers a failure if media-sound/jack-audio-connection-kit[abi_x86_32] is not installed. The Jack dependency needs to be there for gcj builds or --disable-dssi needs to be passed to configure. $ ./configure --help|grep dssi --disable-dssi compile DSSI providers (enable by --enable-dssi) $ grep -r 'jack' `find -name 'Makefile.am'` ./native/jni/midi-dssi/Makefile.am:libgjsmdssi_la_LIBADD = $(top_builddir)/native/jni/classpath/jcl.lo -ljack configure does check for jack/jack.h but not the library, which explains why it's failing on multilib. Filed a GCC bug to resolve the detection issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69679 *** This bug has been marked as a duplicate of bug 444762 *** |