ustr fails to cross-compile, even when using cc-for-target

  • Done
  • quality assurance status badge
Details
One participant
  • Maxime Devos
Owner
unassigned
Submitted by
Maxime Devos
Severity
minor

Debbugs page

Maxime Devos wrote 4 years ago
(address . bug-guix@gnu.org)
f71cdb59af274d808f86df4f7cac3dafdafb0ca7.camel@telenet.be
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.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYImYYRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gQkAQCR6fKo0LLW2v38sbgXrCQAhfpt
KZB71NucfqzYu8s8BwD8DZ/U4167h7kBV5Ajj0Hio3EFsObzzbScIcNC8dJH+gU=
=zTP4
-----END PGP SIGNATURE-----


Maxime Devos wrote 4 years ago
(address . 48084-done@debbugs.gnu.org)
dcc5faa20cb452ef3cd72c30f79ee7812f1370ca.camel@telenet.be
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYImvVRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vAYAQC7liBJtAnBOlMKFMIEnx52FUcu
o3hInwR8LAtQJAURuQD+Lo4vZ3CBY1ic3f/dmFnLMwRk1EefJ8NloP2u4+J/FgY=
=ZQV4
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 48084@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 48084
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help