From nobody Wed Mar 08 03:56:01 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PWdlh28fBz3x48g for ; Wed, 8 Mar 2023 03:56:16 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01olkn20827.outbound.protection.outlook.com [IPv6:2a01:111:f400:feab::827]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWdlg6cZ1z3CQ7 for ; Wed, 8 Mar 2023 03:56:15 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CdwSbnAlSJuVveEXMx75caON0jg/olUhACHMODvinMfNxQ8t9rWQSKpCaqkRH/cT9AZ2Kk0GstwTN5Rzspv00xdb69owMDNXnUDrT31A1yY6fXccwjbSwPBdoh85NU6Y2BFZ8eGYz42Cm9BxL9/kbP1chg2MMsvCG704HznQ8JLpqD8kvc0zvVMs6kJdlmL9nJqFVU2aU55GyrNR2CLf4xV/t6Est39Ve6eROYqlvf6CoZnrZzUYkxsB+9zqjonZ/IAs0TruhPVycS7lmfpLGjVAWUa7H7Mxf/iiF+H8PisvLKgPtUnumV189FCejCxpfp4Cto+sfGv3kMN9YS1+FQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=F0o/vP4BYBG/391u9Xu80lgT3xEqXRcyhshCZWCeZwY=; b=V6TlZnPT88KrAvIltOsJubzhrn0zI7hoTuk8EKzCuppQVi6R93bHzHBrbwHpUElMD53UiIgMgtKVcR0PNwXj9PDUVez57ouqc+novh2GopLKInGuIhTqu6m/moKhDx2JGKYPBUQf7SDBmBiM8E2jA9zOZKWPi+lc+MvSpaN6oTiRIIPJR0oJ0ZXIKKx8HZybNih0+Jr2tFdJBX7mUcFKT4IZHCRBUU+TlUxnBatgSpdMPrMdMQpQNXGkxO4qNgtrzLeTS0E3LE26mQNa9JotSVT+EZhKfe/BYRrD/2zJsvhx4H7OCmQjzATTijIrhzB08+6EJ9RAm/UxzQuAdyt5aQ== 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=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F0o/vP4BYBG/391u9Xu80lgT3xEqXRcyhshCZWCeZwY=; b=s+Qg4y9pO0E551u1b4SlNZ8nmdIgSqRZPe1xHdIvgGWZo4Ob2pvRZHV4u4BdsXRQc/4JOBt7ym0sWw00+0satYGH5J4McnBO9vWrFVC52BKI1dnmByUKJo6JIPziCecnRz+DuwvXmu6/hppKXPi2E+hI9w0eirtJ/LR29+UB7vZvkwbrbOLYe/pdJGQG38WpM6jhOKmVVvfKT4EndTeeTzTQwc1zZk+xIyIYB8VO1kvCJA6PrC92MgQ/ZFcZkJrTA/+2YSaxQt1lCxoK9w3KywhFDA5eAp7pumT7UZHbfire9K1t85EpP6CVQLF8w9griryOsPw5lBOF6NDcBpvTrw== Received: from PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) by SI2PR03MB5772.apcprd03.prod.outlook.com (2603:1096:4:152::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.25; Wed, 8 Mar 2023 03:56:11 +0000 Received: from PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::4464:7e37:186c:6d86]) by PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::4464:7e37:186c:6d86%4]) with mapi id 15.20.6156.029; Wed, 8 Mar 2023 03:56:11 +0000 Subject: Re: How do I determine the ABI string used by pkg? To: Mel Pilgrim Cc: ports@freebsd.org References: <32d2e376-3f89-0588-316d-801d4cbf0b44@bluerosetech.com> <20230306075622.xfzs33fmflc2vmtb@aniel.nours.eu> <257260d9-1812-3ce5-5d9a-907e2b1ec13e@langille.org> From: Tatsuki Makino Message-ID: Date: Wed, 8 Mar 2023 12:56:01 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [/FpS28M8qgyc29kG+dPLaMwR5wYpb16O] X-ClientProxiedBy: TYCP286CA0027.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:263::18) To PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) X-Microsoft-Original-Message-ID: <6fa45dc8-9e2b-0760-5070-c571894c4daf@hotmail.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PSAPR03MB5639:EE_|SI2PR03MB5772:EE_ X-MS-Office365-Filtering-Correlation-Id: 18ba57cb-30a4-438b-8065-08db1f890e26 X-MS-Exchange-SLBlob-MailProps: C/ir7cSdGlsyy09E7Q+DSos/UspCD7MW6dpvtPVavIbvIMfjAWZaT1+s6VRE47DUKdkX5uN/7yFeUIQga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TZHdE9RUmkyTXFwL0MxRDYzTEY0YSt2VnN6UHVxbWZzZnNlQ1ZOd2Ri?= =?utf-8?B?OVYvVTlTaVMxMnFFalZIN1M0SzhVM3pGYUR0ZEZSWFN1ckU0d0Fjc1NrenYv?= =?utf-8?B?Wk96U3loeHhNdEgzWnJNWW9iZUVHOUErWDVMZ2V0THpNNldPak9TUlp2TlRT?= =?utf-8?B?ZTg4NVFlTTllZG90RlZiU0twNlQ1cERTT0pPZzlWRmN0MVN0dVUvWWZEL2x1?= =?utf-8?B?MEpaZ0gzT0xJcTZVRm9QQlhHY3pyeFRUMzkwOHZSS2NRenZSZG1mSEtLaVVz?= =?utf-8?Q?6crTmQHfPuXKWwzx0E=3D?= X-OriginatorOrg: sct-15-20-4734-24-msonline-outlook-c0b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 18ba57cb-30a4-438b-8065-08db1f890e26 X-MS-Exchange-CrossTenant-AuthSource: PSAPR03MB5639.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2023 03:56:11.8641 (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: SI2PR03MB5772 X-Rspamd-Queue-Id: 4PWdlg6cZ1z3CQ7 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Hello. Are you still saying that you are creating another program that does not rely on the pkg command? Then again, let's look at elf_tables.h. It would be necessary to have such a conversion table. static struct arch_trans machine_arch_translation[] = { { "x86:32", "i386" }, { "x86:64", "amd64" }, { "powerpc:32:eb", "powerpc" }, { "powerpc:64:eb", "powerpc64" }, { "powerpc:64:el", "powerpc64le" }, { "sparc64:64", "sparc64" }, { "ia64:64", "ia64" }, /* All the ARM stuff */ { "arm:32:el:eabi:softfp", "arm" }, { "arm:32:el:oabi:softfp", "arm" }, (omitted below) Regards.