Skip site navigation (1)Skip section navigation (2)
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
------=_Part_604211_1944481186.1615025997586
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

 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

  
------=_Part_604211_1944481186.1615025997586
Content-Type: application/pgp-signature
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="signature.asc"
Content-ID: <5a2665b7-edee-3a28-4000-4af364b2f320@yahoo.com>

LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHL01hY0dQRzIgdjIu
Mg0KDQppRjBFQVJFQ0FCMFdJUVI2dEdMU3pqWDhiVUk1VDgyd1hxTUtMaUNXb3dVQ1lFS1Vjd0FL
Q1JDd1hxTUtMaUNXDQpvOEkxQUtEZ0FQUVJmbWlvVm1tL0plSzFuYUM1QUM2Qm9RQ2VOSndaTjVp
OXhJZlp5Q00zb0RkVFRVdXFMb289DQo9eVd2ZA0KLS0tLS1FTkQgUEdQIFNJR05BVFVSRS0tLS0t
DQo=

------=_Part_604211_1944481186.1615025997586--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1452018887.604212.1615025997586>