Re: gcc-15.2.0 problem?

"Maurice van der Stee" ([email protected] via blfs-support Mailing List) <[email protected]> Sun, 22 Mar 2026 14:50:08 +0100
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1774187426-1253-17972
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sun, 2026-03-22 at 13:16 +0100, tjoen wrote:
> On 3/21/26 8:28 AM, Maurice van der Stee ([email protected]=C2=A0via=20
> blfs-support Mailing List) wrote:
> > I compiled all of elfutils 0.194 succesfully with gcc 15.2.0 while
> > stilll on glibc 2.42.
>=20
> In my case it resulted in:
> # chroot /mnt/lfs/
> *** stack smashing detected ***: terminated
> Aborted (core dumped)
>=20
> :-(
>=20
> BTW using LFS since 2004
>=20

I would be very, very surprised if the above error is related to your
problem compiling elfutils. chroot only depends on glibc.=20

> > glibc 2.43 has a change to the declaration of bsearch adding the
> > const
> > qualifier. I'm quite sure this is the cause of your problem.
> > Youcould
> > check if one of the major distros has a fix.

--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Maurice van der Stee

------------=_1774187426-1253-17972
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page

------------=_1774187426-1253-17972--