mbox

[bug#36322,0/4,core-updates] Fix cross-compiling bootstrap tarballs

Message ID 20190621122411.17847-1-mbakke@fastmail.com
Headers show

Message

Marius Bakke June 21, 2019, 12:24 p.m. UTC
With these patches, we can again cross-compile the bootstrap tarballs on
core-updates.

As of commit bd0dc2df04a1550f41d3d5c7cc2c26ad12468b36, here are my
results for armhf and Hurd(!):

$ ./pre-inst-env guix build --target=arm-linux-gnueabihf bootstrap-tarballs 
/gnu/store/q245c0s6cc55ziamfxpv43lwbnxaw0n6-bootstrap-tarballs-0
$ guix hash -rx $(!!)
01lksw8qw973bc2lllz97pxm67x84rz8crbdiqwnlbyjq0j3mvaq

$ ./pre-inst-env guix build  --target=i586-pc-gnu bootstrap-tarballs
/gnu/store/4i3zxmzcrpg2h8inwgfd24sdsgan9jw7-bootstrap-tarballs-0
$ guix hash -rx $(!!)
17yjlqvwlv8v28qm5v888kshx30djylml9fgpwkcqvx3idzw7i1v

Now, I haven't actually tried bootstrapping a system from these yet.
Do we have automated tests for that?

Marius Bakke (4):
  gnu: make-bootstrap: Remove obsolete header file.
  gnu: make-bootstrap: Restore cross-compilation workarounds.
  gnu: make-bootstrap: Adjust for GCC 7.
  gnu: bootstrap-tarballs: Don't include the native mes when
    cross-compiling.

 gnu/packages/make-bootstrap.scm | 64 ++++++++++++++++++++++++---------
 guix/build/make-bootstrap.scm   |  1 -
 2 files changed, 47 insertions(+), 18 deletions(-)

Comments

Simon Tournier April 7, 2022, 1:18 p.m. UTC | #1
Hi Marius,

What is the status of this patch series [1]?

1: <http://issues.guix.gnu.org/issue/36322>


On Fri, 21 Jun 2019 at 14:24, Marius Bakke <mbakke@fastmail.com> wrote:
> With these patches, we can again cross-compile the bootstrap tarballs on
> core-updates.
>
> As of commit bd0dc2df04a1550f41d3d5c7cc2c26ad12468b36, here are my
> results for armhf and Hurd(!):
>
> $ ./pre-inst-env guix build --target=arm-linux-gnueabihf bootstrap-tarballs
> /gnu/store/q245c0s6cc55ziamfxpv43lwbnxaw0n6-bootstrap-tarballs-0
> $ guix hash -rx $(!!)
> 01lksw8qw973bc2lllz97pxm67x84rz8crbdiqwnlbyjq0j3mvaq
>
> $ ./pre-inst-env guix build  --target=i586-pc-gnu bootstrap-tarballs
> /gnu/store/4i3zxmzcrpg2h8inwgfd24sdsgan9jw7-bootstrap-tarballs-0
> $ guix hash -rx $(!!)
> 17yjlqvwlv8v28qm5v888kshx30djylml9fgpwkcqvx3idzw7i1v
>
> Now, I haven't actually tried bootstrapping a system from these yet.
> Do we have automated tests for that?

I think the next action is waiting an answer for this question,
eventually. :-)

> Marius Bakke (4):
>   gnu: make-bootstrap: Remove obsolete header file.
>   gnu: make-bootstrap: Restore cross-compilation workarounds.
>   gnu: make-bootstrap: Adjust for GCC 7.
>   gnu: bootstrap-tarballs: Don't include the native mes when
>     cross-compiling.
>
>  gnu/packages/make-bootstrap.scm | 64 ++++++++++++++++++++++++---------
>  guix/build/make-bootstrap.scm   |  1 -
>  2 files changed, 47 insertions(+), 18 deletions(-)


What would the next step?  More tests?  Merge into core-updates?  Other?


Cheers,
simon
Marius Bakke April 7, 2022, 9:15 p.m. UTC | #2
zimoun <zimon.toutoune@gmail.com> skriver:

> Hi Marius,
>
> What is the status of this patch series [1]?
>
> 1: <http://issues.guix.gnu.org/issue/36322>

[...]

>> Marius Bakke (4):
>>   gnu: make-bootstrap: Remove obsolete header file.
>>   gnu: make-bootstrap: Restore cross-compilation workarounds.
>>   gnu: make-bootstrap: Adjust for GCC 7.
>>   gnu: bootstrap-tarballs: Don't include the native mes when
>>     cross-compiling.
>>
>>  gnu/packages/make-bootstrap.scm | 64 ++++++++++++++++++++++++---------
>>  guix/build/make-bootstrap.scm   |  1 -
>>  2 files changed, 47 insertions(+), 18 deletions(-)

This series is long obsolete, closing!

Thanks for the reminder.  :-)