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

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_1896928_1272014850.1707843121086
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

 Disabling MULTILIB solved the problemthank youFilippo

    On Tuesday, February 13, 2024 at 12:53:11 PM GMT+1, Dimitry Andric <dim=
@freebsd.org> wrote: =20
=20
 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-a727d8=
d7f50f: Fri Feb=C2=A0 9 22:57:13 CET 2024=C2=A0 =C2=A0=20
> filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64
>=20
>=20
> 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

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

-Dimitry


 =20
------=_Part_1896928_1272014850.1707843121086
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydp699af876yahoo-style-wrap" style=
=3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px=
;"><div></div>
        <div dir=3D"ltr" data-setdir=3D"false">Disabling MULTILIB solved th=
e problem</div><div dir=3D"ltr" data-setdir=3D"false">thank you</div><div d=
ir=3D"ltr" data-setdir=3D"false">Filippo<br></div><div><br></div>
       =20
        </div><div id=3D"yahoo_quoted_8652889317" class=3D"yahoo_quoted">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div>
                    On Tuesday, February 13, 2024 at 12:53:11 PM GMT+1, Dim=
itry Andric &lt;dim@freebsd.org&gt; wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir=3D"ltr">On 13 Feb 2024, at 11:36, Filippo Mor=
etti &lt;<a shape=3D"rect" ymailto=3D"mailto:filippomore@yahoo.com" href=3D=
"mailto:filippomore@yahoo.com">filippomore@yahoo.com</a>&gt; wrote:<div cla=
ss=3D"yqt4397248545" id=3D"yqtfd71600"><br clear=3D"none">&gt; <br clear=3D=
"none">&gt; This is the error that I keep on getting while compiling GCC12<=
br clear=3D"none">&gt; <br clear=3D"none">&gt; <br clear=3D"none">&gt; <br =
clear=3D"none">&gt; <br clear=3D"none">&gt; <br clear=3D"none">&gt; [root@R=
OXY /usr/ports]# uname -a<br clear=3D"none">&gt; FreeBSD ROXY 14.0-STABLE F=
reeBSD 14.0-STABLE #22 stable/14-n266661-a727d8d7f50f: Fri Feb&nbsp; 9 22:5=
7:13 CET 2024&nbsp; &nbsp;  <br clear=3D"none">&gt; filippo@ROXY:/usr/obj/u=
sr/src/amd64.amd64/sys/ROXY amd64<br clear=3D"none">&gt; <br clear=3D"none"=
>&gt; <br clear=3D"none">&gt; checking whether we are cross compiling... co=
nfigure: error: in `/usr/ports/lang/gcc12/work/.build/x86_64-portbld-freebs=
d14.0/32/libgcc':<br clear=3D"none">&gt; configure: error: cannot run C com=
piled programs.<br clear=3D"none">&gt; If you meant to cross compile, use `=
--host'.<br clear=3D"none">&gt; See `config.log' for more details<br clear=
=3D"none">&gt; gmake[3]: *** [Makefile:19435: configure-stage1-target-libgc=
c] Error 1</div><br clear=3D"none"><br clear=3D"none">I would suggest looki=
ng in the config.log file. :)<br clear=3D"none"><br clear=3D"none">-Dimitry=
<div class=3D"yqt4397248545" id=3D"yqtfd98511"><br clear=3D"none"><br clear=
=3D"none"><br clear=3D"none"></div></div></div>
            </div>
        </div></body></html>
------=_Part_1896928_1272014850.1707843121086--



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