https://sourceware.org/bugzilla/show_bug.cgi?id=21479
--- Comment #15 from Sam James <sam at gentoo dot org> ---
I noticed earlier:
```
Executing on host: sh -c {x86_64-pc-linux-gnu-gcc
-B/var/tmp/portage/sys-devel/binutils-9999/work/build/ld/tmpdir/ld/
-I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/ld/testsui
te/ld-plugin -O3 -march=native -mtls-dialect=gnu2 -g1 -pipe
-fcf-protection=none -fdiagnostics-color=always -fdiagnostics-urls=never
-frecord-gcc-switches -fdiagnostics-set-output=text:e
xperimental-nesting=yes -Warray-bounds -Wstrict-aliasing -Wfree-nonheap-object
-Wuninitialized -Wmaybe-uninitialized -Wbuiltin-declaration-mismatch
-Wtautological-compare -ggdb3 -Wformat
-Werror=format-security -fno-sanitize=all -c -fno-lto -O2 -flto
-ffat-lto-objects (libstrip-1a-fat-s.a) -c
/var/tmp/portage/sys-devel/binutils-9999/work/binutils/ld/testsuite/ld-plugi
n/strip-1b-fat.c -o tmpdir/strip-1b-fat.o 2>&1} /dev/null ld.tmp (timeout =
300)
spawn [open ...]
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
UNSUPPORTED: Build strip-1f
```
This fixes it:
```
--- a/ld/testsuite/ld-plugin/lto-binutils.exp
+++ b/ld/testsuite/ld-plugin/lto-binutils.exp
@@ -309,9 +309,9 @@ run_cc_link_tests [list \
"tmpdir/strip-1a-fat-s.o" \
] \
[list \
- "Build strip-1f" \
+ "Build strip-1f (libstrip-1a-fat-s.a)" \
"" \
- "-O2 -flto $lto_fat (libstrip-1a-fat-s.a)" \
+ "-O2 -flto $lto_fat" \
{ strip-1b-fat.c } \
{} \
"libstrip-1f" \
```
--
You are receiving this mail because:
You are on the CC list for the bug.