From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6552 invoked by alias); 7 Jul 2012 02:15:23 -0000 Received: (qmail 6541 invoked by uid 22791); 7 Jul 2012 02:15:21 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 07 Jul 2012 02:15:09 +0000 From: "dwalker07 at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/53883] New: GCC 4.7.1 doesn't build on Mac OS X 10.4.11 Tiger/PowerPC (32-bit) Date: Sat, 07 Jul 2012 02:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dwalker07 at yahoo dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-07/txt/msg00657.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53883 Bug #: 53883 Summary: GCC 4.7.1 doesn't build on Mac OS X 10.4.11 Tiger/PowerPC (32-bit) Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned@gcc.gnu.org ReportedBy: dwalker07@yahoo.com I'm using an August-2002 Apple eMac, with a PowerPC-G4 chip. GCC is one of the software packages offered by MacPorts. I'm on a Tiger, PowerPC, and 32-bit system; any of those puts me in near-abandoned status, so the fact I'm all 3 meant that their team abandoned me to fix the problem on my own, possibly with your help. I'm frustrated since GCC 4.7.0 built fine with some tweaks provided by the MacPorts team. From a brief glance at the logs, something about a linking error with your included version of libFFI came up. Unlike some earlier GCC versions on MacPorts, like GCC 4.4 and 4.5, I don't think GCC 4.7 uses any patched files; issues with LibFFI on earlier versions may have been integrated into the source, but now I'm not so sure. Here's how I tried to build it: 1. Use "sudo port edit --editor nano gcc47" to edit the Portfile for GCC-4.7 1a. Comment-out the "supported_archs i386 x86_64" line to: "#supported_archs i386 x86_64" (They "dealt" with the build problems on PowerPC by summarily executing the PowerPC build. Comment out the ban so you can try it.) 2. "sudo port upgrade gcc47 configure.compiler=apple-gcc-4.2" (This requires MacPorts' version of Apple-provided GCC 4.2 to be installed first.) 3. This ended up with an error. 4. Use "port log gcc47 > gcc47.log" to get the log so I can attach it here (I don't know how to kick-start the process on a PowerPC system that never had "gcc47" on it. For all I know, the MacPorts program may read the supported-architectures list and ban you from downloading it.) The worst part is that I can't even go back. The last version, which should be GCC 4.7.0, is still installed. It can print out the version information, but attempting to compile a program results in a link error with LibPPI. (But this is probably more of a MacPorts problem than a GCC one, so don't worry about it.) I'm totally screwed for now, except for the copy of GCC 4.6 I have lying around. (Should I try building GCC 4.7.1 straight from you guys, without going through MacPorts?)