-
Notifications
You must be signed in to change notification settings - Fork 2.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
[WIP] [RFC] cross-arm-none-eabi rework #11571
Conversation
This looks good to me and we have not seen updates for quite some time for this target. |
I built the packages on x86_64-glibc and used them to compile my STM32 project, everything works fine. Binutils build on Trevis. There are problems with fetching newlib tarballs, which can be fixed by using wget instead of curl, but I don't know what is actually happening. |
I could build the package for x86_64* and i686* so it seems ok, If you say it also works for you then I'd ask @void-linux/pkg-committers if this is ok to merge? |
There is a risk of breaking installations when moving files between packages. |
@jnbr good point. |
Both gcc and binutils should support cross-compiling, their configure scripts support the following flags:
I also want to draw attention to the fact that I build gcc with different options. I did it because I didn't know how to port the existing patch to the new version of gcc.
My:
|
I did additional research and I can say that the patch was unnecessary, and everything is fine with multilibs now. The new toolkit supports more processors, and I think this is good. There are few questions left:
|
|
I don't think we need any The problem when moving files between packages is, that xbps removes files which it considers obsolete. The mapping beetween files and packages is done via mtime, which broke when There is no need to change the templates to make this work. |
So ideally the |
Ok, I think I am done with this. |
Looks good so you could now create a PR for |
Closes: void-linux#11571 [via git-merge-pr]
Closes: void-linux#11571 [via git-merge-pr]
Why:
Why not:
Please write your thoughts if you are interested in this package or in cross compilation in general, because I don’t even know if anyone except me needs this rework.