From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +DyhOKxHXmDDOwAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 21:44:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8FNvM6xHXmAQCQAAB5/wlQ (envelope-from ) for ; Fri, 26 Mar 2021 20:44:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4ABE41A54F for ; Fri, 26 Mar 2021 21:44:28 +0100 (CET) Received: from localhost ([::1]:36458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPtJj-0000bT-Dw for larch@yhetil.org; Fri, 26 Mar 2021 16:44:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPtJK-0000Ya-22 for bug-guix@gnu.org; Fri, 26 Mar 2021 16:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59311) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPtJJ-0000Cb-OC for bug-guix@gnu.org; Fri, 26 Mar 2021 16:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPtJJ-0002Mv-MJ for bug-guix@gnu.org; Fri, 26 Mar 2021 16:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47325: newlib-nano: are lib names wrong? References: <87ft0nnm7r.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87ft0nnm7r.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Morgan Smith Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 26 Mar 2021 20:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47325 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: anothersms@gmail.com Received: via spool by 47325-submit@debbugs.gnu.org id=B47325.16167914099058 (code B ref 47325); Fri, 26 Mar 2021 20:44:01 +0000 Received: (at 47325) by debbugs.gnu.org; 26 Mar 2021 20:43:29 +0000 Received: from localhost ([127.0.0.1]:42624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPtIn-0002M2-7U for submit@debbugs.gnu.org; Fri, 26 Mar 2021 16:43:29 -0400 Received: from mail-mw2nam12olkn2045.outbound.protection.outlook.com ([40.92.23.45]:6752 helo=NAM12-MW2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPtIk-0002Lm-E9 for 47325@debbugs.gnu.org; Fri, 26 Mar 2021 16:43:27 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c8HctbRbgsxAVJdlUpzE4Vh52B7VfvEshJjPGikUzkQAeaZbWoJDFDo0Lxwnc1v1nulHuOtuyJJimvVFM1EhKppOrFMgRKzbB/BwCisTGfHhXxS/9o9ZAfeUXcaPBK/yorAq1SVDiMmN/nCYVMtpi3cyqQS+TPnNhir0lvtTzkxiP9IEbv7AEqBXnydYjR/nSqn3Lk7jP4nvZRz2PT6fpi7SCYpFCmd8p/ZdGasZTly7UbA6O2IL5rB7UXn7dJuAGrmAEPYhJzc4G+nK9amSaBKIa769vhXU6KX2qgp2Upjb9kxEaQMd8KzEYVP+xoXuuCOze/FlKpdBHeH+8VYdnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gmmPzAmyuTbL5nGkAiJHRBoX1f6nemOVL3tbku+iAAY=; b=JosXFw9b0H/bWlcvCl6X3tGTS713fThiZcAyiJmcxOXbZHuc+Hh+JDELrhEcNx6sF3/9r19ajOIykFLcgw0vg8qS4KMdy+LF87Y11UnCYG0DHEiV861NbH+MQA7+vzfaYaDzLKtYB9wZ4oyMQ//Q4TdYx19qejvl8GlNsuEADMM6TGmHFjm40D8h1zB3gTsYstdpcPQalULpT3GJaXP1J9jUQYFSyvJcRkTfyXsZTOTCWaD8pqQZoMeXUwXsP43At1CZWXSCSSNt+7VCf0pWwVIzBtwyJfQDYrozU7g5hk4+THD/IL7FI9USgIW0ZRbXXqvJsX9K+LvOOkBCqcvNtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gmmPzAmyuTbL5nGkAiJHRBoX1f6nemOVL3tbku+iAAY=; b=Ur8lH+Zh18r1jCfjIJ6ii/2IOFcv2c7DOjsbyXsypVGKIdrn2oC2QR59d8NBUWvHOhNmg5KkvVl47ldk56PZFgGtu7qhJhes21ZLSYEDt7LiPNXc9lGbBSOT1lXf4P9pLqHPffxjXnJl6aR/ugzt7oXWDLFkqPd8f3II1Szi3AGSCqZ3OxBVcyinK+cuBntiDjxxfc/A3x0LrUbYgvakb6dhFBklWS9/B/HzXJMvXHElX/I1keyHudwHxWpB4sAYQ4a+43U/6jo5h6h8F74HiwQ4GuQgNTjGqGUYbovsLDed4qFX1zKZs0MJvJV7D/7y/WNvPVt6Mikz/DyT2wjtCA== Received: from MW2NAM12FT033.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::4f) by MW2NAM12HT024.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.14; Fri, 26 Mar 2021 20:43:19 +0000 Received: from BYAPR05MB4023.namprd05.prod.outlook.com (2a01:111:e400:fc65::44) by MW2NAM12FT033.mail.protection.outlook.com (2a01:111:e400:fc65::297) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.14 via Frontend Transport; Fri, 26 Mar 2021 20:43:19 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:4C0554D3D4BD5BFA234D7460C500623D538A648498A97FAFBB84D7D269A345C2; UpperCasedChecksum:DC0AD181C4877CAF8D5AB96054A23A85667BE355D0A7E8475AE5BC78C4748D1A; SizeAsReceived:8361; Count:44 Received: from BYAPR05MB4023.namprd05.prod.outlook.com ([fe80::285e:b16b:c1cb:7374]) by BYAPR05MB4023.namprd05.prod.outlook.com ([fe80::285e:b16b:c1cb:7374%7]) with mapi id 15.20.3999.015; Fri, 26 Mar 2021 20:43:19 +0000 From: Morgan Smith Date: Fri, 26 Mar 2021 16:42:40 -0400 Message-ID: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TMN: [51grtOCl7ovfsUidAiPVLSv+mtCFUli1] X-ClientProxiedBy: YT1PR01CA0087.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:2d::26) To BYAPR05MB4023.namprd05.prod.outlook.com (2603:10b6:a02:87::30) X-Microsoft-Original-Message-ID: <87v99dzlxb.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pancake (67.70.130.205) by YT1PR01CA0087.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:2d::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.24 via Frontend Transport; Fri, 26 Mar 2021 20:43:16 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 44 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: a06984eb-7a79-400a-d0af-08d8f097c8dc X-MS-TrafficTypeDiagnostic: MW2NAM12HT024: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6WA7Dw2fBizhj6cSkwjPncchvkc9LXb4nugq1QoO2ZDLwua0Gs2hBSC5jVNAqF7CtGVCX2ZuRC66YCx0YCPLwcu9dYfdmy4jDLCtDM5O4uUWQ/qdGYWNpqRK24wrA7QMu6aqg69BOVII020Auod014Sh7E3bd6Zv/NvRTQLE/1P5VPec+OtPTYXx3YYF58If9io0PYaAvkuKQX3JavomQZaF2NWVuiTOX7MknVOfPWk2lg+03h7BeuJywnGbzW0vZiT4yCMz6o64lY95l3VNiYfR269yb3w1Rdw0TYs2Ccte+3hbjGbwZ94FwcXie1o2+6la1uKtVZi+StHsrLOt6gLJ+0TkWuDMN3oy/kDpUBh53lsOOUdzYLDBY8OckUIegFrSZslGVIQqreE4TV9O2VIvM8jKPyaxRUnzk27qHck= X-MS-Exchange-AntiSpam-MessageData: Ejf921y3yRkd4GRxrXIRZDoX+x9QuyCqBuYSFgXidcsEEBIlCCGWFQ0k7zv6kstKWwVCuq/mi3Hxed81lPx6XJaCykzI8q7zEWsIgxSgmZQNdwFjNRGgDYElxgBaGkoKiANfD0HBQkAzbFhQcn2RaQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a06984eb-7a79-400a-d0af-08d8f097c8dc X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2021 20:43:19.2826 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: MW2NAM12FT033.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM12HT024 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47325@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616791468; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gmmPzAmyuTbL5nGkAiJHRBoX1f6nemOVL3tbku+iAAY=; b=j1c1duyAOcYP3OzDpYtcKf4BDRRq6hZStM8zONGs4O1irXOHsbt++ABsi3COtq5P5z0Z2V zjimnKc7Mo+MJICscvuRbzl/dQqKcZhqwwvzMu/uMld8lgX1dGMRjslJYzTb4iUYLMOPhr 7oGAO0FcuLery4iXyd5nLE9ExSJW5merwzgDyDrSXyuieCQ0/OAknxCwen4f/gYKtD8f0P 1P/eAgAo4Sibj/E3afQPrzy+0Nx3/WygP/ENtd0QVZU/7JGvYxFfJcDb+M6X3c/18y3K1D 3qXPggS9Jni8QgeOUk4tl5CjPQWN1yDcQsXSB3ALpxkwUAmhLIjTUZhtt09i/g== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1616791468; a=rsa-sha256; cv=fail; b=j0qFVuYLWpWEGKGvFjNU2wPaA1MklMIwtpEGFafnllZ+quI57BZ4voMuPaMHkgaI3PjNyr C0b598vvMtWy0UVt8Zesnyy9/WA7bIAW1J1nYM8QbQBp8ty4zL5lx15BhwCFYmizeJpwVx pzevP+ZNTw/v03fI4MjF4nf1sR+8NoRT6vO0g20BudSXUYMcu4Fbf2XdJki8IAwqXIaPTN QAcG5QBzG3RfiOoumzFbF+u7FUq5ZtffbM7LlAtfeTyzzMaiHj2OoGQ9yjeChjBIwj3v1V 9tmJeE5HcGyE/pO5/d04zfAB2KOYj7zZUmedb5n51DraGMLqo+J6kDcz6huydA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=Ur8lH+Zh; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 1.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=Ur8lH+Zh; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 4ABE41A54F X-Spam-Score: 1.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: mwSCAcmd1mfw Hello Nicol=C3=B2, This is definitely a bug that I encountered today. I'm convinced it's a bug because I came across this page that says so: https://newlib.sourceware.narkive.com/kfT8XDEe/building-libc-nano-and-libg-= nano The git repo it links to has the following shell function. I think we should emulate its behavior. (On a slightly unrelated note, can someone PLEASE accept my patch in bug 44750 for a different arm-none-eabi issue. It's desperately needed.) copyNanoLibraries() { ( source=3D"${1}" destination=3D"${2}" messageA "\"nano\" libraries copy" multilibs=3D$("${destination}/bin/${target}-gcc" -print-multi-lib) sourcePrefix=3D"${source}/${target}/lib" destinationPrefix=3D"${destination}/${target}/lib" for multilib in ${multilibs}; do multilib=3D"${multilib%%;*}" sourceDirectory=3D"${sourcePrefix}/${multilib}" destinationDirectory=3D"${destinationPrefix}/${multilib}" mkdir -p "${destinationDirectory}" cp "${sourceDirectory}/libc.a" "${destinationDirectory}/libc_nano.a" cp "${sourceDirectory}/libg.a" "${destinationDirectory}/libg_nano.a" cp "${sourceDirectory}/librdimon.a" "${destinationDirectory}/librdimon_na= no.a" cp "${sourceDirectory}/libstdc++.a" "${destinationDirectory}/libstdc++_na= no.a" cp "${sourceDirectory}/libsupc++.a" "${destinationDirectory}/libsupc++_na= no.a" done mkdir -p "${destination}/${target}/include/newlib-nano" cp "${source}/${target}/include/newlib.h" "${destination}/${target}/includ= e/newlib-nano" if [ "${keepBuildFolders}" =3D "n" ]; then messageB "\"nano\" libraries remove install folder" maybeDelete "${top}/${buildNative}/${nanoLibraries}" fi ) }