From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) by sourceware.org (Postfix) with ESMTPS id D1368386F40E for ; Tue, 2 Feb 2021 19:47:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D1368386F40E Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 112Jj1n6071562; Tue, 2 Feb 2021 19:47:07 GMT Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 36cydkvk0j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 02 Feb 2021 19:47:07 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 112JfTuq022596; Tue, 2 Feb 2021 19:47:07 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by aserp3030.oracle.com with ESMTP id 36dh1pjxtt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 02 Feb 2021 19:47:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ix8x8Or+49a4LN7Zikofrys9KEkYEWLeTYfta/7ZJQoKlT5Jy7fvjGHaQftKJ6sCRElaxnAQsEgNtwkd7mzqaLz+wKlN83TDy51+OW4fnTQ1kK9zUx8TkqJ4xLYBY7aKm6a9mvNYDYFe9BsY/9y8o9VU9AsO300UUW5O5kP7WgAebDicKqfOQ4CyXZ9vvchc36EuoJ4eDNHYhCP9rJloQIiZdVIqu5liAy9KsyYJ0Mc0skAwUPxa/0UcjrVTsK1NQA3L1GjblBzJh4NWCYZ097QnBNsN8FJYrMDfDPSdx8OBRVbo/+b3vQCcwqEWSf+3Q5OeyqH4I7MLmsJZOVWNyg== 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=w3obMD5IEuZrGWHXht+z/5ZBhyDXwexpfWQpecj5RyY=; b=eCE5RU4bxK+qdTMeRAA7eBbAKoAfibvFzH3LaK/8ArMoz6QOcVNrev+t/T372M+oGEFNuW8YQYDqT/DjwEj7MF2+/iUKfjpmwPWNgpr/DwmMPp+xorrbLM8DC1G2gGFdOps4rPrwcEro7zSHG2GaBBQ2TO7OXrAE8wYGrVtIdWZtKTMLdyXiKpB5RxtpNthHeC0J24lKzrYc0TCG0BRx4Tdl8NHgbSoceawbRtU5ZB1FZaxpzdG/Mwwv0JYQgBosDnO0j2REhH9GPzkso3++r77c6IAHOY75lKVCVBwKg9Zq2NTCPhkWZsSuLpAGdgNCRLftDA71FPOHXn+QVIIM+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none Received: from SA2PR10MB4715.namprd10.prod.outlook.com (2603:10b6:806:fb::10) by SN6PR10MB2687.namprd10.prod.outlook.com (2603:10b6:805:49::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.16; Tue, 2 Feb 2021 19:47:05 +0000 Received: from SA2PR10MB4715.namprd10.prod.outlook.com ([fe80::7c52:48f6:5d6b:5643]) by SA2PR10MB4715.namprd10.prod.outlook.com ([fe80::7c52:48f6:5d6b:5643%7]) with mapi id 15.20.3805.028; Tue, 2 Feb 2021 19:47:05 +0000 From: Nick Alcock To: Stephen Casner Cc: binutils@sourceware.org Subject: Re: libctf, gdbsupport: intl/ problems with --with-included-gettext (was Re: [PATCH] ld: depend on libctf) References: <20210126195543.369264-1-nick.alcock@oracle.com> <87czxqr0f5.fsf@esperi.org.uk> <87r1m3le5t.fsf@esperi.org.uk> <87r1lyigb9.fsf_-_@esperi.org.uk> Emacs: well, why *shouldn't* you pay property taxes on your editor? Date: Tue, 02 Feb 2021 19:47:00 +0000 In-Reply-To: (Stephen Casner's message of "Tue, 2 Feb 2021 11:41:14 -0800 (PST)") Message-ID: <875z3agsln.fsf@esperi.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3.50 (gnu/linux) Content-Type: text/plain X-Originating-IP: [2001:8b0:1101:10::2] X-ClientProxiedBy: LO4P123CA0409.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:189::18) To SA2PR10MB4715.namprd10.prod.outlook.com (2603:10b6:806:fb::10) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from loom (2001:8b0:1101:10::2) by LO4P123CA0409.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:189::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.17 via Frontend Transport; Tue, 2 Feb 2021 19:47:04 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d1d746c5-6ade-4ebf-9cd7-08d8c7b35158 X-MS-TrafficTypeDiagnostic: SN6PR10MB2687: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1cakLowDPHUJSnL+h88QX2DWwzBmi6gRKX/4pxETaXgjFQTlb3CbVXn2RycD6WPAgEjONG3xGoeNJqYYIv9hHXHfdYJTE7Ai+tknUSOQSd/d2d148fdq+GhGBME+33RlysAChtd754P7s/nBl1Z9Fc4UK0pw/cYOGKhLg/sy23RIaSZLjHzZXn/aNt+7rTYtQOC4g2HmkWcdgI43qQr1JgXOZ+5c3a4AvkNVc1pEJT8WTygt+DSJQNYZr67u0QUgURd4goh/h6+rwm6LrAznAj9+6wA3hdJn9alTMFMPuGKyvg+xiT5Fj9rUWCfnl6EZcGRi+cCB5wVFRns90EtLnsvqcZ40dtBaGrQ1QH5XMOvvy6ImTLeh32u9pRIe8zifG1RDdp/YRrsOstoPjW5vHfJ6SjrZ5ilwYDu77hKYIwPPzGfhUVpk+8miXXQOY9fpdCoNoCHZS1sGRngMhGOdPROWBUUm4U2OzOrTsANnLvQtYDtP9SZJzIDBPn2UQgXdPRdRAD6s2nbiJ0m2otHc2g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4715.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(136003)(396003)(376002)(346002)(366004)(9686003)(478600001)(6496006)(83380400001)(6666004)(6486002)(52116002)(44832011)(4326008)(66946007)(36756003)(6916009)(8676002)(66556008)(8936002)(2906002)(186003)(66476007)(316002)(16526019)(86362001)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?ZcAN7/D9zxC6CzjwHE3e66R2Edcg/ZEBx1gXWMN05l0TdieHrlMH3vb6kB5G?= =?us-ascii?Q?f9cWgNlsHeJ6HbRu42sYWl2VvoBhH3GcY/pDKFyx71YUBuWe2DkfIyMv+Nap?= =?us-ascii?Q?3TXYQ3OpzCgKYh7Rc+DLOfXC+HDESVah1hi0oy+Xvoi4Qy3fbMZye7zmAF1o?= =?us-ascii?Q?XX34EjWcdIGbQTqIf+B5sbChJp0bn56zFsVzTol6ir216ahLwr3Wi51uJeMN?= =?us-ascii?Q?JKvu8D86x5/kjeH3EYKYB1+BW9SdnDTFg5KbASbfYFLyZM7Yofj4aTHNgr+X?= =?us-ascii?Q?HhH54oPV3TINUd/Ux720kLExg6a6KXZ0Au4GNXHZEDGbxwzI0yLBTg75DgX5?= =?us-ascii?Q?WjXk5siZGA1fUtNUHBJHdLJh15aNdD/jLM5RHb2S/X6y8nk8AMRKqXOw7Ofb?= =?us-ascii?Q?ePA0SoY/LX1T+L3ZbbLCVaAHfErQ576Zmxr1R8q57U2hRoxsCnS2bSh5JiAX?= =?us-ascii?Q?1SA1u9EEzGzM/w4N6KHUzBIKXi8FZ5K1PMem7yXsd42+IxikMrP360W1Sryy?= =?us-ascii?Q?sSAfBHZTBPO6eJZaCFaBVawwFlx2vKVK0LgtAukjuU/1qoDzLEMfHHAlh6VW?= =?us-ascii?Q?s/T9JDDlX7Bixi25uVJ0cgrp/+u0fDT3nVDsXdWfPcPOF9AJ9wiCzKzq/w0b?= =?us-ascii?Q?rHsXeLVMBlkzCYpBu9LSn2eToeE5kvFp0tCKjEgGEwijbCX5xFGUJRcXGB0T?= =?us-ascii?Q?KtH3Sa+Wj6VzRCPXx+Vqyz7N/IgtSvmYnRQC/kCVE2RKGPOp8nCOAzJpFT80?= =?us-ascii?Q?b+v0MVFsfnAfgmFc62AdS6k2Cegjo489V55ETdgngP2up8GfxdOOigmMRv3y?= =?us-ascii?Q?XT7gTdK9wnIWG2XfhmGwXYuIPQSQnLd27o0BpmVpVvxKyFZo5lTdobQXE+hh?= =?us-ascii?Q?cr+vvZBnJ7imiEDkRaQXuO66ud8BjQXpTF538NeSg1mHzTBCBEyoC2rQfw3o?= =?us-ascii?Q?9k1OZE1VB4RzRFXvdZ/Pt04fAVqDSYzzEA62KDJrqqJxVAraLuqgxbr9FVuR?= =?us-ascii?Q?y/GubPa468EQPHwxMQWcqwTseXiTezMjMl4OnZdhTLMN9RqqLB8AjRwCHtBc?= =?us-ascii?Q?1qySI95G65kKfTOzUCQFjfD5Y0/2uw=3D=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1d746c5-6ade-4ebf-9cd7-08d8c7b35158 X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4715.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2021 19:47:05.2711 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Drxbm0AqLP2eQFdrug3tgMEebqLPpWLwBEA3Dx7FJ0rUiJLqkQJn6UzBCCM565JIQJV5CWjyScBZqvAqppV6Gg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2687 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9883 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102020126 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9883 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 adultscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 clxscore=1015 spamscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102020126 X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2021 19:47:11 -0000 On 2 Feb 2021, Stephen Casner outgrape: > On Tue, 2 Feb 2021, Nick Alcock wrote: >> >> I have a possible fix for all of this against a slightly old trunk on >> the users/nalcock/included-gettext branch: could you try it out? (It's >> several commits long, so pointing you at the git branch seems the >> easiest way to have you test it.) > > With the following configure: > > auge6> ~/src/gnu/binutils-gdb/configure --prefix=/usr/local --with-gmp=/opt/local > > It builds through gdbsupport, but I have an unrelated problem with gdb > configure: > > checking for libgmp... no > configure: error: GMP is missing or unusable Definitely unrelated, I'd say. > So my test run has not verified that everything links properly with > all the libraries. The link failures I saw with --with-included-gettext lay in libctf, ld, and gdbserver/libinproctrace.so. GDB itself seemed happy. > Also presumably unrelated, there are these warnings: > > /opt/local/bin/ranlib: file: .libs/libbfd.a(bfdwin.o) has no symbols > /opt/local/bin/ranlib: file: libgdbsupport.a(gdb_wait.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(count-one-bits.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(fd-hook.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(getcwd-lgpl.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(getprogname.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(localtime-buffer.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(math.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(stat-time.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(sys_socket.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(threadlib.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(unistd.o) has no symbols > /opt/local/bin/ranlib: file: libgnu.a(wctype-h.o) has no symbols > /opt/local/bin/ranlib: file: libintl.a(osdep.o) has no symbols > > I've seen some discussions on this list about having no symbols, but > my build is using the system ld. Yeah, I don't think this could possibly be related, though perhaps it is exacerbated a bit: I didn't touch the gnulib or libbfd side of thing at all. I'll start throwing this through testing, but I don't think I'm going to try to get it upstream (or into the branch) until after I've got my current patch series in, if that's OK? It probably needs more review from the GDB side and, uh... whoever the heck reviews changes to intl/ :)