gcc44

Jack Howarth howarth at bromo.med.uc.edu
Sat Sep 12 19:12:19 PDT 2009


On Sat, Sep 12, 2009 at 10:06:18PM -0400, Jack Howarth wrote:
>    Okay, you do have something else strange going on in the gcc44
> package that I never saw in fink...
> 
> Checking multilib configuration for libgcc...
> Configuring stage 1 in x86_64-apple-darwin10.0.0/libgcc
> configure: creating cache ./config.cache
> checking for --enable-version-specific-runtime-libs... no
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking build system type... x86_64-apple-darwin10.0.0
> checking host system type... x86_64-apple-darwin10.0.0
> checking for x86_64-apple-darwin10.0.0-ar... /usr/bin/ar
> checking for x86_64-apple-darwin10.0.0-lipo... lipo
> checking for x86_64-apple-darwin10.0.0-nm... /opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/build/./gcc/nm
> checking for x86_64-apple-darwin10.0.0-ranlib... /usr/bin/ranlib -c
> checking for x86_64-apple-darwin10.0.0-strip... /usr/bin/strip
> checking whether ln -s works... yes
> checking for x86_64-apple-darwin10.0.0-gcc... /opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin10.0.0/bin/ -B/opt/local/x86_64-apple-darwin10.0.0/lib/ -isystem /opt/local/x86_64-apple-darwin10.0.0/include -isystem /opt/local/x86_64-apple-darwin10.0.0/sys-include
> checking for suffix of object files... configure: error: in `/opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/build/x86_64-apple-darwin10.0.0/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> 
> I'll have to think about this for awhile. From config.log in 
> /opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/build/x86_64-apple-darwin10.0.0/libgcc
> something is passing CFLAGS='-g -O2 -arch x86_64'. You really don't want to be doing that. Anyone know
> where is being set and how we can disable it?
>                     Jack
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Thinking on this more, I suspect this is misguided attempt at emulating the
compiler wrappers in fink. Again the compilers wrappers in fink pass -m32 or
-m64 as shell script symlink for the actual compiler. This means that -m32
or -m64 are passed effectively on CC and *NOT* on any compiler flags like
CFLAGS, FFLAGS, or CXXFLAGS. Doing that will never allow the multilib to build
in gcc because you are short-circuiting it when it attempts to build -m32.
My guess anyway.
              Jack
ps None of these build issues every existed on fink even before the compiler
wrappers when you pass the appropriate triplets.


More information about the macports-dev mailing list