From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 3ABDB3858D20; Wed, 13 Dec 2023 19:36:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3ABDB3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3ABDB3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=68.232.141.98 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702496219; cv=none; b=RDD/Hvr81TybqOOvyGrTjS1Ou2SBNJwEhaKahFFiBgTF53Fi97Hwb9T4OH36w7ldu2gGrYSvzyS5vl4xPPT6ae6SM7MQkc3kabfkL4n0kvcU8ZLJlolXk0k/vbsmfBvxN/LoY+0KQezgSPsYBB15cI5i+G5i5zij+G9CD/EUVAA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702496219; c=relaxed/simple; bh=PCx87ESsHmvFulBApz0CWqtTWZECaD/LnUbM2jb8Py8=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=BmKSadTCaCWDVnXIlT3g783kiIBSNUyrPWDzFidf3GeDq4KAMms5t+8bmaiIpSnodDZu8VuwCaP1ax4SH+ZHgmgvZhaiGS3qmocIdaI0q2oIAxxMjch4Jv/QVeFbxPAbkLx3VYUD+Y0cJzQACXcvOMrhOIGAoN3NFRhVXvLIWk0= ARC-Authentication-Results: i=1; server2.sourceware.org X-CSE-ConnectionGUID: yC1snN3hRpGKWHZcAMrWfA== X-CSE-MsgGUID: KneuJvESRZG7JETeg1TlOg== X-IronPort-AV: E=Sophos;i="6.04,273,1695715200"; d="scan'208";a="28194741" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 13 Dec 2023 11:36:56 -0800 IronPort-SDR: 0ehCrQ8u6xGJ7EIGACaItbf2q/25L2NhUn55reumf4Q83xLsrBLvrzE5mR94dONvj72QEXgVFd 7p6IfBVAdMdTB9/LYdJ5n9fqwoY6zod8jAF0YQXM7OVEyXQJnOySkJBheYXRi1UHCCMAR6W2uO 407oh2GJ343VmrOYY/z3UfcOTnzX9aUGhxMImoHdcaHesd5hDfdaIAMQJokx/ZZwRXNNwjbJQn yOOht367m98pQ4ncQy7GRgkC2z+eGQOLA0lC/53/iAegH9OCQPbzMpO6OHYsCrO2p/PoO2gYgb 1Uo= From: Thomas Schwinge To: Jerry D CC: Andrew Stubbs , Tobias Burnus , Jakub Jelinek , , Subject: Re: Build breakage In-Reply-To: <9ffed162-2197-4acd-b72c-1946dc899f86@gmail.com> References: <9ffed162-2197-4acd-b72c-1946dc899f86@gmail.com> User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) Date: Wed, 13 Dec 2023 20:36:40 +0100 Message-ID: <87cyv999o7.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-14.mgc.mentorg.com (139.181.222.14) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi! On 2023-12-13T11:15:54-0800, Jerry D via Gcc wrote: > I am getting this failure to build from clean trunk. This is due to commit r14-6499-g348874f0baac0f22c98ab11abbfa65fd172f6bdd "libgomp: basic pinned memory on Linux", which supposedly was only tested with '--disable-multilib' or so. As Andrew's now on vacations -- conveniently ;-P -- I'll soon push a fix. (To restore your build, you may locally disable the 'gomp_debug' call, or cast 'size' into '(long) size', for example.) Gr=C3=BC=C3=9Fe Thomas > In file included from ../../../../trunk/libgomp/config/linux/allocator.c:= 31: > ../../../../trunk/libgomp/config/linux/allocator.c: In function > =E2=80=98linux_memspace_alloc=E2=80=99: > ../../../../trunk/libgomp/config/linux/allocator.c:70:26: error: format > =E2=80=98%ld=E2=80=99 expects argument of type =E2=80=98long int=E2=80=99= , but argument 3 has type > =E2=80=98size_t=E2=80=99 {aka =E2=80=98unsigned int=E2=80=99} [-Werror=3D= format=3D] > 70 | gomp_debug (0, "libgomp: failed to pin %ld bytes of" > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 71 | " memory (ulimit too low?)\n", size); > | ~~~~ > | | > | size_t > {aka unsigned int} > ../../../../trunk/libgomp/libgomp.h:186:29: note: in definition of macro > =E2=80=98gomp_debug=E2=80=99 > 186 | (gomp_debug) ((KIND), __VA_ARGS__); \ > | ^~~~~~~~~~~ > ../../../../trunk/libgomp/config/linux/allocator.c:70:52: note: format > string is defined here > 70 | gomp_debug (0, "libgomp: failed to pin %ld bytes of" > | ~~^ > | | > | long int > | %d ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955