[Bug target/65602] New: gcc.target/i386/mpx tests FAIL
ro at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 27 13:51:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65602
Bug ID: 65602
Summary: gcc.target/i386/mpx tests FAIL
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: ienkovich at gcc dot gnu.org
Host: i386-pc-solaris2.1[01]
Target: i386-pc-solaris2.1[01]
Build: i386-pc-solaris2.1[01]
Many of the new gcc.target/i386/mpx tests FAIL on Solaris/x86 with gas, causing
enormous amounts of testsuite noise. The failures fall into two categories:
FAIL: gcc.target/i386/mpx/alloca-1-lbv.c -O0 (test for excess errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/i386/mpx/alloca-1-lbv.c:19:21:
warning: implicit declaration of function 'alloca'
[-Wimplicit-function-declaration]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/i386/mpx/alloca-1-lbv.c:19:21:
warning: incompatible implicit declaration of built-in function 'alloca'
It seems the tests should simply use __builtin_alloca instead.
FAIL: gcc.target/i386/mpx/calloc-1-lbv.c -O0 (test for excess errors)
Excess errors:
Undefined first referenced
symbol in file
__mpx_wrapper_calloc /var/tmp//ccEYaOnw.o
ld: fatal: symbol referencing errors
WARNING: gcc.target/i386/mpx/calloc-1-lbv.c -O0 compilation failed to
produce executable
All link tests will fail on all non-Linux targets since only those provide the
MPX runtime libraries. The check_effective_target_mpx test in
gcc.target/i386/mpx/mpx.exp is incomplete, it seems. IMO the test should be
fixed, rather
than hardcoding Linux/x86 here, which will start to become wrong once non-Linux
targets start to support MPX.
Rainer
More information about the Gcc-bugs
mailing list