https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Confirmed that the proposed patch eliminates both the bootstrap failure
> on x86_64-apple-darwin14 and the libffi testsuite failures at both -m32 and
> -m64.
When running
make -k -j8 check RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'"
I get
=== libffi tests ===
Running target unix-m64
ERROR: couldn't load description file for unix-m64
and if I run the test in x86_64-apple-darwin14.0.0/libffi/testsuite/ with
make -k check RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'"
I get
=== libffi tests ===
Running target unix/-m32
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -O0 output pattern test, is
12 178: 190
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer
execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer
execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer
execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer
execution test
=== libffi Summary for unix/-m32 ===
# of expected passes 1870
# of unexpected failures 20
# of unsupported tests 30
Running target unix/-m64
=== libffi Summary for unix/-m64 ===
# of expected passes 1904
# of unsupported tests 30
=== libffi Summary ===
# of expected passes 3774
# of unexpected failures 20
# of unsupported tests 60
i.e., 20 failures with -m32.