pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Building gcc 14 fails on NetBSD/powerpc
I am trying to rebuild pkgs on NetBSD/macppc running latest -current.
This fails when trying to build gcc 14 for rust:
=> Build dependency gcc14>=14.1: NOT found
=> Verifying package-install clean for ../../lang/gcc14
[..]
checking for powerpc--netbsd-gcc... /usr/pkgobj/lang/gcc14/work/build/./gcc/xgcc -B/usr/pkgobj/lang/gcc14/work/build/./gcc/ -B/usr/pkg/gcc14/powerpc--netbsd/bin/ -B/usr/pkg/gcc14/powerpc--netbsd/lib/ -isystem /usr/pkg/gcc14/powerpc--netbsd/include -isystem /usr/pkg/gcc14/powerpc--netbsd/sys-include -fno-checking -msoft-float -fPIC -mstrict-align
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/usr/pkgobj/lang/gcc14/work/build/powerpc--netbsd/soft-float/libgcc':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
gmake[2]: *** [Makefile:21655: configure-stage1-target-libgcc] Error 1
gmake[2]: Leaving directory '/usr/pkgobj/lang/gcc14/work/build'
gmake[1]: *** [Makefile:27988: stage1-bubble] Error 2
.work.log ends with:
[*] cpp conftest.c
<.> /usr/pkgobj/lang/gcc14/work/.gcc/bin/cpp conftest.c -I/usr/pkgobj/lang/gcc14/work/.buildlink/include
[*] /usr/pkgobj/lang/gcc14/work/.tools/bin/mkdir conf17755.dir
<.> /bin/mkdir -p conf17755.dir
[*] /usr/pkgobj/lang/gcc14/work/.tools/bin/mkdir -p .
<.> /bin/mkdir -p -p .
[*] /usr/pkgobj/lang/gcc14/work/.tools/bin/mkdir soft-float
<.> /bin/mkdir -p soft-float
[*] /usr/pkgobj/lang/gcc14/work/.tools/bin/mkdir soft-float/libgcc
<.> /bin/mkdir -p soft-float/libgcc
[*] /usr/pkgobj/lang/gcc14/work/.tools/bin/mkdir conf23518.dir
<.> /bin/mkdir -p conf23518.dir
[*] /usr/pkgobj/lang/gcc14/work/.tools/bin/mkdir -p .
<.> /bin/mkdir -p -p .
and build/powerpc--netbsd/soft-float/libgcc/config.log
has:
configure:3747: checking whether we are cross compiling
configure:3755: /usr/pkgobj/lang/gcc14/work/build/./gcc/xgcc -B/usr/pkgobj/lang$
configure:3759: $? = 0
configure:3766: ./conftest
[1] Abort trap ./conftest${ac_cv_exeext}
configure:3770: $? = 134
configure:3777: error: in `/usr/pkgobj/lang/gcc14/work/build/powerpc--netbsd/so$
configure:3781: error: cannot run C compiled programs.
but I can't find the relevant conftest source (or binary) to investigate
closer.
Any hints?
Martin
Home |
Main Index |
Thread Index |
Old Index