From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43795 invoked by alias); 14 Sep 2015 11:53:06 -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 43780 invoked by uid 89); 14 Sep 2015 11:53:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp26.services.sfr.fr Received: from smtp26.services.sfr.fr (HELO smtp26.services.sfr.fr) (93.17.128.163) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 14 Sep 2015 11:53:04 +0000 Received: from filter.sfr.fr (localhost [93.15.245.96]) by msfrf2604.sfr.fr (SMTP Server) with ESMTP id CB6B01C000C5F for ; Mon, 14 Sep 2015 13:53:01 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=benoit.rivet@free.fr Received: from [192.168.1.92] (96.245.15.93.rev.sfr.net [93.15.245.96]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by msfrf2604.sfr.fr (SMTP Server) with ESMTP id A00DD1C000C4E for ; Mon, 14 Sep 2015 13:53:01 +0200 (CEST) X-SFR-UUID: 20150914115301655.A00DD1C000C4E@msfrf2604.sfr.fr From: Benoit RIVET Subject: libffi 3.2.1 built on a PowerPC G3 Message-Id: Date: Mon, 14 Sep 2015 11:53:00 -0000 To: libffi-discuss@sourceware.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015/txt/msg00085.txt.bz2 I just subscribed to the list, so I=E2=80=99m not able to answer directly t= o the message Ryan Schmidt sent about "libffi 3.2.1 on a PowerPC G3 Mac =C2= =BB. I=E2=80=99ve been able to build libffi successfully on a G3 Mac after downl= oading libffi-3.2.1.tar.gz, modifying line 34 in src/powerpc/darwin.S and l= ine 37 in src/powerpc/darwin_closure.S from #define machine_choice MODE_CHOICE(ppc7400,ppc64) to : #define machine_choice MODE_CHOICE(ppc,ppc64) Of course, this may break libffi on G4 Mac (where ppc7400 or ppc7450 may be= expected). However, since I wanted to build on a G3 Mac, I did not bother = to check what happens on G4 Mac with that change. After that, ./configure, = make then make install installed libffi.6.dylib and libffi.dylib n /usr/loc= al/lib and lipo -info /usr/local/lib/libffi.6.dylib gives : Non fat file: /usr/local/lib/libffi.6.dylib is architecture: ppc750 I was then able to install the gobject-introspection port through macports = via : sudo port install gobject-introspection which failed previously due to libffi with the message : Library not loaded: /opt/local/lib/libffi.6.dylib Referenced from: /opt/local/lib/libgio-2.0.0.dylib Reason: no suitable image found. Did find: /opt/local/lib/libffi.6.dylib: incompatible cpu-subtype --=20 Beno=C3=AEt RIVET