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

Full log


View this message in rfc822 format

From: Martin Štrympl <sfence.software <at> gmail.com>
To: 72916 <at> debbugs.gnu.org
Subject: bug#72916: 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.