Here are my outputs: which gcc /usr/bin/gcc
gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. xcodebuild -version Xcode 3.2.6 Component versions: DevToolsCore-1809.0; DevToolsSupport-1806.0 BuildVersion: 10M2518 BC On Oct 23, 2013, at 6:39 AM, Alexander Hansen wrote: > On 10/22/13 10:28 AM, Benjamin Cain wrote: >> Hi all, >> >> I'm trying to update gcc as part of a (long overdue) fink update-all. The >> same thing happens if I try to update this package by itself. I get the >> following error message: >> >> >> /sw/src/fink.build/gcc48-4.8.2-1000/darwin_objdir/./prev-gcc/xg++ >> -B/sw/src/fink.build/gcc48-4.8.2-1000/darwin_objdir/./prev-gcc/ >> -B/sw/lib/gcc4.8/i386-apple-darwin10.8.0/bin/ -nostdinc++ >> -B/sw/src/fink.build/gcc48-4.8.2-1000/darwin_objdir/prev-i386-apple-darwin10.8.0/libstdc++-v3/src/.libs >> >> -B/sw/src/fink.build/gcc48-4.8.2-1000/darwin_objdir/prev-i386-apple-darwin10.8.0/libstdc++-v3/libsupc++/.libs >> >> -I/sw/src/fink.build/gcc48-4.8.2-1000/darwin_objdir/prev-i386-apple-darwin10.8.0/libstdc++-v3/include/i386-apple-darwin10.8.0 >> >> -I/sw/src/fink.build/gcc48-4.8.2-1000/darwin_objdir/prev-i386-apple-darwin10.8.0/libstdc++-v3/include >> -I/sw/src/fink.build/gcc48-4.8.2-1000/gcc-4.8.2/libstdc++-v3/libsupc++ >> -L/sw/src/fink.build/gcc48-4.8.2-1000/darwin_objdir/prev-i386-apple-darwin10.8.0/libstdc++-v3/src/.libs >> >> -L/sw/src/fink.build/gcc48-4.8.2-1000/darwin_objdir/prev-i386-apple-darwin10.8.0/libstdc++-v3/libsupc++/.libs >> -c -DIN_GCC_FRONTEND -g -O2 -mdynamic-no-pic -gtoggle -DIN_GCC >> -fno-exception s > -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing > -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic > -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H > -I. -Ifortran -I../../gcc-4.8.2/gcc -I../../gcc-4.8.2/gcc/fortran > -I../../gcc-4.8.2/gcc/../include -I../../gcc-4.8.2/gcc/../libcpp/include > -I/sw/include -I/sw/include -I../../gcc-4.8.2/gcc/../libdecnumber > -I../../gcc-4.8.2/gcc/../libdecnumber/dpd -I../libdecnumber > -I../../gcc-4.8.2/gcc/../libbacktrace -DCLOOG_INT_GMP -I/sw/include > -I/sw/include -I/sw/include ../../gcc-4.8.2/gcc/fortran/module.c -o > fortran/module.o >> ../../gcc-4.8.2/gcc/fortran/module.c:110:1: error: conflicting declaration >> 'typedef enum pointer_t pointer_t' >> pointer_t; >> ^ >> In file included from /usr/include/mach/memory_object_types.h:77:0, >> from /usr/include/mach/mach_types.h:85, >> from >> /sw/src/fink.build/gcc48-4.8.2-1000/darwin_objdir/prev-gcc/include-fixed/malloc.h:37, >> from ../../gcc-4.8.2/gcc/system.h:460, >> from ../../gcc-4.8.2/gcc/fortran/module.c:68: >> /usr/include/mach/vm_types.h:40:26: error: 'pointer_t' has a previous >> declaration as 'typedef vm_offset_t pointer_t' >> typedef vm_offset_t pointer_t; >> ^ >> make[3]: *** [fortran/module.o] Error 1 >> make[2]: *** [all-stage2-gcc] Error 2 >> make[1]: *** [stage2-bubble] Error 2 >> make: *** [bootstrap-lean] Error 2 >> ### execution of /tmp/fink.BjdRT failed, exit code 2 >> ### execution of /tmp/fink.HR1E3 failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc48-4.8.2-1000 >> (Reading database ... 61262 files and directories currently installed.) >> Removing fink-buildlock-gcc48-4.8.2-1000 ... >> Failed: phase compiling: gcc48-4.8.2-1000 failed >> >> Before reporting any errors, please run "fink selfupdate" and try again. >> >> If you continue to have issues, please check to see if the FAQ on Fink's >> website solves the problem. If not, ask on one (not both, please) of >> these mailing lists: >> >> The Fink Users List <fink-us...@lists.sourceforge.net> >> The Fink Beginners List <fink-beginners@lists.sourceforge.net>, >> >> with a carbon copy to the maintainer: >> >> Jack Howarth <howa...@bromo.med.uc.edu> >> >> Note that this is preferable to emailing just the maintainer directly, >> since most fink package maintainers do not have access to all possible >> hardware and software configurations. >> >> Please try to include the complete error message in your report. This >> generally consists of a compiler line starting with e.g. "gcc" or "g++" >> followed by the actual error output from the compiler. >> >> Also include the following system information: >> Package manager version: 0.35.2 >> Distribution version: selfupdate-rsync Tue Oct 22 09:37:10 2013, 10.6, i386 >> Trees: local/main stable/main stable/crypto unstable/main >> Xcode.app: 3.2.6 >> Xcode command-line tools: 3.2.6 >> Max. Fink build jobs: 1 >> >> Any suggestions would be helpful. Thanks! >> >> BC >> >> >> > > I don't replicate this on 10.6/i386/Xcode 3.2.6 . What do you get from: > > which gcc > gcc --version > xcodebuild -version > > ? > -- > Alexander Hansen, Ph.D. > Fink User Liaison > My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners