Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 680034 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-3 / +3 lines)
Lines 345-353 try_link() { Link Here
345
}
345
}
346
LIBC_PATH=$(AS_IF(
346
LIBC_PATH=$(AS_IF(
347
	dnl GNU linker (bfd & gold) searching for
347
	dnl GNU linker (bfd & gold) searching for
348
	dnl     "attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/libc.so succeeded"
348
	dnl (bfd)  "attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/libc.so succeeded"
349
	dnl (gold) "/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: Attempt to open /lib64/libc.so.6 succeeded"
349
	dnl if log does not contain "attempt" word then it's not a GNU linker
350
	dnl if log does not contain "attempt" word then it's not a GNU linker
350
	[try_link -Wl,--verbose && grep -q attempt libctest.log],
351
	[try_link -Wl,--verbose && grep -q ttempt libctest.log],
351
		[$AWK '/ttempt to open/ { if (($(NF-1) ~ /\/libc\.so/) && ($NF == "succeeded")) LIBC = $(NF-1); }; END {print LIBC}' libctest.log],
352
		[$AWK '/ttempt to open/ { if (($(NF-1) ~ /\/libc\.so/) && ($NF == "succeeded")) LIBC = $(NF-1); }; END {print LIBC}' libctest.log],
352
	dnl LLVM lld searching for latest (successful) entry of
353
	dnl LLVM lld searching for latest (successful) entry of
353
	dnl     "ld.lld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/libc.so"
354
	dnl     "ld.lld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/libc.so"
354
- 

Return to bug 680034