Skip to content

247 test failures on big-endian arches (ppc64 and s390x) #1063

Closed

Description

@rathann

Running the 1.0.10 testsuite (test/run-tests.py) on big-endian arches (POWER8/ppc64 and s390x) yields the following failed tests:


- test/binary/bad-call-indirect-reserved.txt
- test/binary/bad-data-count-mismatch.txt
- test/binary/bad-data-count-order-after-code.txt
- test/binary/bad-data-count-order-before-elem.txt
- test/binary/bad-data-size.txt
- test/binary/bad-duplicate-section-around-custom.txt
- test/binary/bad-duplicate-section.txt
- test/binary/bad-duplicate-subsection.txt
- test/binary/bad-event-after-export.txt
- test/binary/bad-event-before-global.txt
- test/binary/bad-export-func.txt
- test/binary/bad-extra-end.txt
- test/binary/bad-function-body-count.txt
- test/binary/bad-function-body-size.txt
- test/binary/bad-function-count-missing-code-section.txt
- test/binary/bad-function-local-count.txt
- test/binary/bad-function-local-type.txt
- test/binary/bad-function-names-too-many.txt
- test/binary/bad-function-param-type.txt
- test/binary/bad-function-result-type.txt
- test/binary/bad-function-sig.txt
- test/binary/bad-function-too-many-results.txt
- test/binary/bad-import-sig.txt
- test/binary/bad-linking-metadata.txt
- test/binary/bad-logging-basic.txt
- test/binary/bad-memory-grow-reserved.txt
- test/binary/bad-memory-init-max-size.txt
- test/binary/bad-memory-init-size.txt
- test/binary/bad-memory-max-size.txt
- test/binary/bad-memory-size-reserved.txt
- test/binary/bad-name-section-invalid-index.txt
- test/binary/bad-name-section-location.txt
- test/binary/bad-names-duplicate-locals.txt
- test/binary/bad-names-duplicates.txt
- test/binary/bad-names-function-locals-out-of-order.txt
- test/binary/bad-names-out-of-order.txt
- test/binary/bad-op-after-end.txt
- test/binary/bad-opcode-prefix.txt
- test/binary/bad-opcode.txt
- test/binary/bad-returncallindirect-reserved.txt
- test/binary/bad-section-ends-early.txt
- test/binary/bad-section-size-zero.txt
- test/binary/bad-segment-no-memory.txt
- test/binary/bad-simd-type.txt
- test/binary/bad-start-func.txt
- test/binary/bad-subsection-out-of-order.txt
- test/binary/bad-subsection-size.txt
- test/binary/bad-subsection-unfinished.txt
- test/binary/bad-too-many-locals.txt
- test/binary/bad-type-form.txt
- test/binary/bad-typecheck-fail.txt
- test/binary/bad-typecheck-missing-drop.txt
- test/binary/bad-version.txt
- test/binary/basic.txt
- test/binary/duplicate-func-names.txt
- test/binary/duplicate-local-names.txt
- test/binary/dylink-section.txt
- test/binary/ignore-custom-section-error-objdump.txt
- test/binary/ignore-custom-section-error-wasm2wat.txt
- test/binary/invalid-name.txt
- test/binary/linking-section.txt
- test/binary/missing-code-section-empty-function-section.txt
- test/binary/missing-function-section-empty-code-section.txt
- test/binary/names.txt
- test/binary/no-global-names.txt
- test/binary/no-names.txt
- test/binary/relocs.txt
- test/binary/user-section.txt
- test/dump/bad-version-logging.txt
- test/dump/bad-version.txt
- test/dump/basic.txt
- test/dump/binary.txt
- test/dump/block-257-exprs-br.txt
- test/dump/block-257-exprs.txt
- test/dump/block-multi.txt
- test/dump/block.txt
- test/dump/br-block-named.txt
- test/dump/br-block.txt
- test/dump/br-loop-inner-expr.txt
- test/dump/br-loop-inner.txt
- test/dump/br-loop.txt
- test/dump/br_on_exn.txt
- test/dump/brif-loop.txt
- test/dump/brif.txt
- test/dump/brtable-empty.txt
- test/dump/brtable.txt
- test/dump/call.txt
- test/dump/callimport.txt
- test/dump/callindirect.txt
- test/dump/cast.txt
- test/dump/compare.txt
- test/dump/const.txt
- test/dump/convert-sat.txt
- test/dump/convert.txt
- test/dump/current-memory.txt
- test/dump/debug-import-names.txt
- test/dump/debug-names.txt
- test/dump/dedupe-sig.txt
- test/dump/drop.txt
- test/dump/event.txt
- test/dump/export-multi.txt
- test/dump/expr-br.txt
- test/dump/expr-brif.txt
- test/dump/func-exported.txt
- test/dump/func-multi.txt
- test/dump/func-named.txt
- test/dump/func-result-multi.txt
- test/dump/getglobal.txt
- test/dump/getlocal-param.txt
- test/dump/getlocal.txt
- test/dump/global.txt
- test/dump/grow-memory.txt
- test/dump/hexfloat_f32.txt
- test/dump/hexfloat_f64.txt
- test/dump/if-multi.txt
- test/dump/if-then-else-list.txt
- test/dump/if-then-list.txt
- test/dump/if.txt
- test/dump/import.txt
- test/dump/invalid-data-segment-no-memory.txt
- test/dump/invalid-data-segment-offset.txt
- test/dump/invalid-elem-segment-no-table.txt
- test/dump/invalid-elem-segment-offset.txt
- test/dump/load-aligned.txt
- test/dump/load.txt
- test/dump/locals.txt
- test/dump/loop-257-exprs-br.txt
- test/dump/loop-257-exprs.txt
- test/dump/loop-multi.txt
- test/dump/loop.txt
- test/dump/memory-1-byte.txt
- test/dump/memory-data-size.txt
- test/dump/memory-hex.txt
- test/dump/memory.txt
- test/dump/module-name.txt
- test/dump/mutable-global.txt
- test/dump/no-canonicalize.txt
- test/dump/nocheck.txt
- test/dump/nop.txt
- test/dump/param-multi.txt
- test/dump/result.txt
- test/dump/rethrow.txt
- test/dump/return.txt
- test/dump/select.txt
- test/dump/setglobal.txt
- test/dump/setlocal-param.txt
- test/dump/setlocal.txt
- test/dump/signatures.txt
- test/dump/simd-basic.txt
- test/dump/simd-binary.txt
- test/dump/simd-bitselect.txt
- test/dump/simd-compare.txt
- test/dump/simd-lane.txt
- test/dump/simd-load-store.txt
- test/dump/simd-shift.txt
- test/dump/simd-splat.txt
- test/dump/simd-unary.txt
- test/dump/start.txt
- test/dump/store-aligned.txt
- test/dump/store.txt
- test/dump/string-escape.txt
- test/dump/string-hex.txt
- test/dump/table.txt
- test/dump/tee_local.txt
- test/dump/throw.txt
- test/dump/try-multi.txt
- test/dump/try.txt
- test/dump/unary-extend.txt
- test/dump/unary.txt
- test/dump/unreachable.txt
- test/gen-spec-js/action.txt
- test/gen-spec-js/assert_exhaustion.txt
- test/gen-spec-js/assert_return.txt
- test/gen-spec-js/assert_return_nan.txt
- test/gen-spec-js/assert_trap.txt
- test/gen-spec-js/assert_uninstantiable.txt
- test/gen-spec-js/assert_unlinkable.txt
- test/gen-spec-js/basic.txt
- test/gen-spec-js/many-modules.txt
- test/gen-spec-js/register.txt
- test/interp/atomic-load.txt
- test/interp/atomic-rmw-add.txt
- test/interp/atomic-rmw-and.txt
- test/interp/atomic-rmw-cmpxchg.txt
- test/interp/atomic-rmw-or.txt
- test/interp/atomic-rmw-sub.txt
- test/interp/atomic-rmw-xchg.txt
- test/interp/atomic-rmw-xor.txt
- test/interp/atomic-store.txt
- test/interp/basic-logging.txt
- test/interp/load.txt
- test/interp/logging-all-opcodes.txt
- test/interp/simd-binary.txt
- test/interp/simd-compare.txt
- test/interp/simd-lane.txt
- test/interp/simd-load-store.txt
- test/interp/simd-shift.txt
- test/interp/simd-splat.txt
- test/interp/simd-unary.txt
- test/interp/store.txt
- test/opcodecnt/basic.txt
- test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt
- test/parse/module/binary-module.txt
- test/regress/regress-20.txt
- test/regress/regress-24.txt
- test/regress/regress-7.txt
- test/regress/regress-8.txt
- test/spec/address.txt
- test/spec/binary.txt
- test/spec/custom.txt
- test/spec/endianness.txt
- test/spec/float_exprs.txt
- test/spec/float_literals.txt
- test/spec/float_memory.txt
- test/spec/globals.txt
- test/spec/imports.txt
- test/spec/left-to-right.txt
- test/spec/memory.txt
- test/spec/memory_redundancy.txt
- test/spec/memory_trap.txt
- test/spec/mutable-global/globals.txt
- test/spec/utf8-custom-section-id.txt
- test/spec/utf8-import-field.txt
- test/spec/utf8-import-module.txt
- test/strip/basic.txt
- test/strip/names.txt
- test/strip/no-custom-sections.txt
- test/two-commands.txt
- test/wasm2c/spec/address.txt
- test/wasm2c/spec/binary.txt
- test/wasm2c/spec/custom.txt
- test/wasm2c/spec/endianness.txt
- test/wasm2c/spec/float_exprs.txt
- test/wasm2c/spec/float_literals.txt
- test/wasm2c/spec/float_memory.txt
- test/wasm2c/spec/imports.txt
- test/wasm2c/spec/left-to-right.txt
- test/wasm2c/spec/memory.txt
- test/wasm2c/spec/memory_redundancy.txt
- test/wasm2c/spec/memory_trap.txt
- test/wasm2c/spec/token.txt
- test/wasm2c/spec/typecheck.txt
- test/wasm2c/spec/unreached-invalid.txt
- test/wasm2c/spec/utf8-custom-section-id.txt
- test/wasm2c/spec/utf8-import-field.txt
- test/wasm2c/spec/utf8-import-module.txt
- test/wasm2c/spec/utf8-invalid-encoding.txt

