unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: 48084@debbugs.gnu.org
Subject: bug#48084: ustr fails to cross-compile, even when using cc-for-target
Date: Wed, 28 Apr 2021 19:16:17 +0200	[thread overview]
Message-ID: <f71cdb59af274d808f86df4f7cac3dafdafb0ca7.camel@telenet.be> (raw)

[-- 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 --]

             reply	other threads:[~2021-04-28 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 17:16 Maxime Devos [this message]
2021-04-28 18:54 ` bug#48084: ustr fails to cross-compile, even when using cc-for-target Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f71cdb59af274d808f86df4f7cac3dafdafb0ca7.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=48084@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).