On Mon, Nov 07, 2011 at 05:33:14PM +0100, Peter Dyballa wrote:
> Hello!
>
> I ran a lengthy update over-night. The build ends with:
>
> rm -f stage_current
> Comparing stages 2 and 3
> warning: gcc/cc1-checksum.o differs
> warning: gcc/cc1obj-checksum.o differs
> warning: gcc/cc1objplus-checksum.o differs
> warning: gcc/cc1plus-checksum.o differs
> Bootstrap comparison failure!
> gcc/host-darwin.o differs
> make[2]: *** [compare] Error 1
> make[1]: *** [stage3-bubble] Error 2
> make: *** [all] Error 2
>
> Package manager version: 0.31.4
> Distribution version: selfupdate-cvs Sun Nov  6 13:23:21 2011, 10.5,  
> powerpc
> Trees: local/main stable/main stable/crypto unstable/main unstable/ 
> crypto
> Xcode: 3.1.4
>
>
> I checked the build log. Differences between stages 2 and 3 are:
>
>       Configuring stage 2 in ./gcc
>       checking for -single_module linker flag... warning: no debug symbols in 
> executable (-arch ppc7400)
>       yes
>
> vs.
>       Configuring stage 2 in ./gcc
>       checking for -single_module linker flag... yes
>
>       Configuring stage 2 in ./libiberty
>       Configuring stage 2 in ./libcpp
>       Configuring stage 2 in ./libdecnumber
>       use of "/sw/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/ 
> xgcc -B/sw/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/ - 
> B/sw/lib/gcc4.6/powerpc-apple-darwin9.8.0/bin/ -B/sw/lib/gcc4.6/ 
> powerpc-apple-darwin9.8.0/bin/ -B/sw/lib/gcc4.6/powerpc-apple- 
> darwin9.8.0/lib/ -isystem /sw/lib/gcc4.6/powerpc-apple-darwin9.8.0/ 
> include -isystem /sw/lib/gcc4.6/powerpc-apple-darwin9.8.0/sys-include    
> -c -DHAVE_CONFIG_H -g -O2 -mdynamic-no-pic -gtoggle ..."
> vs.
>       Configuring stage 3 in ./libiberty
>       Configuring stage 3 in ./libcpp
>       Configuring stage 3 in ./libdecnumber
>       use of "/sw/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/ 
> xgcc -B/sw/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/ - 
> B/sw/lib/gcc4.6/powerpc-apple-darwin9.8.0/bin/ -B/sw/lib/gcc4.6/ 
> powerpc-apple-darwin9.8.0/bin/ -B/sw/lib/gcc4.6/powerpc-apple- 
> darwin9.8.0/lib/ -isystem /sw/lib/gcc4.6/powerpc-apple-darwin9.8.0/ 
> include -isystem /sw/lib/gcc4.6/powerpc-apple-darwin9.8.0/sys-include    
> -c -DHAVE_CONFIG_H -g -O2 -mdynamic-no-pic"
>
>
>
> --
> Greetings
>
>   Pete

Pete,
   I've have no similar reports nor can I find anything like this upstream on 
in the MacPort's
tickets. David Fang did the test builds on powerpc-apple-darwin9 (as I no 
longer have a PowerPC
machine on line). I should check a couple things though...

1) Make sure you don't have the binutils package installed as it's nm can cause 
problems
for the FSF gcc build. If this is the problem, I can modify the packaging to 
explicitly use
/usr/bin/nm, etc but I've been hoping to avoid that since almost no one 
installs binutils.
2) If you have MacPorts installed in /opt/local, disable it by moving /opt 
aside and trying
to rebuild gcc46. You make want to check /sw/lib with something like...

cd /sw/lib
otool -L *.dylib | grep opt | grep local

to sanity check that you haven't created packages which are linked against 
MacPorts if it was
present. Configure can look in /opt/local in some cases so you have to be 
really careful about
MacPorts existing on the same volume as fink. They don't play well together.
              Jack
ps Of course the same goes for anything in /usr/local.

>
> Time is an illusion. Lunchtime, doubly so.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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