Re: [PATCH] gnu: bootstrap-tarballs: Cross-compile for powerpc-linux-gnu.
Hi! csanchez...@gmail.com (Carlos Sánchez de La Lama) skribis: >> I ended up splitting it in 3 patches (gcc, linux-libre, and >> glibc-dynamic-linker) that I just pushed to ‘core-updates’. I also >> added copyright lines for you where appropriate. Hope that’s fine! > > Thats perfect :) > >>> I think the best way to proceed is integrate this onto core-updates >>> (once reviewed & approved), then generate a bootstrap binaries on hydra, >>> making them available for download on the bootstrap binaries URL. At >>> that point I can update the rest of the powerpc-linux-gnu patches (which >>> use this binaries) with the correct hashes, and send them to the list. >> >> Sounds like a good plan. >> >> Commit 9410a5aa916035bb4d7f032a5fe81cfb497887c8 adds powerpc-linux-gnu >> cross-builds for Hydra (though Hydra is currently busy with the >> ‘staging’ branch.) > > Nice! I will generate the bootstrap tarballs locally using that commit > to check everything target-side works, before hydra time is spent on > that. If everything goes all right, I will then update the powerpc > patches with the new hashes (and the expected URL for the binaries), so > any powerpc user can jump in and use/test GUIX. Sounds good! >>> As Ludo suggested, I am also preparing a tutorial/blog on the porting >>> process. >> >> Awesome! > > It is getting a little bit more complex than expected, and my time > allowance also shorter. I am writting a set of "steps" on how I made the > porting, including all the debugging I had to do, so what is already > written might be useful as it is (not only as a porting guide but also > as an example of GUIX hacking). Do you think it makes sense to publish > it already so I can complete it later? Or better wait till it is > finished? Up to you! If you have something that’s self-contained and intelligible to people who don’t have your experience, that’s probably fine. Cheers, Ludo’.
Re: [PATCH] gnu: bootstrap-tarballs: Cross-compile for powerpc-linux-gnu.
Hi Ludo! > Happy new year! :-) Thanks! Happy new year! > I ended up splitting it in 3 patches (gcc, linux-libre, and > glibc-dynamic-linker) that I just pushed to ‘core-updates’. I also > added copyright lines for you where appropriate. Hope that’s fine! Thats perfect :) >> I think the best way to proceed is integrate this onto core-updates >> (once reviewed & approved), then generate a bootstrap binaries on hydra, >> making them available for download on the bootstrap binaries URL. At >> that point I can update the rest of the powerpc-linux-gnu patches (which >> use this binaries) with the correct hashes, and send them to the list. > > Sounds like a good plan. > > Commit 9410a5aa916035bb4d7f032a5fe81cfb497887c8 adds powerpc-linux-gnu > cross-builds for Hydra (though Hydra is currently busy with the > ‘staging’ branch.) Nice! I will generate the bootstrap tarballs locally using that commit to check everything target-side works, before hydra time is spent on that. If everything goes all right, I will then update the powerpc patches with the new hashes (and the expected URL for the binaries), so any powerpc user can jump in and use/test GUIX. >> As Ludo suggested, I am also preparing a tutorial/blog on the porting >> process. > > Awesome! It is getting a little bit more complex than expected, and my time allowance also shorter. I am writting a set of "steps" on how I made the porting, including all the debugging I had to do, so what is already written might be useful as it is (not only as a porting guide but also as an example of GUIX hacking). Do you think it makes sense to publish it already so I can complete it later? Or better wait till it is finished? > Sorry again for the delay and the frustration it probably entailed. Do not worry. I know how it is with a lot of patches coming in :). I needed (and still need more) time for writing the tutorial anyways. Thanks! -- Carlos
Re: [PATCH] gnu: bootstrap-tarballs: Cross-compile for powerpc-linux-gnu.
Hello Carlos! Happy new year! :-) Leo just reminded me of this patch on IRC, and I feel guilty that it stood there for so long. Apologies! csanchez...@gmail.com (Carlos Sánchez de La Lama) skribis: > * gnu/packages/bootstrap.scm (glib-dynamic-linker): Add value for > powerpc-linux. > * gnu/packages/linux.scm (system->defconfig): New procedure. > (linux-libre-headers): Use system->defconfig. > * gnu/packages/cross-base.scm (xlinux-headers): Use system->defconfig. > * gnu/packages/gcc.scm (gcc-4.7): Add powerpc specific substitutions for > dynamic linker and start files locations. > * gnu/packages/make-bootstrap.scm (%gcc-static): Remove -lgcc_s added in > powerpc specific substitutions. I ended up splitting it in 3 patches (gcc, linux-libre, and glibc-dynamic-linker) that I just pushed to ‘core-updates’. I also added copyright lines for you where appropriate. Hope that’s fine! > I finally found some time to clean-up my work. This patch is for > core-updates branch, and allows bootstrap tarball generation by > > guix build --target=powerpc-linux-gnu bootstrap-tarballs > > I think the best way to proceed is integrate this onto core-updates > (once reviewed & approved), then generate a bootstrap binaries on hydra, > making them available for download on the bootstrap binaries URL. At > that point I can update the rest of the powerpc-linux-gnu patches (which > use this binaries) with the correct hashes, and send them to the list. Sounds like a good plan. Commit 9410a5aa916035bb4d7f032a5fe81cfb497887c8 adds powerpc-linux-gnu cross-builds for Hydra (though Hydra is currently busy with the ‘staging’ branch.) > As Ludo suggested, I am also preparing a tutorial/blog on the porting > process. Awesome! Sorry again for the delay and the frustration it probably entailed. Cheers, Ludo’.
Re: [PATCH] gnu: bootstrap-tarballs: Cross-compile for powerpc-linux-gnu.
Hi! I finally found some time to clean-up my work. This patch is for core-updates branch, and allows bootstrap tarball generation by guix build --target=powerpc-linux-gnu bootstrap-tarballs I think the best way to proceed is integrate this onto core-updates (once reviewed & approved), then generate a bootstrap binaries on hydra, making them available for download on the bootstrap binaries URL. At that point I can update the rest of the powerpc-linux-gnu patches (which use this binaries) with the correct hashes, and send them to the list. As Ludo suggested, I am also preparing a tutorial/blog on the porting process. BR Carlos -- It is better to be lucky. But I would rather be exact. Then, when luck comes you are ready. Ernest Hemingway, "The Old Man and the Sea" (1952)