Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] compiler_executables ar not properly set #16517

Open
czoido opened this issue Jun 21, 2024 · 0 comments · May be fixed by #16541
Open

[bug] compiler_executables ar not properly set #16517

czoido opened this issue Jun 21, 2024 · 0 comments · May be fixed by #16541
Assignees
Milestone

Comments

@czoido
Copy link
Contributor

czoido commented Jun 21, 2024

This is coming from a comment in Conan slack:

Following up on this thread from a year ago I noticed that with Conan 2.0 the compiler_executables dictionary in the conan config has been extended by an ar option:

conan --version
Conan version 2.4.1

conan config list | grep compiler_executables
tools.build:compiler_executables: Defines a Python dict-like with the compilers path to be used. Allowed keys {'c', 'cpp', 'cuda', 'objc', 'objcxx', 'rc', 'fortran', 'asm', 'hip', 'ispc', 'ld', 'ar'}

This is much appreciated. Yet unfortunately this doesn't work for me. Calls to ar
are always forwarded to arm-none-eabi-ar no matter how I set the ar option of the dictionary.
I have to delete the arm-none-eabi-ar binary and create a symlink from arm-none-eabi-ar to arm-none-eabi-gcc-ar if I want to make sure the cross toolchain uses the arm-none-eabi-gcc-ar archiver.

@czoido czoido added this to the 2.5.0 milestone Jun 21, 2024
@czoido czoido added the bug label Jun 21, 2024
@czoido czoido self-assigned this Jun 21, 2024
@czoido czoido assigned ErniGH and unassigned czoido Jul 1, 2024
@memsharded memsharded modified the milestones: 2.5.0, 2.6.0 Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants