You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When it's cross building for armv8 Autotoolstoolchain will add --host=aarch64-apple-darwin argument no matter what you do. This makes ffmpeg build to fail because this parameter is not supported.
Probably the same will happen with the argument --build=x86_64-apple-darwin
Logs (Executed commands with output) (Include/Attach if Applicable)
Thanks for your report.
It would be great if we can reduce this to something a bit more minimal, so it can be managed in our test suite.
We have the conan new hello/0.1 -m=autotools_lib template, does this behavior still happens with this template?
If it happens, is the AutotoolsToolchain wrong, or it is just something related to the specifics of the library that needs customization?
--host-cc=HOSTCC use host C compiler HOSTCC
--host-cflags=HCFLAGS use HCFLAGS when compiling for host
--host-cppflags=HCPPFLAGS use HCPPFLAGS when compiling for host
--host-ld=HOSTLD use host linker HOSTLD
--host-ldflags=HLDFLAGS use HLDFLAGS when linking for host
--host-extralibs=HLIBS use libs HLIBS when linking for host
--host-os=OS compiler host OS [$target_os]
There's no --host option so once AutotoolsToolchain calls generate the arguments host and build will be addes making FFmpeg fail.
Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
This PR: conan-io/conan-center-index#13235
And this PR: conan-io/conan-center-index#13664
Both are trying the same thing.
When it's cross building for armv8
Autotoolstoolchain
will add--host=aarch64-apple-darwin
argument no matter what you do. This makes ffmpeg build to fail because this parameter is not supported.Probably the same will happen with the argument
--build=x86_64-apple-darwin
Logs (Executed commands with output) (Include/Attach if Applicable)
Suggestion
This parameters are introduced by this code in
autotoolstoolchain.py
:It would be helpful if this was either generated before calling
generate()
method or allow a way to configure this.The text was updated successfully, but these errors were encountered: