From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2022.outbound.protection.outlook.com [40.92.21.22]) by sourceware.org (Postfix) with ESMTPS id 3026E385B836 for ; Mon, 5 Jul 2021 11:42:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3026E385B836 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R0grh3nRMNTae7FtuxOYvAyYGY4vVUiS1F8V2lUhJQHG5HcIKHWppU4KaMGz4u9gD4IlJeMpnrPxjA0MTB/EghxDZsGfBUDa4xyYrF3Q4nnjxLFkpJT2XyhBukNPDjIHH3dzch9sc5rGI5cnwBtAXXoTQqWVgdNv6mPojtXbqcKzrIGOj1Mq2mPhBYO3jTVQ+2IowBpUOjuQjvYf09vmv7qH91qTYWrykdlKANuWyoAdx0lyO9h025nsqy2nnxha1mcBscuEPYtOFLhiw1g9MOUXFVQVoWzqkbQzuxdaEqo09ITG+YPrgs+Si9nG8Iskci8GuvbJxr5wp+km7IYYrQ== 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=hy7UpV4kug/IhuETB0MSXIEBPdC24GeIP+Ibk5Tkl2k=; b=FUEydMSkW+g7SapIycgNh3PnRS5/fMxYcYN2yIv1M7bCYGzf/pBLf4VvWFuL2+P2zO6izA7N9zYVKReJXt38womlODzvsCkXKZ5ZNOiOu9dEO1Sq8jxcH7g9A+obXrHJWx+WBm69hvxfNtsAKL1VVeXlBx8bfdoCAqGlzqvFg7Hwq0IXYaMjizvchVh9Xyu42Ggr5peMzAWMP7jmBCCI0k8JFIRVWFc1+IVAqhiFSULx18uJ72NXERTWc/7RjN4xswTou6emdAQ+A81/vtpv4ODKZ+Oakyh8camS5w/snvHkcpFAWuumFvijaQ/JGwbF6WytMxRpapHbvZKdxHgiGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MWHPR1401MB1951.namprd14.prod.outlook.com (2603:10b6:301:51::14) by MWHPR14MB1583.namprd14.prod.outlook.com (2603:10b6:300:b2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Mon, 5 Jul 2021 11:42:12 +0000 Received: from MWHPR1401MB1951.namprd14.prod.outlook.com ([fe80::adc0:8922:4de7:e7b7]) by MWHPR1401MB1951.namprd14.prod.outlook.com ([fe80::adc0:8922:4de7:e7b7%9]) with mapi id 15.20.4287.033; Mon, 5 Jul 2021 11:42:12 +0000 From: Jay K To: "libffi-discuss@sourceware.org" CC: Larkin Nickle Subject: Re: Libffi on Tru64? Thread-Topic: Libffi on Tru64? Thread-Index: AQHXcKaMBkOf9aTbuEO/Kb46Cs3cV6s0QAQ3 Date: Mon, 5 Jul 2021 11:42:12 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [XA0S5WY+kPPCb917odNYcQqqBEtYoJ0lxY6GNuZoAggJiv/lBh+KgR4V5F2yhuEN] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3a0bd802-43e3-4880-9214-08d93fa9ee02 x-ms-traffictypediagnostic: MWHPR14MB1583: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: W7f2I+j4HzkF77UTJ2E6X69P6UCIE/e6+4kSTr+UZZh0aSD44CesgRo4qvOZa7FSKecLqqpdbsXOqyPnGXVgM2N6sGZP5jX3lWeBsrxfEy4sWytKP7FCHG2XLXvbz0Imo7sEQbRFiRMi/vzXpLH7nFo11rEhcaZSD6/d8MyMVd88qCvE1okwGM1G1pHvuu8eQQwjY9ICumxgwVk+OQbWkIE1LTMJe3AF4rtkom7SzYgbPpI49o12vtNC7AyNlH50cpYrGYoMgS0r8DasZlAXpnp/6pLCKnLAATWeFzzEGDLWNeJDd7ACLga6zK2t3jKcpV4lVMzxe2RGKNV0MapTobZekstxxl8H/Zl6rsZAVPIWNPXxIceiR4++IEGVhQaIjnlFQV1eaZV9egI5/kCPA9lZJbyFy8VBERSLRC6ijtKv/JOai+bZ3cbOJ9FpJgex x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: x3vGAKMkXdwwYzHoVGfSS2edlp136ys6wlLIouDcsQxAv/aP7lwqxk5UXhcH1Kls6nKsWGxpmHo+h/4BeXFY3TOR8snVrWTCapankZj+m82Dg5h6d4IlCw73gV+Sf1kZvZKaHwsJmY+CudpKDcu6GVbdvxHlVptIhEVN/lDcAMxL36SkE8T33v4anLCctigxYt6swrZ7FHpjwZxLFShD8Q== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-32894.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR1401MB1951.namprd14.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 3a0bd802-43e3-4880-9214-08d93fa9ee02 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2021 11:42:12.3365 (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: MWHPR14MB1583 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libffi-discuss@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libffi-discuss mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2021 11:42:14 -0000 > I'll look more later. Perhaps it was an obvious brief breakage.. Building from before complex support succeeds, i.e. building from here: commit fb25cd08ed5a87640b02f0feeb10a09b37cfddbe (HEAD -> master) Author: Ehsan Akhgari Date: Wed Jun 11 12:07:24 2014 -0400 Add support for building with clang-cl Likely .macro can be replaced with #define, as this assembler by default us= es the C preprocessor (not sure about multi-line output..) - Jay ________________________________ From: Jay K Sent: Sunday, July 4, 2021 10:54 PM To: libffi-discuss@sourceware.org Cc: Larkin Nickle Subject: Libffi on Tru64? Hi. I've built "a lot" of "GNU" software quite recently for Tru64 / OSF/1. Mostly current but not all. gcc (3.4.6, 4.7.4) gdb (6.4) sed m4 autoconf make tar gettext tcl diff gawk= bzip2 grep etc. libffi is giving me a bit more pause now. When I tried with native cc, I saw the following problems: inline asm It appears native cc does have a reasonable inline asm feature. Basically each instruction is modeled as a function, taking params in a0, = a1, etc., and returning in v0, but compiler can rename. There is an intrinsic for each return type. I can likely make easy patches, under #if __GNU__ pointer math on void*. I suggest cast to char* first. I can provide patches for that later too. But anyway I tried with gcc instead. There I also have problems. In 2014 osf.S got ".macro". This seems to be not a thing with native as. It= errors. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/users/jay/s/libffi-3.3 -I= . -I/usr/users/jay/s/libffi-3.3/include -Iinclude -I/usr/users/jay/s/libffi= -3.3/src -I. -I/usr/users/jay/s/libffi-3.3/include -Iinclude -I/usr/users/j= ay/s/libffi-3.3/src -MT src/alpha/osf.lo -MD -MP -MF src/alpha/.deps/osf.Tp= o -c /usr/users/jay/s/libffi-3.3/src/alpha/osf.S -DPIC -o src/alpha/.libs/= osf.o as0: Error: /usr/users/jay/s/libffi-3.3/src/alpha/osf.S, line 37: undefine= d assembler operation: .macro GNU as is not supported. Perhaps we should fix that. So I went back to before the 2014 commit that added .macro. I installed autoconf, automake. That fails with: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/users/jay/s/libffi -I. -I= /usr/users/jay/s/libffi/include -Iinclude -I/usr/users/jay/s/libffi/src -I.= -I/usr/users/jay/s/libffi/include -Iinclude -I/usr/users/jay/s/libffi/src = -MT src/alpha/osf.lo -MD -MP -MF src/alpha/.deps/osf.Tpo -c /usr/users/jay/= s/libffi/src/alpha/osf.S -DPIC -o src/alpha/.libs/osf.o /usr/users/jay/s/libffi/src/alpha/osf.S:298:2: error: #error "osf.S out of = sync with ffi.h" I'll look more later. Perhaps it was an obvious brief breakage.. Thank you for any tips. - Jay