-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Revert "arch: Replace ar and nm with gcc-ar and gcc-nm" #4477
Conversation
This reverts commit b05737d. Because it broke clang-based builds.
@yamt could you point out which config break? https://github.com/apache/incubator-nuttx/pull/4451/checks show that the change pass CI on macOS. |
clang build of sim/linux at least. |
i suppose LTO build will be an optional config. |
Could be, but b05737d doesn't really enable lto, but make enable lto more easier.
For sim clang support, the better fix is SIM_TOOLCHAIN_CLANG/SIM_TOOLCHAIN_GCC and arch/sim/Toolchain.defs. |
i'm not sure it's better or not. but i agree it's consistent with the other boards. |
or are you asking me to do it? either way is ok for me. |
We can add an issue. The change isn't huge if you don't have free time, I can do it in this week. |
after thinking a bit, i guess the problem is not only for sim. |
Fix by #4482 |
lto thing has been on my low-priority todo for a while. if anyone can beat me, it's welcome. otoh, this one is more critical as it's breaking my (private) ci and workflows right now. if you are going to merge #3836 without waiting for "lto demo", it's fine for me. (IMO it isn't reasonable to require me the demo in the first place.) |
It's fine without lto demo.
Ok, let's merge this PR first. |
Summary
This reverts commit b05737d.
Because it broke clang-based builds.
Impact
Testing