Re: [getdata-devel] alter_entry_scalar3c test fails on big endian platforms
Scientific Database Format
Brought to you by:
ketiltrout
|
From: Dan H. <da...@da...> - 2016-03-04 22:29:14
|
Hi Don, On Fri, 4 Mar 2016 13:42:25 -0800 "D. V. Wiebe" <ge...@ke...> wrote: > On Fri, Mar 04, 2016 at 12:29:39PM +0100, Dan Horák wrote: > > Hello, > > > > when building getdata 0.9.0 and 0.9.1 on Fedora big endian platforms > > (ppc64, s390, s390x), the alter_entry_scalar3c test fails. > > > > [sharkcz@devel10 test]$ ./alter_entry_scalar3c > > E.bitnum = 0 (expected 3) > > > > An example from our s390 buildsystem - > > http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2133825 > > > > If you need access to such platform or more information, please let > > me know. > > > > > > Thanks > > > > Dan > > Hi Dan, > > Thanks for the report. I'll see what I can figure out. > > The most useful thing would be if you could turn on the debugging > messages (./configure --enable-debug) and provide me the output of > "make check" which will produce about 10MB of text. this is captured build log including "make check" output - http://fedora.danny.cz/tmp/.build-0.9.1-1.fc25.log.gz If the code plays with bit-fields in C, then the bits are used differently between little and big endian arches. You can find the details in eg. PPC ELF ABI document [1]. [1] http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#BITFIELD With regards, Dan |