Closed wuruoyu closed 3 years ago
Hi @wuruoyu,
I think this is the same issue as the one we had with the Dockerfile (#22). The tl;dr is that the tests have been adjusted to work on big-endian systems, which unfortunately makes them fail on some little-endian ones. But it's only the tests - most normal code shouldn't be affected. (Your system's version of the ntohl
function, which is used in the tests, likely translates to inline assembly, which SymCC doesn't understand. We should really find a better way to make the tests work independently of endianness...)
Hope this helps :)
I notice that ntohl
function in the test case.
Thank you!
Hi,
When building and checking with
ninja check
, it shows that 8 cases fail. It is weird since it works perfectly months ago and I follow the exact same building script. Could you help me check the possible issue?I build the symcc with these commands and outputs:
And then
ninja check
: ninja check output.txtThank you in advance!