unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#48084: ustr fails to cross-compile, even when using cc-for-target
@ 2021-04-28 17:16 Maxime Devos
  2021-04-28 18:54 ` Maxime Devos
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Devos @ 2021-04-28 17:16 UTC (permalink / raw)
  To: 48084

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

Severity: minor

This is without transparant qemu emulation, on a x86-64 Linux box.
Command: ./pre-inst-env guix build ustr --target=aarch64-linux-gnu.
(First patch ustr to use "CC=TARGET-gcc").
The package fails to build.  Some parts of the log that seem relevant:

(during configuration)
	sed -e "s,@HAVE_STDINT_H@,$have_stdint_h,g" -e "s,@USE_ASSERT@,$dbg1,g" -e "s,@USE_EOS_MARK@,$dbg2,g" -e "s,@HAVE_64bit_SIZE_MAX@,$sz64,g" -e "s,@HAVE_RETARDED_VSNPRINTF@,$vsnp,g" < ustr-
conf.h.in > ustr-conf-debug.h
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh: line 1: ./autoconf_64b: cannot execute binary file: Exec format error
(during compilation

ustr-main.h:204:34: error: #if with no expression
 #if USTR_CONF_HAVE_64bit_SIZE_MAX

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#48084: ustr fails to cross-compile, even when using cc-for-target
  2021-04-28 17:16 bug#48084: ustr fails to cross-compile, even when using cc-for-target Maxime Devos
@ 2021-04-28 18:54 ` Maxime Devos
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Devos @ 2021-04-28 18:54 UTC (permalink / raw)
  To: 48084-done

[-- Attachment #1: Type: text/plain, Size: 159 bytes --]

Fixed in 1059d1570b7078e6a83e067577b42ed24ee25b55
<https://git.savannah.gnu.org/cgit/guix.git/commit/?id=1059d1570b7078e6a83e067577b42ed24ee25b55>
by nckx.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

end of thread, other threads:[~2021-04-28 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 17:16 bug#48084: ustr fails to cross-compile, even when using cc-for-target Maxime Devos
2021-04-28 18:54 ` Maxime Devos

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	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 http://ou63pmih66umazou.onion/public-inbox.git