Skip to content

all tests fail on aarch64 #473

@sharkcz

Description

@sharkcz

System Details

Fedora 28 for aarch64
gcc version 8.2.1 20181215 (Red Hat 8.2.1-6)
aarch64-unknown-linux-gnu

Problems Description

all tests fail after commit 05a1796 with

Test run by sharkcz on Wed Feb 20 13:30:33 2019
Native configuration is aarch64-unknown-linux-gnu

		=== libffi tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../testsuite/config/default.exp as tool-and-target-specific interface file.
Running ../../testsuite/libffi.bhaible/bhaible.exp ...
set_ld_library_path_env_vars: ld_library_path=.::/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../.libs
Executing on host: gcc ffitest29375.c   -I/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../include -I../../testsuite/../include  -I/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../include/.. -L/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../.libs -S -o /dev/null    (timeout = 300)
spawn -ignore SIGHUP gcc ffitest29375.c -I/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../include -I../../testsuite/../include -I/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../include/.. -L/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../.libs -S -o /dev/null
ffitest29375.c:5:3: error: #error Failed #ifdef __i386__
 # error Failed #ifdef __i386__
   ^~~~~
compiler exited with status 1
Executing on host: gcc ../../testsuite/libffi.bhaible/test-call.c   -W -Wall -Wno-psabi -DDGTEST=1 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O0  -I/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../include -I../../testsuite/../include  -I/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../include/.. -L/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../.libs  -lffi -lpthread -lm  -o ./test-call.exe    (timeout = 300)
spawn -ignore SIGHUP gcc ../../testsuite/libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=1 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O0 -I/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../include -I../../testsuite/../include -I/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../include/.. -L/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../.libs -lffi -lpthread -lm -o ./test-call.exe
/tmp/ccyPr9ak.o: In function `void_tests':
test-call.c:(.text+0x404c): undefined reference to `ffi_call'
/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../.libs/libffi.so: undefined reference to `ffi_prep_closure_loc'
/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../.libs/libffi.so: undefined reference to `ffi_prep_cif_machdep'
collect2: error: ld returned 1 exit status
compiler exited with status 1
FAIL: libffi.bhaible/test-call.c -W -Wall -Wno-psabi -DDGTEST=1 -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -O0 (test for excess errors)
Excess errors:
/tmp/ccyPr9ak.o: In function `void_tests':
test-call.c:(.text+0x404c): undefined reference to `ffi_call'
/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../.libs/libffi.so: undefined reference to `ffi_prep_closure_loc'
/home/sharkcz/projects/libffi/aarch64-unknown-linux-gnu/testsuite/../.libs/libffi.so: undefined reference to `ffi_prep_cif_machdep'
collect2: error: ld returned 1 exit status
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions