From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119184 invoked by alias); 12 Mar 2015 02:07:08 -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 119174 invoked by uid 89); 12 Mar 2015 02:07:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f174.google.com Received: from mail-pd0-f174.google.com (HELO mail-pd0-f174.google.com) (209.85.192.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 12 Mar 2015 02:07:06 +0000 Received: by pdbfp1 with SMTP id fp1so15929812pdb.7 for ; Wed, 11 Mar 2015 19:07:05 -0700 (PDT) X-Received: by 10.66.169.202 with SMTP id ag10mr84167712pac.19.1426126024902; Wed, 11 Mar 2015 19:07:04 -0700 (PDT) Received: from [10.250.41.53] (58.sub-174-239-225.myvzw.com. [174.239.225.58]) by mx.google.com with ESMTPSA id s17sm7948436pdn.87.2015.03.11.19.07.02 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Mar 2015 19:07:04 -0700 (PDT) From: Jay X-Google-Original-From: Jay References: <5500EED1.8000405@iki.fi> Mime-Version: 1.0 (1.0) In-Reply-To: <5500EED1.8000405@iki.fi> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <1C1E0842-1D59-4CB4-A982-892243B8C8ED@gmail.com> Cc: "" Subject: Re: [PATCH] libffi 3.2.1 on Tru64 5.1B Date: Thu, 12 Mar 2015 02:07:00 -0000 To: "" X-IsSubscribed: yes X-SW-Source: 2015/txt/msg00044.txt.bz2 Fwiw, I had those systems up & running fairly recently -- getting newer (4.= x) gcc working is quite possible. OSF /1 I got through gcc make check. I di= dn't necessarily build libffi. Fun stuff. :) That is, don't be dismayed by your gcc 2.9/3.3.=20 - Jay On Mar 11, 2015, at 6:41 PM, Jarkko Hietaniemi wrote: > The attached patch makes libffi compile on Tru64 5.1B. Without it, > the compilation stops on this in src/alpha/osf.S: >=20 > #error "osf.S out of sync with ffi.h" >=20 > Since "make check" requires dejagnu but I don't have it, I tried > the "puts" example from http://www.atmark-techno.com/~yashi/libffi.html, = and it worked. >=20 > (It would be good to have some trivial test suite that works > without dejagnu...) >=20 > Compiled with the ancient gcc 2.9 the system has. >=20 > The patch simply removes the check of FFI_TYPE_LAST being 14 or FFI_TYPE_= POINTER. Not necessarily the most correct thing to do, > but hey. >=20 > I have also access to an IRIX 6.5 box, but there the situation > seems to be more dire. (gcc 3.3, FWIW.) >=20 >=20 >=20 >=20 >=20 >=20 >