Is running on big-endian supported at all? Only 1027 tests passed and 1702 were skipped, so this is a significant portion.

Activity

  1. binji commented on Apr 15, 2019

    @binji
    Member

    I haven't tested at all on big endian machines, but it seems there's a lot to fix here. I would like to support it -- is there an easy docker configuration (or something similar) I can use for testing?

  2. rathann commented on Apr 16, 2019

    @rathann
    ContributorAuthor

    One recommendation from Fedora devel mailing list is to use mock --forcearch, see
    https://github.com/rpm-software-management/mock/wiki/Release-Notes-1.4.11

    For example (on a machine running Fedora 28+):

    $ sudo dnf install mock mock-core-configs qemu-user-static
    $ mock -r fedora-28-ppc64 --forcearch ppc64 shell
    

    If you'd like access to a real big-endian hardware (VM), then I can give you access to one of mine (send me your ssh public key) or you can get in touch with Brian Stinson from CentOS CI Infrastructure Team who offered to provide access to VMs for upstream developers. See https://wiki.centos.org/QaWiki/CI/Multiarch .

  3. rathann commented on Apr 16, 2019

    @rathann
    ContributorAuthor
  4. junaruga commented on Sep 6, 2019

    @junaruga

    Hi @rathann you might like my comment on travis-ci/travis-ci#8869 (comment) .

  5. rathann commented on Mar 20, 2020

    @rathann
    ContributorAuthor
  6. rathann commented on Feb 3, 2021

    @rathann
    ContributorAuthor

    FYI, I got a successful build on Fedora infrastructure on s390x. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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