From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <> Received: from fx601.security-mail.net (smtpout140.security-mail.net [85.31.212.146]) by sourceware.org (Postfix) with ESMTPS id 086B139556AA for ; Tue, 10 Aug 2021 11:20:53 +0000 (GMT) Authentication-Results: sourceware.org; dkim=permerror (bad message/signature format) Received: by fx601.security-mail.net (Postfix) id 850703ACCC5; Tue, 10 Aug 2021 13:20:50 +0200 (CEST) Date: Tue, 10 Aug 2021 13:20:50 +0200 (CEST) From: MAILER-DAEMON (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: libc-alpha@sourceware.org Auto-Submitted: auto-replied MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="4730B3ACD28.1628594450/fx601.security-mail.net" Message-Id: <20210810112050.850703ACCC5@fx601.security-mail.net> X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, HTML_MESSAGE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2021 11:21:05 -0000 This is a MIME-encapsulated message. --4730B3ACD28.1628594450/fx601.security-mail.net Content-Description: Notification Content-Type: text/plain; charset=us-ascii This is the mail system at host fx601.security-mail.net. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system : host zimbra2.kalray.eu[195.135.97.26] said: 550 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table (in reply to RCPT TO command) --4730B3ACD28.1628594450/fx601.security-mail.net Content-Description: Delivery report Content-Type: message/delivery-status Reporting-MTA: dns; fx601.security-mail.net X-Postfix-Queue-ID: 4730B3ACD28 X-Postfix-Sender: rfc822; libc-alpha@sourceware.org Arrival-Date: Tue, 10 Aug 2021 13:20:50 +0200 (CEST) Final-Recipient: rfc822; mpoulhies@kalray.eu Original-Recipient: rfc822;mpoulhies@kalray.eu Action: failed Status: 5.1.1 Remote-MTA: dns; zimbra2.kalray.eu Diagnostic-Code: smtp; 550 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table --4730B3ACD28.1628594450/fx601.security-mail.net Content-Description: Undelivered Message Content-Type: message/rfc822 Return-Path: Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) by fx601.security-mail.net (Postfix) with ESMTPS id 4FE0F3ACC4B for ; Tue, 10 Aug 2021 13:20:48 +0200 (CEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CCCC139574C0 for ; Tue, 10 Aug 2021 11:20:46 +0000 (GMT) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20069.outbound.protection.outlook.com [40.107.2.69]) by sourceware.org (Postfix) with ESMTPS id 414F93858007 for ; Tue, 10 Aug 2021 11:20:22 +0000 (GMT) Received: from FR3P281CA0036.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::18) by DB8PR08MB4124.eurprd08.prod.outlook.com (2603:10a6:10:b0::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.19; Tue, 10 Aug 2021 11:20:15 +0000 Received: from VE1EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:d10:1c:cafe::f4) by FR3P281CA0036.outlook.office365.com (2603:10a6:d10:1c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.4 via Frontend Transport; Tue, 10 Aug 2021 11:20:15 +0000 Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT014.mail.protection.outlook.com (10.152.19.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Tue, 10 Aug 2021 11:20:14 +0000 Received: ("Tessian outbound 7b804b1d9bbf:v101"); Tue, 10 Aug 2021 11:20:14 +0000 Received: from 3febbc8a4dcc.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DC2BEAF0-E4F5-4225-BE78-E23C0C47C7A1.1; Tue, 10 Aug 2021 11:20:07 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3febbc8a4dcc.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 10 Aug 2021 11:20:07 +0000 Received: from PA4PR08MB6320.eurprd08.prod.outlook.com (2603:10a6:102:e5::9) by PA4PR08MB6094.eurprd08.prod.outlook.com (2603:10a6:102:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Tue, 10 Aug 2021 11:20:05 +0000 Received: from PA4PR08MB6320.eurprd08.prod.outlook.com ([fe80::cd22:a583:c97c:72a6]) by PA4PR08MB6320.eurprd08.prod.outlook.com ([fe80::cd22:a583:c97c:72a6%7]) with mapi id 15.20.4415.013; Tue, 10 Aug 2021 11:20:05 +0000 Received: from arm.com (217.140.106.49) by LO2P265CA0261.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Tue, 10 Aug 2021 11:20:04 +0000 X-Quarantine-ID: <0NnMz0e7Pzlr> X-Virus-Scanned: E-securemail, by Secumail X-Spam-Status: No, score=2.543 tagged_above=-1000 required=7.5 tests=[AB_ENVFROM_LONG_40=0.5, AB_FAKE_WORD_1=0.2, AB_IN_REPLY_TO_EXISTS=-1, AB_LONG_SUBJ_30=0.001, AB_UNPARSEABLE_RELAY_ENHANCE=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-1, DKIM_VALID_AU=-0.1, FAKE_REPLY_SURE_A=1, FAKE_REPLY_SURE_B=1, FSL_RCVD_EX_GT_5=1, FSL_RCVD_UT_GT_5=0.01, HEAD_NEWS=-0.5, HK_MUCHMONEY=0.001, MISSING_MID=0.14, MM_ENVFROM_BOUNCE=1, RCVD_IN_DNSWL_MED=-1.3, SINGLE_HEADER_2K=1, S_FROM_GREY_MINUS_2=-2, TEST_REPLY_C=1, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=0.001] autolearn=disabled Authentication-Results: fx601.security-mail.net (amavisd-new); dkim=pass (1024-bit key) header.d=sourceware.org Secumail-id: <18285.61126110.e342.0> DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCCC139574C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1628594446; bh=p8gfQHENlnEclfuLjAZ2DluZY5cpiYk2xNw2rgLvhSc=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ys88mjccjnCfpO7oJxF+o6Hj6Ld9RSu/EcoctmprY+zB9z+6uor0OkoNxupX/0Ou5 gfgBu5w7TDzbO5JTXKQypqHNqDkTKKiczvfxsrfYgR2XyzO7+GoiOUu4z8SsMO/wih bSRsN2MU9gXS+0Zqr3OT3nU8BXhjpMV3wY6VvOvo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 414F93858007 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;sourceware.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; X-CheckRecipientChecked: true X-CR-MTA-CID: fd45c0fab7348aa0 X-CR-MTA-TID: 64aa7808 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C60D9HT0lzxelwvjkGZyBQEyL7vTYA+n1wrXKUG0augmpWDR5UEDH5xom/kNYijd5dpVNvMGcQILNHSbvBaZEbQ2sdUZynR9vGCRPlasliNbLBeX3fo063bf/ALJv686/7bGMN4Rbkp+xAiczG+zbDZc4at9MSpHxCM/KFO0EOnK4GKgUgOFV1v/VbqRR/5MKULknnkyIKot38RAtUZqOCH7vsFVw4raCgH+qJNxTaOFcOM/hsRlps/zSpnfNdkq1x1OP0dpdegooHqdkLgTteftqVGS2OrZygIhdZvEyvNR37A2sw+8lyAmYQsU3RYuV5dz9j/dPjzRyaxNOx7HNA== 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=p8gfQHENlnEclfuLjAZ2DluZY5cpiYk2xNw2rgLvhSc=; b=Xw0qDw8RB5bvoOxLmfJK41mCKfiWRWDIZPWUSUwhOdywxeYMS+W+wViuFoSqc4npMJUVJoQQBAofe0IxzkE/2nVROVKpGZZFeuqzpGS2+1iKg76dcjsnUYjm9tzgeTVU5V8G0nPgq7MVsWChUmxk+uS2kecW9yulMlXQRFqaM0La+r4VOqxj7Bz3O0cTDqi4FmB2bx9yELO9N2PIg//Dwlifs+jUuAmv9BPMJ2LI7B6fH63N74BqGW4HKDGFDs5gx8AsZL3O8Nik55sFmzO9okhX7qNWMYUcm/+BB/40VfvhUzeMtrf6vSRnoRiIkcQsw1+2RK+IoC0LUNIXj96H0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: google.com; dkim=none (message not signed) header.d=none;google.com; dmarc=none action=none header.from=arm.com; Date: Tue, 10 Aug 2021 12:20:03 +0100 To: Fangrui Song Subject: Re: [PATCH] aarch64: Skip traditional GD/LD TLS which are unsupported by Clang and LLD [BZ #28205] Message-ID: <20210810112002.GH20410@arm.com> References: <20210806224126.643993-1-maskray@google.com> In-Reply-To: <20210806224126.643993-1-maskray@google.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-ClientProxiedBy: LO2P265CA0261.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::33) To PA4PR08MB6320.eurprd08.prod.outlook.com (2603:10a6:102:e5::9) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7e2702ff-8709-4440-cf9e-08d95bf0d3ab X-MS-TrafficTypeDiagnostic: PA4PR08MB6094:|DB8PR08MB4124: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8273;OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: qOx4sXv8wezZh3sCTCl82hmYfKvHWWh+XXamK94QbMU3khpRDcfmmVpqf/nmIboeZjXzsuBiLTcCSTHNjmSFS+6xKjsRT8LPFlxx4S4qRK4ViFKplYVdgnQQZvZmQNoD3DGJuuKtqEwyTt6sjgO+etddN4aUXwjUmVL7lqLOdKSYrqVEIaUCbLRZeUHLvZ2SnhYFRCDOrl14KXASx1UorQtqWzpIcXT4+LMnv9uyKpFiNbCZsy/rKH/dP+K2Em9viT1Sw/73ikG0DDtsVleCe8h9fuVb4qEJIEcDEszDydlElAQnR6jhw26ZGaG1kV7UaMMhVasfvAVQjQoEOEwPXx1ktg/R4xowslU+HBJQ3GLuPCJPr4Y8duW34KrMTNeGJKRl865WmuGvAoNxMwCHW6/ojjNzrp5lLA1hMzU67QpS7r67XBqZQFoAF3bEAZlsCwSRPt6qRJBmpj06AD8BUgDodRDrMKC5YvckLNDtu6EG7V4hcIDX7x/0Wd7u+u1+WYCqalsNJxCpKMLlBloOC8T3rrmKHxhAqyhSuUkxl+NhxA5y5b4BXvpMdmseTg2Pvitnj+UBqA4GsDqnUHuIO3YykoHZMm0Nof2vGMqubymW+H10vsOFYppF71Y5KbCTlmhCtpZxl4hpri38FLNCvfiPpk1hxGTUE4Ej8WOz7F+9xOBmXJzxSGKJK/InWAfbuh5GFTeGj5JdCC9j/yNiAdEYvp4vqhZAAVNtsTG0APdZneeZjp84RVcHCfD3HTsv8BxmMKNpb0u9qqSGTlYdUg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PA4PR08MB6320.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(316002)(54906003)(55016002)(956004)(2906002)(66556008)(1076003)(2616005)(83380400001)(8886007)(44832011)(36756003)(38350700002)(38100700002)(33656002)(186003)(6916009)(52116002)(8936002)(508600001)(5660300002)(966005)(66476007)(66946007)(86362001)(7696005)(26005)(4326008)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8KUeWMQo/y4NBozcEmhwdtiUE+IFCfSgpfQtA3oauInO+/6zhbcKRQxuzttWFiPidmU9hpl7nZIUpssIU/O6NmsgdzTHSWfC/0SOw7Tk7azN64N+rSIdhle7dWWDMskgS4OpcAXqiA8fIYuvgWPlRdvZomxTjBE6jt/W2+xw+j3jUBJH50igDai1AlW4Z9Yy9FKFaDC+99TQT1sMUVylh/Qn22WeP3fuvVyF745xqUBHpXZcM7aCtqVkqkS70Fk6mxxVs3QrwRh0EwMXJNgRs9m/+uxuxBe44ChZMe8s8xFBrmaE9JE6C5iT1c9UPrh0IGbdoyOjaElmZ38jgHNl48GGEUekGyclitsLYhHNCWw7DrpDHbPsz1HljJ+ZMXZ2bULWjJoGaaLMNDWKA7hWQeSYzPB3cHQ1edrjV35rr4/i337e7Bbd4j8y9DvPC6Sv0dHi5lnWDpNGuwIRFy8DWeg4Ikc+SYfEx6g2HSaE/Bh18NXIJMotI7mABANknv1Z7lbyLl6UA6aqRVeEhOoVeTxnpMW15DV/1soiI/0Gx9UFUp2oFzRhlMLmUVCikHwiq39W2ElaCYPeiIFuKxFp1yUdLUY+UEVYJcR9ZxWzSIcq9GdadUGtPkTZ3mdferMQcj44U5KAOcrj+U7lVX2GF7qnRHcCjoXLq06eQnyVDxXJOCat5OJETd6c71ovjzPPM6SPpZmXDDv8ONTWvKeLkU7LImCYQEM77hltLOFKcezrz0mn3bt4GDfAd6ozRBFgSovfMXaHd9hauZMgy/DiX3fnVoTzPCLdk+dC9JSFGS3YSh2JeiC9P3WZ11RwexuRmTEfNcmuqH9Dws3jWXhVG0J6MQHO4mnPJvwmgVSsAEWw9d2+IqScW4hq49iYlaO8SmvZelw8+Fy6+bU3tnWz/qjy518wRZ+I8epDaPXfGIVP8tx4aWPtUJ5mnO8N+4og vla75LNGuM6rk3d96gJovfcRZ4r6ErpsEGuF91xUjDXRcwZcpn3ETggNQgdFuh0az9v8HkkpuplCP2DeAUunIcuFcfJnfd3OVG340EY5KVQ6LUvDFmVeQN3Ikl4NuXfc8nyDGz8FaXfutRvtPcSVe3IZa5tW/m8kDMc4Yc5gASJHFPIxNXJVoAX9jfU4WT8J06KkhiGsi0SIyPBIFxrRy0cNqTSj7t6wx/IXVQ0tkrkEtVMkDalOxwd/CaxXt1EMjcqYA3dSCzem7N1iBo7t5Xpc2hrN25QQu9rdLKaIen0n3hjjwXCPk4HVZJ72Hh+batYZpTUE0JL3Zx+LNGVKYQTxraSC8PJGfxzvHr2POFiPquqohM3rkzuBHQyUaPyY X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6094, DB8PR08MB4124 Original-Authentication-Results: google.com; dkim=none (message not signed) header.d=none;google.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 95c9a288-e39a-46a8-a94a-08d95bf0cdaf X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v6igSoS0hZ733IpxDpZ4ezLGg79M17UGICnC6J/gidPkUYO/E3lGVJlEB5rnvWBIILLikc5rpUDCUYvl4wpDFx/qgKTnlxtXt+GDEHFKDWBjnKTlemwipdfd9LoEgkF7Cfg0ruZep0qK64OF6FJ+HofCPFHBUpo8EshvZpbRW6QWZ2+OgqeIKMytnR/ExZSXcOkWZJya0r7W87lbHapRxWgwfBb6iNSqGcrGzWeTeq8a7tZAW5BUWBTDfDgk3s9NCahS4ilL5fEfYlgcNqv+kAZKp9Ci+VDL0rYqn06fHplAiHrqfO9QuJsRayFDY+JCfKbHlwDphU1YE/eJUrmIQ+gLaB83EWUkpIP8FRCbe8AIJozAtE9II2d3R8WPDLmQKd2A/HZhkrPZ998RiNAZbdG2hCiwZA3LZfCxPEcuizX6my5CMi3zVuYWmVYlNDb4dBB6KOOlPRN4TP1JSveFheMajTE0h/qmG0Bn1JH4xlGFwULpnjKMSWnV7t+VbGkDB8jeT7ap3oXh1bJrw8VH5WMrvMxtx0YCJnubIcRzRKPBt/+ub2+Y8rD3/6C2Q5wylI1xzCCOU2mJXk6t9mR0Juldw2wtKq7mA3MRyicfjrWFKBZAXdXSJ8SZmMrFu4Zc/rL6KQWL38jAxscoHHaNgUNgkZlp9t3r2bxXOowhAbgRdiw8kNuOFqivlVn6zvVxbYHrcVgdMe6FicOzfUTW4TyopL2CJFl1ynvT0gcNAzK1L7fg9iqyoC/VblhdTJfCAufdH9v+8rIAmQoMY+6KHQ== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(39860400002)(136003)(376002)(396003)(346002)(36840700001)(46966006)(81166007)(336012)(186003)(966005)(478600001)(47076005)(36756003)(82740400003)(83380400001)(107886003)(36860700001)(6862004)(4326008)(2906002)(356005)(316002)(54906003)(44832011)(26005)(2616005)(33656002)(7696005)(55016002)(8886007)(82310400003)(8936002)(70206006)(70586007)(8676002)(5660300002)(956004)(1076003)(86362001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2021 11:20:14.9597 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7e2702ff-8709-4440-cf9e-08d95bf0d3ab X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Szabolcs Nagy via Libc-alpha Reply-To: Szabolcs Nagy Cc: libc-alpha@sourceware.org Errors-To: libc-alpha-bounces+mpoulhies=kalray.eu@sourceware.org Sender: Libc-alpha X-ALTERMIMEV2_in: done Content-Type: text/plain; charset=utf-8 The 08/06/2021 15:41, Fangrui Song via Libc-alpha wrote: > TLSDESC is the default on aarch64. Clang doesn't support > -mtls-dialect=trad. Its integrated assembler doesn't support the > marker. LLD's doesn't support R_AARCH64_TLSGD_*/R_AARCH64_TLSLD_* > relocations. Just skip the tests. > > With https://sourceware.org/pipermail/libc-alpha/2021-August/129904.html > ("aarch64: Make elf_machine_{load_address, dynamic} robust [BZ #28203]"), > if we allow LLD in configure.ac, > `make check` test results of LLD are on par with GNU ld. > --- > config.h.in | 3 +++ > configure | 38 ++++++++++++++++++++++++++++++++++++++ > configure.ac | 24 ++++++++++++++++++++++++ > elf/tst-tls1.c | 7 +++++-- > elf/tst-tls2.c | 6 ++++-- > elf/tst-tls3.c | 8 ++++---- > elf/tst-tlsmod1.c | 6 ++++-- > elf/tst-tlsmod2.c | 4 +++- > elf/tst-tlsmod3.c | 5 ++++- > elf/tst-tlsmod4.c | 4 +++- > 10 files changed, 92 insertions(+), 13 deletions(-) > > diff --git a/config.h.in b/config.h.in > index 8b45a3a61d..f65605d4bd 100644 > --- a/config.h.in > +++ b/config.h.in > @@ -198,6 +198,9 @@ > /* Define if CC supports attribute retain. */ > #undef HAVE_GNU_RETAIN > > +/* Define if CC and LD support -mtls-dialect=trad. */ > +#undef HAVE_MTLS_DIALECT_TRAD > + > /* Define if the linker defines __ehdr_start. */ > #undef HAVE_EHDR_START > > diff --git a/configure.ac b/configure.ac > index 5632277f9c..c73e271cc8 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1501,6 +1501,30 @@ rm -f conftest*]) > AC_SUBST(libc_cv_mtls_dialect_gnu2) > LIBC_CONFIG_VAR([have-mtls-dialect-gnu2], [$libc_cv_mtls_dialect_gnu2]) > > +AC_CACHE_CHECK([for -mtls-dialect=trad], libc_cv_mtls_dialect_trad, > +[dnl > +cat > conftest.c < +extern __thread int i; > +void foo (void) > +{ > + i = 10; > +} > +EOF > +if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS > + -fPIC -mtls-dialect=trad -shared -o conftest.so conftest.c > + 1>&AS_MESSAGE_LOG_FD]) > +then > + libc_cv_mtls_dialect_trad=yes > +else > + libc_cv_mtls_dialect_trad=no > +fi > +rm -f conftest*]) > +if test $libc_cv_mtls_dialect_trad = yes; then > + AC_DEFINE(HAVE_MTLS_DIALECT_TRAD) > +fi > +AC_SUBST(libc_cv_mtls_dialect_trad) > +LIBC_CONFIG_VAR([have-mtls-dialect-trad], [$libc_cv_mtls_dialect_trad]) this is a possible way, but i think it's nicer to have #define HAVE_TRAD_TLS 1 in config.h.in, and then in sysdeps/aarch64/configure.ac AC_DEFINE(HAVE_TRAD_TLS, 0, [Only TLSDESC is supported]) (haven't tested, but i think it would work) (-mtls-dialect=trad is aarch64 specific flag, so it's not nice in the generic configure and the tests don't actually care about this flag but whether the assembler and linker would work) To declare a filtering error, please use the following link : https://www.security-mail.net/reporter.php?mid=18285.61126110.e342.0&r=mpoulhies%40kalray.eu&s=libc-alpha-bounces%2Bmpoulhies%3Dkalray.eu%40sourceware.org&o=Re%3A+%5BPATCH%5D+aarch64%3A+Skip+traditional+GD%2FLD+TLS+which+are+unsupported+by+Clang+and+LLD+%5BBZ+%2328205%5D&verdict=C&c=7b500cf3e0f21e2ea99809f1c52675f6d35ba951 --4730B3ACD28.1628594450/fx601.security-mail.net--