unofficial mirror of bug-guix@gnu.org 
 help / color / Atom feed
* bug#41775: System cross-compilation to i585-pc-gnu vs. grafts
@ 2020-06-09 12:01 Ludovic Courtès
  2020-06-20 21:37 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2020-06-09 12:01 UTC (permalink / raw)
  To: 41775

Hello!

Attempting to cross-build the system to i586-pc-gnu with grafts enabled
leads to something fishy:

--8<---------------cut here---------------start------------->8---
$ git log |head -1
commit a50628bbe0fa4ba3835e311098e4fdf7a1d8a29e
$ ./pre-inst-env guix system build --target=i586-pc-gnu gnu/system/examples/bare-hurd.tmpl -n
The following derivations would be built:
   /gnu/store/3dphrw8kka8x3pj1xshc7wxv18spcp9s-tzdata-2019c.drv
   /gnu/store/ry0pzyhawjkjmz343dda3in2fbbaax5b-net-tools-1.60-0.479bb4a.drv
   /gnu/store/jwwsf3kky7qwbi0kswbqa76dk069hj4a-linux-libre-headers-cross-x86_64-linux-5.4.20.drv
   /gnu/store/sa56z96rixkghpf3z1rv0sqc41rfix4d-gcc-cross-sans-libc-x86_64-linux-7.5.0.drv
   /gnu/store/kcrrjh29qawb2yhsq41hvggbymnmy67h-glibc-cross-x86_64-linux-2.31.drv
   /gnu/store/lj7acjnbza54j1kv0n8imdclh70087s3-gcc-cross-x86_64-linux-7.5.0.drv
47.9 MB would be downloaded:
   /gnu/store/1gyikmvlmdvblg5q6j2aj1dp5dln6d0v-guix-1.1.0-9.ab9e300
   /gnu/store/70qjgxkdvjsqb3q14yyam9wk8sd48azc-openldap-2.4.49
   /gnu/store/w1rm6r3dmhsvqpb5biwy0hck7swij9z1-curl-7.69.1
   /gnu/store/bbm5x79iqrwy0mcx6yr4hq3x5n641jya-git-minimal-2.26.2
$ guix graph --path -t derivation /gnu/store/ry0pzyhawjkjmz343dda3in2fbbaax5b-net-tools-1.60-0.479bb4a.drv /gnu/store/sa56z96rixkghpf3z1rv0sqc41rfix4d-gcc-cross-sans-libc-x86_64-linux-7.5.0.drv
/gnu/store/ry0pzyhawjkjmz343dda3in2fbbaax5b-net-tools-1.60-0.479bb4a.drv
/gnu/store/jwwsf3kky7qwbi0kswbqa76dk069hj4a-linux-libre-headers-cross-x86_64-linux-5.4.20.drv
/gnu/store/sa56z96rixkghpf3z1rv0sqc41rfix4d-gcc-cross-sans-libc-x86_64-linux-7.5.0.drv
--8<---------------cut here---------------end--------------->8---

The “x86_64-linux” cross-toolchain look very bogus.  It disappears when
adding ‘--no-grafts’.

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#41775: System cross-compilation to i585-pc-gnu vs. grafts
  2020-06-09 12:01 bug#41775: System cross-compilation to i585-pc-gnu vs. grafts Ludovic Courtès
@ 2020-06-20 21:37 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-06-20 21:37 UTC (permalink / raw)
  To: 41775-done

Hi,

Ludovic Courtès <ludo@gnu.org> skribis:

> Attempting to cross-build the system to i586-pc-gnu with grafts enabled
> leads to something fishy:
>
> $ git log |head -1
> commit a50628bbe0fa4ba3835e311098e4fdf7a1d8a29e
> $ ./pre-inst-env guix system build --target=i586-pc-gnu gnu/system/examples/bare-hurd.tmpl -n
> The following derivations would be built:
>    /gnu/store/3dphrw8kka8x3pj1xshc7wxv18spcp9s-tzdata-2019c.drv
>    /gnu/store/ry0pzyhawjkjmz343dda3in2fbbaax5b-net-tools-1.60-0.479bb4a.drv
>    /gnu/store/jwwsf3kky7qwbi0kswbqa76dk069hj4a-linux-libre-headers-cross-x86_64-linux-5.4.20.drv
>    /gnu/store/sa56z96rixkghpf3z1rv0sqc41rfix4d-gcc-cross-sans-libc-x86_64-linux-7.5.0.drv
>    /gnu/store/kcrrjh29qawb2yhsq41hvggbymnmy67h-glibc-cross-x86_64-linux-2.31.drv
>    /gnu/store/lj7acjnbza54j1kv0n8imdclh70087s3-gcc-cross-x86_64-linux-7.5.0.drv
> 47.9 MB would be downloaded:
>    /gnu/store/1gyikmvlmdvblg5q6j2aj1dp5dln6d0v-guix-1.1.0-9.ab9e300
>    /gnu/store/70qjgxkdvjsqb3q14yyam9wk8sd48azc-openldap-2.4.49
>    /gnu/store/w1rm6r3dmhsvqpb5biwy0hck7swij9z1-curl-7.69.1
>    /gnu/store/bbm5x79iqrwy0mcx6yr4hq3x5n641jya-git-minimal-2.26.2
> $ guix graph --path -t derivation /gnu/store/ry0pzyhawjkjmz343dda3in2fbbaax5b-net-tools-1.60-0.479bb4a.drv /gnu/store/sa56z96rixkghpf3z1rv0sqc41rfix4d-gcc-cross-sans-libc-x86_64-linux-7.5.0.drv
> /gnu/store/ry0pzyhawjkjmz343dda3in2fbbaax5b-net-tools-1.60-0.479bb4a.drv
> /gnu/store/jwwsf3kky7qwbi0kswbqa76dk069hj4a-linux-libre-headers-cross-x86_64-linux-5.4.20.drv
> /gnu/store/sa56z96rixkghpf3z1rv0sqc41rfix4d-gcc-cross-sans-libc-x86_64-linux-7.5.0.drv
>
> The “x86_64-linux” cross-toolchain look very bogus.  It disappears when
> adding ‘--no-grafts’.

Fixed by these two commits:

  9ee8b41f2b gnu: gnutls: Leave #:disallowed-references empty for GNU/Hurd.
  50e7e6a065 build-system/gnu: Cross builds properly handle #:allowed-references & co.

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09 12:01 bug#41775: System cross-compilation to i585-pc-gnu vs. grafts Ludovic Courtès
2020-06-20 21:37 ` Ludovic Courtès

unofficial mirror of bug-guix@gnu.org 

Archives are clonable:
	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git