From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (unknown [IPv6:2a01:111:f400:fe0e::819]) by sourceware.org (Postfix) with ESMTPS id 1FA123857413 for ; Sat, 28 Aug 2021 16:27:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1FA123857413 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lFOzxTuSA53en8Ia6N08ibZosM2SvhEvIMwZm5tZGr2tsSauhTusfVRGxSmyw43sJMDU1Xb7hE8ElvropT7u3n5r+31iLYb4+K3LZLQ3avEAXajt+Jpo4f+k+hKdXbw7JkxAJHakJaKwf0ilOwLUgFBd8yOfHzlCs3lz1sY4dDyz4RZZQuM5tpWreM/e9QuL4wyYojmfirbPnx4LSSb/f0x0uxXjmf/MxO74I7cI6f9C3eDzvL0j4dcILHSlQO1Ci2+JFw0GISqBtX3XnO0Gqt2194be8D7EdmYmFo3v5Ipm/wvdjue8Gg8HWqRc9NxR6tZbPc50VI2rsMP7/OLZ0A== 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=TVnVdUGtv3HcZgmGcfhPqg1z7mAsUgDUcya8JAPtF/0=; b=AFDJlvagkM+qgbM9S/+XIVERzd6/UfEcp0jeS8251rSnRfz1FhkyWT3yn/vjeBi7U3YnPziC3sAIt69wh4lMPf5G8muxANYtyhbNmJK929a7CQkRzCznp4kwhO+jt04MCBz/gAyID17lHMoAjzcU6Btd23PIBEnsVL/9v15X1CrCTqVEdsG2WsKunDGpA43exQUCS0XdgVoB9USvTWhk5U1YyURyeDWQRbV+8UeCyJ4e//JV5LrOAxQ2RIxn7ynKwv/hOOrhGtmW6GEW9SWVNAZpwQRHQ35Jeg/UUfz2nwseH8QQtul+y0SgBdrrFiCJscd9KSsiTz1CAQcjUoCQDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from AM8PR05MB7299.eurprd05.prod.outlook.com (2603:10a6:20b:1d4::24) by AM0PR05MB5091.eurprd05.prod.outlook.com (2603:10a6:208:c3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.23; Sat, 28 Aug 2021 16:27:16 +0000 Received: from AM8PR05MB7299.eurprd05.prod.outlook.com ([fe80::f177:9869:6db4:3310]) by AM8PR05MB7299.eurprd05.prod.outlook.com ([fe80::f177:9869:6db4:3310%8]) with mapi id 15.20.4457.023; Sat, 28 Aug 2021 16:27:16 +0000 From: Mahyar Shokraeian To: "crossgcc@sourceware.org" Subject: Multilibs FDPIC build error Thread-Topic: Multilibs FDPIC build error Thread-Index: AQHXnCkYBG1xhrssPkS92pjxF/dQ6g== Date: Sat, 28 Aug 2021 16:27:15 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [SaFZxvybK6e9ywHquLBptPKog3OLrQby] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6ae85215-2857-407b-13b3-08d96a40b2d9 x-ms-traffictypediagnostic: AM0PR05MB5091: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xKv2SP2mTrmBjn102JCYp8AjSoY1+nhQfz42PVt5cySeCcjcZedynbPff4cGJk2wcCLZr+Nj1QM4zxJ0iuLzk0tf4a4flvLFXrCL1xn4QRbwfV2S9gWGXGG6hCLWY1upDd1IWK+ji7S4ZanSZaXP5KGKcHvrFlI1NhCr67t6HLFXKiFGm5Fs7p4XqpwxW4N1dhTebWJVb9yStX7Y2QUKPo15Q4b0lwOwqSMcieotCiGQCxhcC4xx90F3CsbOmxVgCl0MRd+757S+0dlFxWv+ZQnsA1cX/Tjt390GXewJ+87njqvsp6SOLDAkwXDMSqZPU6bCXnUJ7gWpf8veX1mOOCtUNEU31N1hYpX8is/6VVYN3YnwMTu3z3YtYrVBMs4qDm3s84qq0fL79KtGimal9DBb1H2kFQfhm2a3Z9Y8c/o23NtBOsgwv6a2h7YZi/t1DCbRavxE2+PHj5LkBK6TpzWr6GvG5CyJ/HSK0dHPolU= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: hHhPlgQyHqXhTs27vkh7OCohb45MgjFmRMOmu6J64Bhl1HIXU+jei6QchiBFd9yq/lX3oE0jkPkL5T9Pns5xtClWsJo7Jicn5fWCeNdeVUVH8f+WSot9QX4KJNlMipUaItt3F40VA779qaFDhlnPlg== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-a467a.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM8PR05MB7299.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 6ae85215-2857-407b-13b3-08d96a40b2d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2021 16:27:15.9940 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5091 X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, FREEMAIL_FROM, HTML_MESSAGE, HTML_OBFUSCATE_05_10, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS, TXREP, T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: crossgcc@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: crossgcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2021 16:27:29 -0000 when multilibs is enabled it says =93cc1: sorry, unimplemented: FDPIC mode = is not supported in Thumb-1 mode=94 and when it=92s disabled it says =93Err= or: Relocation supported only in FDPIC mode=94. It seems that it=92s building libpthread in several configurations, include= a thumb-1 one, which is not supported. And it seems that when multilibs is not enabled, it attempts to build somet= hing with FDPIC relocations but without passing FDPIC flag. I=92ve discussed about this issue at the gcc-help mailing list and here=92s= the link to it: https://gcc.gnu.org/pipermail/gcc-help/2021-August/140646.html Mahyar Shokraeian Sent from Mail for Window= s