Closed wombelix closed 6 months ago
If access to a s390x system would help, please let me know.
Are you just trying to get aws-c-common working on the s390x? Or are you trying to get aws-crt-python (and therefore all the other aws-c-*** libraries) working as well? Have you run the other libraries' tests?
We don't support any big-endian architectures at the moment. I'm just wondering if this is the first of N problems you're going to encounter...
Are you just trying to get aws-c-common working on the s390x? Or are you trying to get aws-crt-python (and therefore all the other aws-c-*** libraries) working as well? Have you run the other libraries' tests?
I'm packaging all AWS C libs for Fedora and EPEL. This will lead at some point to aws-crt-php
and other aws-crt-* too. By default, the guidelines expect that a package builds on all supported platforms. This includes s390x. I started with aws-c-common
and work through them based on dependencies. I didn't test e.g. aws-c-cal
on s390x yet.
We don't support any big-endian architectures at the moment. I'm just wondering if this is the first of N problems you're going to encounter...
Then I'm pretty certain tests in other libs will fail too. Sounds like that I should then exclude s390x
as build architecture for all of them.
Sounds like that I should then exclude s390x as build architecture for all of them.
That seems like the safe bet
Thanks for your Feedback, I will go ahead and exclude s390x
as build platform from all AWS C lib related packages for now.
Describe the bug
When building aws-c-common for Fedora on Arch
s390x
, three tests fail.The tests pass without issues on
x86_64
,aarch64
andppc64le
.Expected Behavior
Tests pass similar as on the three other Architectures.
Current Behavior
Relevant log output:
Full build log attached for reference: aws-c-common_build_s390x.log
Reproduction Steps
/usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_SHARED_LIBS=ON
Possible Solution
No response
Additional Information/Context
Similar Issue reported once in October 2022 (staled): https://github.com/awslabs/aws-c-common/issues/710
aws-c-common version used
0.9.17
Compiler and version used
cmake (3.28.3-4.fc41), gcc (14.0.1-0.16.fc41)
Operating System and version
Fedora Rawhide (F41)