On Mar 6, 2015, at 3:54 AM, René J.V. Bertin wrote:

> On Friday March 06 2015 03:04:57 Ryan Schmidt wrote:
> 
>> This is probably a PowerPC G3-specific issue. I'll bet something got 
>> inadvertently compiled for PowerPC G4, which is not compatible with your G3. 
>> What is the CPU subtype of /opt/local/lib/libffi.6.dylib and 
>> /opt/local/lib/libgio-2.0.0.dylib? Running the following command might tell 
>> us:
>> 
>> lipo -info /opt/local/lib/libffi.6.dylib /opt/local/lib/libgio-2.0.0.dylib
> 
> Ryan is probably right, but there's also a linker option that instructs it to 
> consider all CPU subtypes. Can't remember its name and am not on my Mac, but 
> look for the keywords {cpu,subtype,all} in `man ld`.
> 
> Should you decide to rebuild from scratch, you may consider using 
> `configure.optflags="-march=G3"` or whatever compiler option(s) is/are to be 
> used to force it to generate G3 code.

My expectation is that on a G3, G3 code will be generated, so I'm not sure why 
he's seeing this problem. Overriding portfile options like configure.optflags 
at the command line can be a useful troubleshooting tool, but it is not 
something users are expected to need to do on a regular basis. Let's perhaps 
wait and see what the actual architectures of the files in question are, and 
analyze the build log of the one that has the wrong arch, before we recommend 
changing any flags.


_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to