bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#72916: Cross build MacOS arm64 to MacOS x86_64 and probably others c


From: Martin Štrympl
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).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]