Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
test failure on big endian archs with 0.15.3 #132
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:
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:
Test-suite.log and retained test files are available here. If you need more info let me know!