Open KamathForAIX opened 3 months ago
It sounds similar to this issue https://github.com/rust-lang/rust/issues/59142
Do you have some thing in a RUSTFLAGS
environment variable that would cause this? For ClamAV 1.4.0, we added a change so that the RUSTFLAGS environment variable is passed through CMake to rustc
: https://github.com/Cisco-Talos/clamav/pull/1301
No we do not have anything in RUSTFLAGS environment variable. Somehow a '/' gets added for a space. Not sure why. We are passing RUSTFLAGS through cmake only.
Describe the bug
I am building Clamav for the AIX operating system on the PowerPC platform.
In AIX we need to pass bbigtoc flag to linker or mcmodel=large flag when the TOC is large via RUSTFLAGS.
More about TOC can be read here.
This causes the below error.
Any inputs to resolve this? It will be of help.
rror: failed to run
rustc
to learn about target-specific informationHow to reproduce the problem
Build Clamav on AIX with the below steps.