#36041: gimp2: build fails on 10.5.8 PPC ------------------------------+---------------------- Reporter: michael.klein@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: gimp2 | ------------------------------+---------------------- Comment (by michael.klein@…): Replying to [comment:13 newchief@…]:
The most crucial change is in glib2. When I built gimp, I couldn't start it. It crashed right after splash screen with following backtrace:
{{{ (gimp-2.8:7170): GLib-GObject-WARNING **: gvalue.c:183: cannot initialize GValue with type 'gchararray', the value has already been initialized as '(null)' }}}
{{{ Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x44424414 0x01264370 in g_type_check_value () }}}
I've seen this a while ago also with gnumeric. Seems to be caused by a bug in the gcc-4.2 shipped with Xcode. Rebuilding glib2 with apple-gcc42 did the trick for me. Since then I'm using apple-gcc42 as default compiler (port select gcc apple-gcc42) -- Ticket URL: <https://trac.macports.org/ticket/36041#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X