Alexander K. Hansen wrote:
> PowerPC (G4) on OS 10.4.6 in 10.4 (real) distro usiing XCode-2.3.
>
> The build seems to fail after stage 3, during the ppc64 configure phase:
>
> Comparing stages 2 and 3
> omparison successful.
> if false; then \
>   rm -rf stage2-*; \
>   echo timestamp >  stage2-lean; \
> fi
> mkdir -p -- ./fixincludes
> Configuring in ./fixincludes
> configure: creating cache ./config.cache
>
> <snip>
> Adding multilib support to Makefile in ../../../gcc-4.2-20060610/libstdc++-v3
> multidirs=ppc64
> with_multisubdir=
> Running configure in multilib subdirs ppc64
> pwd: 
> /Volumes/Archive/fink.build/gcc4-4.1.999-20060610/darwin_objdir/powerpc-apple-darwin8/libstdc++-v3
> Running configure in multilib subdir ppc64
> pwd: 
> /Volumes/Archive/fink.build/gcc4-4.1.999-20060610/darwin_objdir/powerpc-apple-darwin8
> mkdir ppc64
> configure: creating cache ./config.cache
> checking build system type... powerpc-apple-darwin8
> checking host system type... powerpc-apple-darwin8
> checking target system type... powerpc-apple-darwin8
> checking for a BSD-compatible install... /sw/bin/ginstall -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking how to run the C preprocessor...
> /Volumes/Archive/fink.build/gcc4-4.1.999-20060610/darwin_objdir/./gcc/xgcc
> -B/Volumes/Archive/fink.build/gcc4-4.1.999-20060610/darwin_objdir/./gcc/
> -B/sw/lib/gcc4/powerpc-apple-darwin8/bin/
> -B/sw/lib/gcc4/powerpc-apple-darwin8/lib/ -isystem
> /sw/lib/gcc4/powerpc-apple-darwin8/include -isystem
> /sw/lib/gcc4/powerpc-apple-darwin8/sys-include  -m64 -E
> checking for egrep... grep -E
> checking for powerpc-apple-darwin8-gcc...
> /Volumes/Archive/fink.build/gcc4-4.1.999-20060610/darwin_objdir/./gcc/xgcc
> -B/Volumes/Archive/fink.build/gcc4-4.1.999-20060610/darwin_objdir/./gcc/
> -B/sw/lib/gcc4/powerpc-apple-darwin8/bin/
> -B/sw/lib/gcc4/powerpc-apple-darwin8/lib/ -isystem
> /sw/lib/gcc4/powerpc-apple-darwin8/include -isystem
> /sw/lib/gcc4/powerpc-apple-darwin8/sys-include  -m64
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: cannot run
> C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> make: *** [all] Error 2
> ### execution of /var/tmp/tmp.1.j9tEgE failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc4-4.1.999-20060610
> (Reading database ... 321632 files and directories currently installed.)
> Removing fink-buildlock-gcc4-4.1.999-20060610 ...
> Failed: phase compiling: gcc4-4.1.999-20060610 failed
>
> A snippet of the relevant config.log gives:
>
> configure:2694: checking for C compiler default output file name
> configure:2697:
> /Volumes/Archive/fink.build/gcc4-4.1.999-20060610/darwin_objdir/./gcc/xgcc
> -B/Volumes/Archive/fink.build/gcc4-4.1.999-20060610/darwin_objdir/./gcc/
> -B/sw/lib/gcc4/powerpc-apple-darwin8/bin/
> -B/sw/lib/gcc4/powerpc-apple-darwin8/lib/ -isystem
> /sw/lib/gcc4/powerpc-apple-darwin8/include -isystem
> /sw/lib/gcc4/powerpc-apple-darwin8/sys-include  -m64 -O2 -g -O2
> conftest.c  >&5
> configure:2700: $? = 0
> configure:2746: result: a.out
> configure:2751: checking whether the C compiler works
> configure:2757: ./a.out
> ../../../../gcc-4.2-20060610/libstdc++-v3/configure: line 1: ./a.out:
> Bad CPU type in executable
> configure:2760: $? = 126
> configure:2769: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
>
> I've got a capture of the full build log for more information.
>   
Alexander:  Could you try to add --disable-multilib to ConfigureParams 
and try it again? 

-Jeff

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg



_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to