Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2021 21:28:35 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Filippo Moretti <filippomore@yahoo.com>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: Problem compiling gcc10
Message-ID:  <0DCC2B13-C81C-40FD-A9A2-EE46853A8293@FreeBSD.org>
In-Reply-To: <974619497.320062.1614964780136@mail.yahoo.com>
References:  <974619497.320062.1614964780136.ref@mail.yahoo.com> <974619497.320062.1614964780136@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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?0DCC2B13-C81C-40FD-A9A2-EE46853A8293>