Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2024 12:52:13 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Filippo Moretti <filippomore@yahoo.com>
Cc:        Freebsd-stable List <stable@freebsd.org>
Subject:   Re: Error compiling GCC12 in STABLE14
Message-ID:  <C893B1D2-B5C8-43B0-818D-E325A3EF358D@FreeBSD.org>
In-Reply-To: <1906611657.1741048.1707820574377@mail.yahoo.com>
References:  <1906611657.1741048.1707820574377.ref@mail.yahoo.com> <1906611657.1741048.1707820574377@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Feb 2024, at 11:36, Filippo Moretti <filippomore@yahoo.com> wrote:
>=20
> This is the error that I keep on getting while compiling GCC12
>=20
>=20
>=20
>=20
>=20
> [root@ROXY /usr/ports]# uname -a
> FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #22 =
stable/14-n266661-a727d8d7f50f: Fri Feb  9 22:57:13 CET 2024    =20
> filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64
>=20
>=20
> checking whether we are cross compiling... configure: error: in =
`/usr/ports/lang/gcc12/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[3]: *** [Makefile:19435: configure-stage1-target-libgcc] Error 1

I would suggest looking in the config.log file. :)

-Dimitry




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C893B1D2-B5C8-43B0-818D-E325A3EF358D>