-
Notifications
You must be signed in to change notification settings - Fork 4
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
Docker build fails at zlib-ng #2
Comments
@pgaskin mentioned something to that effect a few weeks/months ago. I've updated the script on my end, but I haven't rebuilt zlib-ng in a bit either, so it may need a refresh again. I can afford to deal with this in my scripts because I know I'll ultimately fix it once I actually need to run them again, but the Docker script definitely ought to be pinning zlib-ng to a known-good commit ;). |
It doesn't, since the triggered GH Actions build in April didn't work either... |
The kernel buildsystem has a compiler detection mechanism, which means that in practice, old kernels won't recognize new GCC, and havoc ensues. Since NickelTC/the nickel koxtoolchain target build GCC 4.9, that's old enough to deal with that for all the kernels we care about. TL;DR: Don't build kernels with GCC 11, no ;). All the https://github.com/NiLuJe/mxc_epdc_fb_damage modules shipped in https://github.com/NiLuJe/NanoClock were built with the nickel target (gcc 4.9) for that reason, while everything else is built via the kobo target (gcc 11). |
When I said "the script", I meant mine, not the NickelTC Docker tooling. (Which, again, I haven't re-run in over a year). |
Re-reading your original post, if you just want to build kernels, simply build the |
I wasn't intending to build with GCC 11 at all... For your second message: OK, I didn't see that, thanks |
GCC 11 is for "new" stuff, not NickelTC, that has to be pinned to 4.9 by design. I've had no issues w/ GCC11, and, in fact, I think UMR & the custom Qt5 QPA are now built with GCC 11, too. |
Not quite sure I follow. But that's essentially what my script does: start from the nickel target, then x-build the nickel sysroot with it, and then merge the two together and make Qt5 relocatable for ease of use. EDIT: Well, the actual relocation & merge scripts are archived in the experiments repo, I haven't touched them in over a year, so YMMV. I keep forgetting to import them with the rest in SVN, but, again delayed until I actually need to rebuild it. |
Unless @Rain92 found a fix for this, I encountered numerous build errors saying |
Unless you're actually building old Qt versions, that's odd. (Remember, Gentoo: we've been building Qt w/ bleeding edge TCs since the dawn of time ;)). |
Yep, IIRC it was namely in |
You should have read the eselect news first ;). |
Oh, I did; I'm on |
I haven't pulled NiLuJe's updated scripts yet. The GH actions build worked until zlib-ng (which I forgot to pin) got updated. If you want the raw toolchain, just export the latest docker image and extract the nickeltc dir. |
I'm building NickelTC on native armv8 (Raspberry Pi) for armv7 to be able to compile Kobo kernels when on vacation/traveling with a lightweight workstation. So far, I jumped through a few hoops for Qt and koxtoolchain, but I wanted NickelTC for kernels, since it worked in the past for me and you know how Kobos are finicky with this...
I ran
docker build .
after cloning the repo, Crosstool-NG went fine, but then the buildscript failed atzlib-ng
. IIRC, this happened in theTrigger build
commit you made 1st of April:I think the file has changed since last time you created a patch for it, because you're cloning the upstream repo and not a specific commit.
It's my very first time with Docker, I'm not particularly liking it but if you have any suggestions to fix this, it would be appreciated :D
The text was updated successfully, but these errors were encountered: