GNU bug report logs - #78377
Cross-Compile - "src/make-prime-list: cannot execute: required file not found"

Previous Next

Package: coreutils;

Reported by: NR <nroycea+gnu <at> gmail.com>

Date: Sun, 11 May 2025 15:44:05 UTC

Severity: normal

Tags: fixed

Merged with 12741

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 78377 <at> debbugs.gnu.org (full text, mbox):

From: Collin Funk <collin.funk1 <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 78377 <at> debbugs.gnu.org
Subject: Re: bug#78377: Cross-Compile - "src/make-prime-list: cannot
 execute: required file not found"
Date: Thu, 15 May 2025 22:36:31 -0700
[Message part 1 (text/plain, inline)]
Hi Paul,

Paul Eggert <eggert <at> cs.ucla.edu> writes:

> Yes, that should work, so long as the build host isn't a Microsoft
> Windows platform that would require $(BUILD_EXEEXT). And that should
> be good enough; we don't need the full power of AX_PROG_CC_FOR_BUILD
> from the Autoconf Archive.

Here is a patch that worked in an x86 docker container with an arm64
cross compiler.

Can we just assume that crc will always be used and depend on
build-cc.m4? I guess the more robust way to do things is to do the
following in bootstrap.conf:

    bootstrap_post_import_hook ()
    {
      $gnulib_tool --copy-file m4/build-cc.m4
    }

Like we do for tests/init.sh.

Collin

[0001-build-allow-make-prime-list-to-build-when-cross-comp.patch (text/x-patch, attachment)]

This bug report was last modified 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.