Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

powerpc-*-netbsd gcc pkgsrc 3.2.1 doesn't play well.



WRT package source gcc 3.2.1:

Hm, this can't be quite right:

pkgsrc/lang/gcc3/work.powerpc/gcc-3.2.1/gcc/config.gcc I find:

> powerpc-*-netbsd*)
>         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h 
> rs6000/sysv4.h rs6000/netbsd.h"
>         tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
>         ;;

Why are we doing freebsd specs? Do they have a ppc port?

I'm trying to compile the latest package source gcc 3.2.1 for macppc.
But when I do, I get:

> Using `./config/rs6000/rs6000.c' for machine-specific logic.
> Using `./config/rs6000/rs6000.md' as machine description file.
> Using the following target machine macro files:
>         ./config/rs6000/rs6000.h
>         ./config/dbxelf.h
>         ./config/elfos.h
>         ./config/svr4.h
>         ./config/freebsd-spec.h
>         ./config/rs6000/sysv4.h
>         ./config/rs6000/netbsd.h

in the output, and, somewhere down the output:

> linking ./config/locale/generic/monetary_members.cc to src/monetary_members.cc
> linking ./config/locale/generic/numeric_members.cc to src/numeric_members.cc
> linking ./config/locale/generic/time_members.cc to src/time_members.cc
> linking ./config/locale/generic/c++locale_internal.h to 
> src/c++locale_internal.h
> linking ./config/linker-map.dummy to src/linker.map
> Adding multilib support to Makefile in .
> with_multisubdir=nof
> chmod: mkcheck: No such file or directory
> chmod: testsuite_flags: No such file or directory
> gmake[2]: Leaving directory `/mnt/usr/local/src/pkgsrcstuff/pkgsrc/lang/gcc3/w
>         ork.powerpc/gcc-3.2.1/powerpc--netbsd/nof/libstdc++-v3'
> gmake[2]: Entering directory `/mnt/usr/local/src/pkgsrcstuff/pkgsrc/lang/gcc3/
> work.powerpc/gcc-3.2.1/powerpc--netbsd/nof/libstdc++-v3'
> Making distclean in .
> gmake[3]: Entering directory `/mnt/usr/local/src/pkgsrcstuff/pkgsrc/lang/gcc3/
>         work.powerpc/gcc-3.2.1/powerpc--netbsd/nof/libstdc++-v3'
> rm -f config.h
> rm -f TAGS ID
> rm -f Makefile mkcheck testsuite_flags
> rm -f config.cache config.log stamp-h stamp-h[0-9]*
> true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" 
> "CC_FOR_TARGET=/mnt/usr/local/src/pkgsrc...
> true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" 
> "CC_FOR_TARGET=/mnt/usr/local/src/pkgsrc...
> true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" 
> "CC_FOR_TARGET=/mnt/usr/local/src/pkgsrc...
> rm -f libtool
> gmake[3]: Leaving directory `/mnt/usr/local/src/pkgsrcstuff/pkgsrc/lang/gcc3/w
>         ork.powerpc/gcc-3.2.1/powerpc--netbsd/nof/libstdc++-v3'
> Making distclean in testsuite
> gmake[3]: Entering directory `/mnt/usr/local/src/pkgsrcstuff/pkgsrc/lang/gcc3/
>         work.powerpc/gcc-3.2.1/powerpc--netbsd/nof/libstdc++-v3/testsuite'
> gmake[3]: *** No rule to make target `distclean'.  Stop.

                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

> gmake[3]: Leaving directory `/mnt/usr/local/src/pkgsrcstuff/pkgsrc/lang/gcc3/w
>         ork.powerpc/gcc-3.2.1/powerpc--netbsd/nof/libstdc++-v3/testsuite'
> gmake[2]: *** [distclean-recursive] Error 1
> gmake[2]: Leaving directory `/mnt/usr/local/src/pkgsrcstuff/pkgsrc/lang/gcc3/w
>         ork.powerpc/gcc-3.2.1/powerpc--netbsd/nof/libstdc++-v3'
> loading cache ../config.cache
> checking host system type... powerpc--netbsd
> checking target system type... powerpc--netbsd
> checking build system type... powerpc--netbsd
> checking for Cygwin environment... (cached) no
> checking for mingw32 environment... (cached) no
> checking for mawk... (cached) awk
> checking whether ln -s works... (cached) yes


and we're in a circular make loop: this sequence, making the same
section over and over again.  The build never completes.


Is the gcc-3.2.1/gcc/config.gcc entry for NetBSD powerpc bogus?  What
should be there?

Sorry for the cryptic info.  If more is needed, I'll do it.

Thanks in advance.

-Mike




Home | Main Index | Thread Index | Old Index