musl-cross icon indicating copy to clipboard operation
musl-cross copied to clipboard

Add patches for GCC 5.4.0

Open piranna opened this issue 7 years ago • 3 comments

Add patches for GCC 5.4.0 since it's the latest one available for the 5.x branch. Also, add the patches to allow to compile it with GCC 6.x.x and newer.

piranna avatar Feb 26 '17 20:02 piranna

this sounds like the commit message of a pull request. but i can't see any patches attached here... did you see the comment about "project scope" in the README ?

rofl0r avatar Feb 26 '17 23:02 rofl0r

Yes, I've read it, but in fact the other repo is too much difficult to understand how to integrate it. Seems the other repo generates a full cross-toolchain, that's not a bad thing, but I'm using my own one (nodeos-cross-toolchain) so I'm only interested on the GCC patch and no more. Current patches are easy to apply but the ones on the other repo it's not clear about how to apply them, so since it's from the same 5.x branch, I think it would make sense to also add an upgrade here, specially having such an important bug like not being able to compile GCC with 6.x and newer ones, so I think at least the fix patch should be applied and backported here...

piranna avatar Feb 26 '17 23:02 piranna

i agree that it'd be nice to have but it's work... as a quicky, you could try to just cat *.diff > cumulative.patch in the musl-cross-make repo in the patches/gcc-6.3.0 dir. and then add it to your toolchain or this repo here.

rofl0r avatar Feb 27 '17 21:02 rofl0r