Closed rjzak closed 1 week ago
Thanks for reporting this issue. I apologize for the delayed response.
I see that the C compiler for this build is "GNU 12.2.0". We have a CI job to build/test for powerpc64le-unknown-linux-gnu
, but it seems to use a different C compiler version.
One potential workaround for this issue is to set the AWS_LC_SYS_CFLAGS
so that this error/warning is ignored.
export AWS_LC_SYS_CFLAGS="-Wno-stringop-overflow"
For example, we have a similar build issue for riscv in our CI, you can see our mitigation for it here: https://github.com/aws/aws-lc-rs/blob/5f19caea9e4be0dd8ec1999ba449093f903769b2/.github/workflows/cross.yml#L61-L67
We'll look into whether changes need to be made upstream in AWS-LC to correct this warning.
aws-lc-rs v1.11.0 has now been released. We believe this release addresses the problem reported here.
We will now close this issue. Feel free to re-open it (or open another) if you continue to see a problem after upgrading. Thanks again for reporting this issue!
Thanks!
Problem:
Trying to compile MalwareDB v0.0.15 for
powerpc64le-unknown-linux-gnu
.Relevant details
AWS-LC for Rust version: aws-lc-sys-0.22.0 Rust: 1.82.0
System information: for linux, below info can be collected by running
uname -srvmp
Build log: