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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Martin Štrympl <sfence.software@HIDDEN>; dated Sat, 31 Aug 2024 13:48:01 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Aug 2024 13:47:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 31 09:47:46 2024
Received: from localhost ([127.0.0.1]:54253 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1skOSA-0007vN-8W
	for submit <at> debbugs.gnu.org; Sat, 31 Aug 2024 09:47:46 -0400
Received: from lists.gnu.org ([209.51.188.17]:35904)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sfence.software@HIDDEN>) id 1skMUP-0004Er-L9
 for submit <at> debbugs.gnu.org; Sat, 31 Aug 2024 07:41:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sfence.software@HIDDEN>)
 id 1skMTR-0002MN-AS
 for bug-libtool@HIDDEN; Sat, 31 Aug 2024 07:40:57 -0400
Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <sfence.software@HIDDEN>)
 id 1skMTP-0002cy-NL
 for bug-libtool@HIDDEN; Sat, 31 Aug 2024 07:40:57 -0400
Received: by mail-yw1-x112f.google.com with SMTP id
 00721157ae682-6d49cec2a5dso10725447b3.3
 for <bug-libtool@HIDDEN>; Sat, 31 Aug 2024 04:40:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1725104451; x=1725709251; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=pE/9oHT2bySYx0HIO0wItWU5YOThIn2K1hFCnllKXMI=;
 b=fMPI36zgLoirr/mY1dW0nCIwkTm5OjOIYzjEw8MsGZdsHcIAIerwPnhokVag62Wkl+
 Cz/auZ9mvduUE8S5G9AyenliN5y0Lc1LBwIAFXRLysnniiBZMJ5ld3VTJq+YRam6BWaQ
 7nerk1mTrwwuVLiErodIqrQ2lumoyLBLw+oAKG6FVjk6WQPpu40IcuQM1Rts7zxlvpJB
 lpjOh5+xk33PdHoWwOBy6qrlLsEHiPzxTZB01y2MUTioiIW68oIf6i/ddHdaXlbHYUmi
 U07c4ju1P4D2AVvnaphP8LxjY+C6sDAB8jyqX4TnyV82TTMLOAnY/iqbKJnsvybwNnm8
 4stw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1725104451; x=1725709251;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=pE/9oHT2bySYx0HIO0wItWU5YOThIn2K1hFCnllKXMI=;
 b=TzPaMD9L+1b0blNMvw3SWHFUVMdBwZch6CFsTnWVuLh+i54nMzQ8vSqCm5PxdWZxUz
 spzFiv8PsBQbP2R8ebCiZ64/CUsvR5MboAA/CjXdI9fPzwngxK/DBSvUpcRshqlczBDF
 NZspgD5ZMxLnmppMi//hR+YXZrzMWZqRqdxFiPVZrLTfRgV1h4sNm7y6Zf2iz7DUQZ8H
 7sO0NQLMDObtKPvKusLTxFpcEWIMoQqFb2t/hLQJZ6OUkMtwjxn9KD2Mv6LDvNHY5OJh
 +y4esS19Tfa6/wgLaw6KIh9KVGUey7ag9sqnDEk1zwl434lYDcAQyUt4Y3FLY6GyFJ+9
 Haxg==
X-Gm-Message-State: AOJu0Yz8E9tZv7Co+m3xgKApqdGPbsdqD10h4Kaw8cwu1L9OhtzrMCWl
 EHCxIpwFTfOkUMIblElqU2MUGMCVm2QPTr5fsbTzAhFRTBFTpnWL5j+6FrklG+BpKN78NmdvUpe
 dofSCKsbCFS3nYepPvThm3VG+yk0orqssfL4=
X-Google-Smtp-Source: AGHT+IFMSS+eTheVabmMtOvkOMweA5oVWW1+Blmjp26pDMTvFHrxATyljb5s4ApeXCQRxR8A/rTb8Q3OhtNsWzbGS7s=
X-Received: by 2002:a05:690c:60ca:b0:665:54fa:5abf with SMTP id
 00721157ae682-6d40ee58ff5mr66604827b3.2.1725104450491; Sat, 31 Aug 2024
 04:40:50 -0700 (PDT)
MIME-Version: 1.0
From: =?UTF-8?Q?Martin_=C5=A0trympl?= <sfence.software@HIDDEN>
Date: Sat, 31 Aug 2024 13:40:39 +0200
Message-ID: <CAGCHcio2Oc7df+osRruj_0Y4UzennK+EUXu6_ZZc7nJ1RyZy2Q@HIDDEN>
Subject: Cross build MacOS arm64 to MacOS x86_64 and probably others cross
 build as well
To: bug-libtool@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::112f;
 envelope-from=sfence.software@HIDDEN; helo=mail-yw1-x112f.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 31 Aug 2024 09:47:44 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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).




Acknowledgement sent to Martin Štrympl <sfence.software@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#72916; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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