Summary: | x11-libs/motif-2.3.4-r2 with cross-i686-pc-linux-gnu/gcc - /usr/libexec/gcc/i686-pc-linux-gnu/ld: cannot find -lfl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | [OLD] Library | Assignee: | Ulrich Müller <ulm> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | multilib+disabled |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
x11-libs:motif-2.3.4-r2:20150108-232932.log
Patch for motif-2.3.4-r2.ebuild |
Description
Jeroen Roovers (RETIRED)
2014-12-27 12:43:48 UTC
Please attach build.log and emerge --info output. (In reply to Jeroen Roovers from comment #0) > + emake -C tools/wml CC="$(tc-getBUILD_CC)" > LIBS="-L/usr/$(get_libdir) -lfl" wmluiltok Hm, we need the native libfl.a here, so -L/usr/$(get_libdir) is not the correct location. (In reply to Ulrich Müller from comment #1) > Hm, we need the native libfl.a here, so -L/usr/$(get_libdir) is not the > correct location. Does LIBS="-L/usr/$(get_abi_LIBDIR ${DEFAULT_ABI}) -lfl" work for you? (In reply to Ulrich Müller from comment #2) > (In reply to Ulrich Müller from comment #1) > > Hm, we need the native libfl.a here, so -L/usr/$(get_libdir) is not the > > correct location. But it works because it's called for each ABI. > Does LIBS="-L/usr/$(get_abi_LIBDIR ${DEFAULT_ABI}) -lfl" work for you? No, that seems to pick lib64 when lib32 is required: libtool: link: i686-pc-linux-gnu-gcc -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -fno-strict-aliasing -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -I//usr/include/freetype2 -I/usr/include/freetype2 -Wl,-O1 -Wl,--hash-style=gnu -o wmluiltok wmluiltok.o -Wl,--as-needed -L/usr/lib64 -lfl /usr/libexec/gcc/i686-pc-linux-gnu/ld: skipping incompatible /usr/lib64/libfl.a when searching for -lfl /usr/libexec/gcc/i686-pc-linux-gnu/ld: cannot find -lfl /usr/libexec/gcc/i686-pc-linux-gnu/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc /usr/libexec/gcc/i686-pc-linux-gnu/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc Created attachment 393504 [details]
x11-libs:motif-2.3.4-r2:20150108-232932.log
Created attachment 393580 [details, diff]
Patch for motif-2.3.4-r2.ebuild
Do attached changes to the ebuild fix the issue for you?
(In reply to Ulrich Müller from comment #5) > Created attachment 393580 [details, diff] [details, diff] > Patch for motif-2.3.4-r2.ebuild > > Do attached changes to the ebuild fix the issue for you? This is -r3 now. Please test and report back. |