Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 2024 13:39:57 +0000
From:      Lorenzo Salvadore <developer@lorenzosalvadore.it>
To:        Charlie Li <vishwin@freebsd.org>
Cc:        Lorenzo Salvadore <salvadore@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: d46106eb4b6d - main - lang/gcc14: Add jit language
Message-ID:  <LMn52_4CsxDSLDixnqHC7aSAvY2w_raxJLFsRtYzudjbDuOaKuub151MI-oMi-Nr8cLfUETenMrUratvYR982X_XVs-4lTJMowOySSWJ0tE=@lorenzosalvadore.it>
In-Reply-To: <b7743bde-0765-43f0-8057-367e89ef48a1@freebsd.org>
References:  <202409040856.4848unBG006591@gitrepo.freebsd.org> <b7743bde-0765-43f0-8057-367e89ef48a1@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, September 4th, 2024 at 15:16, Charlie Li <vishwin@freebsd.org=
> wrote:

>=20
>=20
> Lorenzo Salvadore wrote:
>=20
> > lang/gcc14: Add jit language
> >=20
> > The jit language was missing by accident. Restore it.
>=20
> jit fails to build on -CURRENT, at least when *_BOOTSTRAP is disabled:
>=20
> In file included from
> /wrkdirs/usr/ports/lang/gcc14/work/gcc-14.2.0/gcc/jit/dummy-frontend.cc:2=
3:
> In file included from
> /wrkdirs/usr/ports/lang/gcc14/work/gcc-14.2.0/gcc/jit/jit-playback.h:24:
> In file included from /usr/include/c++/v1/string:594:
> In file included from
> /usr/include/c++/v1/__memory_resource/polymorphic_allocator.h:20:
> In file included from /usr/include/c++/v1/tuple:1455:
> In file included from /usr/include/c++/v1/exception:82:
> /usr/include/c++/v1/__exception/exception_ptr.h:111:3: error: no member
> named 'fancy_abort' in namespace 'std'; did you mean simply 'fancy_abort'=
?
> 111 | std::abort();
> | ^~~~~
> /wrkdirs/usr/ports/lang/gcc14/work/gcc-14.2.0/gcc/system.h:808:13: note:
> 'fancy_abort' declared here
> 808 | extern void fancy_abort (const char , int, const char )
> | ^
>=20
> In file included from
> /wrkdirs/usr/ports/lang/gcc14/work/gcc-14.2.0/gcc/jit/dummy-frontend.cc:2=
3:
> In file included from
> /wrkdirs/usr/ports/lang/gcc14/work/gcc-14.2.0/gcc/jit/jit-playback.h:26:
> In file included from /usr/include/c++/v1/vector:325:
> In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
> In file included from /usr/include/c++/v1/__format/formatter_integral.h:3=
5:
> /usr/include/c++/v1/locale:288:32: error: attempt to use a poisoned
> identifier
> 288 | __status =3D (unsigned char)malloc(__nkw);
> | ^
> /usr/include/c++/v1/locale:1385:24: error: attempt to use a poisoned
> identifier
> 1385 | __ob =3D (char_type)malloc(2 * static_cast<size_t>(__nc) *
>=20
> sizeof(char_type));
> | ^
> /usr/include/c++/v1/locale:2429:31: error: attempt to use a poisoned
> identifier
> 2429 | _Tp* __t =3D (_Tp*)std::realloc(__owns ? __b.get() : 0,
> __new_cap);
> | ^
> /usr/include/c++/v1/locale:2632:24: error: attempt to use a poisoned
> identifier
> 2632 | __h.reset((char*)malloc(static_cast<size_t>(__wn -
>=20
> __wb.get() + 2)));
> | ^
> /usr/include/c++/v1/locale:2910:28: error: attempt to use a poisoned
> identifier
> 2910 | __hd.reset((char_type*)malloc(static_cast<size_t>(__n) *
>=20
> sizeof(char_type)));
> | ^
> /usr/include/c++/v1/locale:2936:28: error: attempt to use a poisoned
> identifier
> 2936 | __hw.reset((char_type*)malloc(__exn * sizeof(char_type)));
> | ^
> /usr/include/c++/v1/locale:2974:27: error: attempt to use a poisoned
> identifier
> 2974 | __h.reset((char_type*)malloc(__exn * sizeof(char_type)));
> | ^
>=20
> and more of these "attempt to use a poisoned identifier" scattered later.

Thanks for reporting, I was not aware of this issue. I had tested the commi=
t
on RELEASEs only.
This is definitely an issue that needs to be addressed and I will work on i=
t
as soon as possible.

Cheers,

Lorenzo Salvadore



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LMn52_4CsxDSLDixnqHC7aSAvY2w_raxJLFsRtYzudjbDuOaKuub151MI-oMi-Nr8cLfUETenMrUratvYR982X_XVs-4lTJMowOySSWJ0tE=>