Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2024 10:43:28 +0000
From:      Lorenzo Salvadore <developer@lorenzosalvadore.it>
To:        Filippo Moretti <filippomore@yahoo.com>
Cc:        Freebsd-stable List <stable@freebsd.org>
Subject:   Re: Error compiling GCC12 in STABLE14
Message-ID:  <p5OWPuUYti31cf75A_iCrGJvIaaR3KZezdRoAlewL_X10zk1posMff9K8isvP1G31poc_gWwHBMzw0J9WlvyJ7Z63tV3gXMSCoH9Dm2o-XU=@lorenzosalvadore.it>
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 Tuesday, February 13th, 2024 at 11:36, Filippo Moretti <filippomore@yaho=
o.com> wrote:

> 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-a727d8=
d7f50f: Fri Feb=C2=A0 9 22:57:13 CET 2024=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64
> checking whether we are cross compiling... configure: error: in `/usr/por=
ts/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
> gmake[3]: Leaving directory '/usr/ports/lang/gcc12/work/.build'
> gmake[2]: *** [Makefile:25580: stage1-bubble] Error 2
> gmake[2]: Leaving directory '/usr/ports/lang/gcc12/work/.build'
> gmake[1]: *** [Makefile:25928: bootstrap-lean] Error 2
> gmake[1]: Leaving directory '/usr/ports/lang/gcc12/work/.build'
> =3D=3D=3D> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur=
e to
> the maintainer.
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/lang/gcc12
>=20
> =3D=3D=3D>>> make build failed for lang/gcc12
> =3D=3D=3D>>> Aborting update
>=20
> =3D=3D=3D>>> Update for lang/gcc12 failed
> =3D=3D=3D>>> Aborting update
>=20

Are you trying to build the port with MULTILIB option enabled on a
self-compiled host with WITHOUT_LIB32 enabled? Try disabling MULTILIB.

Cheers,

Lorenzo Salvadore



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