diff options
author | Peter Trommler <ptrommler@acm.org> | 2016-12-26 10:04:54 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-12-27 12:44:25 -0500 |
commit | 4dec7d191fbc26276cc2c8306d9d03e71e277979 (patch) | |
tree | b7dbe0c3ebd757acdac5f0459e6dfd1fa6704278 /rts/linker | |
parent | 88f5add0280788d424c9df5f751a73e73a1a4284 (diff) | |
download | haskell-4dec7d191fbc26276cc2c8306d9d03e71e277979.tar.gz |
Testsuite: Skip failing tests on PowerPC 64-bit
The Power ISA says the result of a division by zero is undefined. So
ignore stdout on PowerPC 64-bit systems.
Disable ext-interp tests on 64-bit PowerPC. We don't have support for
PowerPC 64-bit ELF in the RTS linker, which is needed for the external
interpreter.
Test Plan: ./validate
Reviewers: austin, simonmar, hvr, erikd, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2782
Diffstat (limited to 'rts/linker')
-rw-r--r-- | rts/linker/Elf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c index 4672a5bc5e..f836912091 100644 --- a/rts/linker/Elf.c +++ b/rts/linker/Elf.c @@ -399,6 +399,10 @@ ocVerifyImage_ELF ( ObjectCode* oc ) case EM_IA_64: IF_DEBUG(linker,debugBelch( "ia64" )); break; #endif case EM_PPC: IF_DEBUG(linker,debugBelch( "powerpc32" )); break; + case EM_PPC64: IF_DEBUG(linker,debugBelch( "powerpc64" )); + errorBelch("%s: RTS linker not implemented on PowerPC 64-bit", + oc->fileName); + return 0; #ifdef EM_X86_64 case EM_X86_64: IF_DEBUG(linker,debugBelch( "x86_64" )); break; #elif defined(EM_AMD64) |