From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23910 invoked by alias); 3 Jul 2019 22:08:55 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 23902 invoked by uid 89); 3 Jul 2019 22:08:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,LIKELY_SPAM_BODY,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=plate, bothered, limitations, Anthony X-HELO: mail-pl1-f171.google.com Received: from mail-pl1-f171.google.com (HELO mail-pl1-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Jul 2019 22:08:53 +0000 Received: by mail-pl1-f171.google.com with SMTP id a93so1950345pla.7 for ; Wed, 03 Jul 2019 15:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=glqhyCeMyOh+rfy1+JU1kv6ODxDJsf5x+qopwSHbvcs=; b=q/ZvQciMdKfkwoVIcvfS/hx7nL2EG5yUBxMEv65VnaoLWDQenoAN2aVk4aq0ACPjyf 8YjvnLVfhdgZz0ClwGRAPy5HtchB572kekPV1s1pmYZkl4NrJKmcazzyS4KPN1agyTKb 3En/MSzZV3CiaXVQH/aNT9q7INgrJvo0pm6GDOrZrrCPbCmv6b3qNwvtneGSX6LhTRq4 cNU45r3mSB2NDa1aGWMgRInKPADvFbkh9+im6WAnK6b3wdzkwbYzZ9s9ElCKAs9ggvIT UYtPN+RxN5/qyV9rTraIeZniwVS86hPzwPxGZxTWlB/53A5z+JAvfjVauGYaGfDEx48U 4YSQ== MIME-Version: 1.0 From: Devin Nakamura Date: Wed, 03 Jul 2019 22:08:00 -0000 Message-ID: Subject: Re: libffi support for z/OS and xlc compiler? To: libffi-discuss@sourceware.org Cc: alehotsky@codegentllc.com, green@redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019/txt/msg00016.txt.bz2 libffi-discuss-owner@sourceware.org wrote on 2019-07-02 11:00:43 AM: > From: Anthony Green > To: Alan Lehotsky > Cc: libffi-discuss@sourceware.org, apl@alum.mit.edu > Date: 2019-07-02 11:01 AM > Subject: [EXTERNAL] Re: libffi support for z/OS and xlc compiler? > Sent by: libffi-discuss-owner@sourceware.org > > > Hi Alan - it's been a long time! > > Alan Lehotsky writes: > > > Anybody know if the OS390 ABI is compatible with the z/OS ABI? I > tried a google search to see if there was any comparison > documentation, but didn=E2=80=99t get any obvious hits. > > And has anybody tried using libffi on z/OS? Not sure what you mean. AFAIK OS390 =3D=3D z/OS. If you mean linux 390, then no, they are not abi compatible > > A quick google search tells me that an intern at IBM ported libffi to > z/OS in 2015 I can do you one better. I am ended up rewriting the z/os port and am currently the one maintaining it. There a quite a few limitations (I only bothered implementing as much as we needed) What exactly did you need it for? I'd be happy to help. (I've been meaning to upstream the changes, but there have always been more urgent matters on my plate) Standard disclaimer: my opinions are my own, and in no way do I represent IBM, etc. etc.