Skip to content

test failure on big endian archs with 0.15.3 #132

@jcfp

Description

@jcfp

Hi,

After updating re2c in debian to 0.15.3, building the executable works fine on all architectures (with some compiler warnings in the Wconversion, Wsign-conversion and Wformat departments) but unfortunately 3 out of 976 tests do not pass on any big endian arch (mips, powerpc, s390x, hppa). See build logs here or here. The BE archs whose builds appear to succeed (m68k, sparc64) only do so because their build daemons skipped the test-suite. None of the little endian builders failed the test-suite.

Due to an slight oversight on my end the debian build logs don't show the content of the test-suite.log, so I had to resort to running an emulated BE system (debian jessie on mips) in qemu to reproduce the issue. Log and files of the failed tests linked below originate from there. The failed tests are:

FAIL       repeat-07_default.gir--skeleton.re
FAIL       unicode_blocks.u--skeleton--encoding-policy(ignore).re
FAIL       unicode_blocks.x--skeleton--encoding-policy(ignore).re

I assume it's these very same tests that also fail on the build daemons (all running debian unstable). A quick inspection of the *.c.diff files shows parts with byte order reversed like this:

screenshot

Test-suite.log and retained test files are available here. If you need more info let me know!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions