GNU bug report logs - #72916
Cross build MacOS arm64 to MacOS x86_64 and probably others cross build as well

Previous Next

Package: libtool;

Reported by: Martin Štrympl <sfence.software <at> gmail.com>

Date: Sat, 31 Aug 2024 13:48:01 UTC

Severity: normal

To reply to this bug, email your comments to 72916 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#72916; Package libtool. (Sat, 31 Aug 2024 13:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Štrympl <sfence.software <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Sat, 31 Aug 2024 13:48:01 GMT) Full text and rfc822 format available.

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

From: Martin Štrympl <sfence.software <at> gmail.com>
To: bug-libtool <at> gnu.org
Subject: Cross build MacOS arm64 to MacOS x86_64 and probably others cross
 build as well
Date: Sat, 31 Aug 2024 13:40:39 +0200
in libtool.m4 file:

line 1130 in last downloaded version 2.4.7
_LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib
    -o \$lib-master.o \$libobjs~\$CC -dynamiclib
\$allow_undefined_flag -o \$l     ib \$lib-master.o \$deplibs
\$compiler_flags -install_name \$rpath/\$soname
\$verstring$_lt_dsymutil"

probably missing $compiler_flags variable in first CC command.

This probably causes
https://github.com/gperftools/gperftools/issues/1552 and simular
problem with GMP 6.3.0 cross build (also *-master.o file affected)

As result in cross build -master.o files is linked for architecture
where build process run, not for architecture where it should run
(defined by --host).




This bug report was last modified 289 days ago.

Previous Next


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