Date: Sat, 6 Mar 2021 10:19:57 +0000 (UTC) From: Filippo Moretti <filippomore@yahoo.com> To: Dimitry Andric <dim@FreeBSD.org>, FreeBSD Current <current@freebsd.org> Subject: Re: Problem compiling gcc10 Message-ID: <1452018887.604212.1615025997586@mail.yahoo.com> In-Reply-To: <0DCC2B13-C81C-40FD-A9A2-EE46853A8293@FreeBSD.org> References: <974619497.320062.1614964780136.ref@mail.yahoo.com> <974619497.320062.1614964780136@mail.yahoo.com> <0DCC2B13-C81C-40FD-A9A2-EE46853A8293@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
This is the output from MAKE_JOBS_UNSAFE=yes
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/ports/lang/gcc10/work/.build/x86_64-portbld-freebsd14.0/32/libgcc':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
gmake[4]: *** [Makefile:17191: configure-stage1-target-libgcc] Error 1
gmake[4]: Leaving directory '/usr/ports/lang/gcc10/work/.build'
gmake[3]: *** [Makefile:22903: stage1-bubble] Error 2
gmake[3]: Leaving directory '/usr/ports/lang/gcc10/work/.build'
gmake[2]: *** [Makefile:23235: bootstrap-lean] Error 2
gmake[2]: Leaving directory '/usr/ports/lang/gcc10/work/.build'
*** Error code 1
Stop.
On Friday, March 5, 2021, 9:28:52 PM GMT+1, Dimitry Andric <dim@freebsd.org> wrote:
On 5 Mar 2021, at 18:19, Filippo Moretti via freebsd-current <freebsd-current@freebsd.org> wrote:
>
> The following is the error while compiling on:
> [root@sting /usr/ports]# uname -aFreeBSD sting 14.0-CURRENT FreeBSD 14.0-CURRENT #32 main-n245104-dfff1de729b: Fri Feb 26 12:08:40 CET 2021 root@sting:/usr/obj/usr/src/amd64.amd64/sys/STING amd64
>
> gmake[6]: *** [Makefile:1212: multi-do] Error 1gmake[6]: Leaving directory '/usr/ports/lang/gcc10/work/.build/x86_64-portbld-fr eebsd14.0/libgcc'gmake[5]: *** [Makefile:127: all-multi] Error 2gmake[5]: *** Waiting for unfinished jobs....gmake[5]: Leaving directory '/usr/ports/lang/gcc10/work/.build/x86_64-portbld-fr eebsd14.0/libgcc'gmake[4]: *** [Makefile:17599: all-stage1-target-libgcc] Error 2gmake[4]: Leaving directory '/usr/ports/lang/gcc10/work/.build'gmake[3]: *** [Makefile:22903: stage1-bubble] Error 2gmake[3]: Leaving directory '/usr/ports/lang/gcc10/work/.build'gmake[2]: *** [Makefile:23235: bootstrap-lean] Error 2gmake[2]: Leaving directory '/usr/ports/lang/gcc10/work/.build'===> Compilation failed unexpectedly.Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure tothe maintainer.*** Error code 1Stop.make[1]: stopped in /usr/ports/lang/gcc10*** Error code 1
Hi Filippo,
Unfortunately the actual error is earlier in the build, so it is not
shown, and your log is wrapped very strangely. Can you run the build
under script(1) and upload a full build log somewhere?
Alternatively, you can set MAKE_JOBS_UNSAFE=yes so it would use a single
job make, and it should then show the error more clearly at the end. But
this is likely to take a bit longer to build.
-Dimitry
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2
iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYEKUcwAKCRCwXqMKLiCW
o8I1AKDgAPQRfmioVmm/JeK1naC5AC6BoQCeNJwZN5i9xIfZyCM3oDdTTUuqLoo=
=yWvd
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1452018887.604212.1615025997586>
