On Fri, May 31, 2013 at 10:02:50PM +0200, Dominique Dhumieres wrote:
> Jack,
> 
> Updating to gcc48-4.8.1-1000 failed on
> 
> Package manager version: 0.34.8
> Distribution version: selfupdate-rsync Fri May 31 17:04:22 2013, 10.5, powerpc
> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
> Xcode.app: 3.1.4
> Xcode command-line tools: 3.1.4
> Max. Fink build jobs:  1
> 
> with
> 
> g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables 
> -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic 
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H 
> -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc 
> -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include 
> -I../../gcc-4.8.1/gcc/../libcpp/include -I/sw/include -I/sw/include  
> -I../../gcc-4.8.1/gcc/../libdecnumber 
> -I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber 
> -I../../gcc-4.8.1/gcc/../libbacktrace -DCLOOG_INT_GMP -I/sw/include 
> -I/sw/include -I/sw/include \
>       -o build/genconstants.o ../../gcc-4.8.1/gcc/genconstants.c
> cc1plus: error: unrecognized command line option "-Wno-overlength-strings"
> make[3]: *** [build/genconstants.o] Error 1
> make[3]: Leaving directory 
> `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/gcc'
> make[2]: *** [all-stage1-gcc] Error 2
> make[2]: Leaving directory `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir'
> make: *** [bootstrap-lean] Error 2
> ### execution of /tmp/fink.eG7LQ failed, exit code 2
> ### execution of /tmp/fink.jsRUI failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc48-4.8.1-1000
> (Reading database ... 579617 files and directories currently installed.)
> Removing fink-buildlock-gcc48-4.8.1-1000 ...
> Failed: phase compiling: gcc48-4.8.1-1000 failed
> 
> Digging the config.log file I have found
> 
> ...
> configure:4201: gcc --version >&5
> powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577)
> ...
> configure:4711: checking for g++
> configure:4727: found /sw/var/lib/fink/path-prefix-g++-4.0/g++
> configure:4738: result: g++
> configure:4765: checking for C++ compiler version
> configure:4774: g++ --version >&5
> powerpc-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
> ...
> 
> So not only g++ is not synchronized with gcc, but g++ 4.0.1 does not support
> -Wno-overlength-strings.
> 
> TIA
> 
> Dominique

Dominique,
   Have you manually changed the symlinks for /usr/bin/gcc and /usr/bin/g++ to 
point at /usr/bin/gcc-4.2
and /usr/bin/g++-4.2? Also what do you get on the command line for 'which gcc' 
and 'gcc -v'? It should 
default to gcc-4.0 as gcc_select is no longer present in Xcode 3.1.4 to switch 
the symlinks on the compilers.
         Jack

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to