This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/53883] New: GCC 4.7.1 doesn't build on Mac OS X 10.4.11 Tiger/PowerPC (32-bit)
- From: "dwalker07 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 07 Jul 2012 02:15:07 +0000
- Subject: [Bug driver/53883] New: GCC 4.7.1 doesn't build on Mac OS X 10.4.11 Tiger/PowerPC (32-bit)
- Auto-submitted: auto-generated
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?)