NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/59189: leak sanitizer broken



The following reply was made to PR toolchain/59189; it has been noted by GNATS.

From: Christos Zoulas <christos%zoulas.com@localhost>
To: RVP <rvp%sdf.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost,
 toolchain-manager%netbsd.org@localhost
Subject: Re: toolchain/59189: leak sanitizer broken
Date: Sat, 22 Mar 2025 12:20:34 -0400

 --Apple-Mail=_01562FF4-1AC2-412C-8422-64E1435F114D
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii
 
 Thanks for working on this. No more coredumps, but it does not detect =
 leaks either. Static linking still does not work.
 
 I tried the spec and it works. To install preinit files:
 
 $ cat /usr/src/external/gpl3/gcc/lib/preinit.mk
 # $NetBSD$
 
 FILE=3Dlib${LIB}_preinit.o
 FILES+=3D${FILE}
 FILESDIR=3D/usr/lib
 CLEANFILES+=3D${FILE} ${LIB}_preinit.o
 
 ${FILE}: ${LIB}_preinit.o
 	${_MKTARGET_CREATE}
         cp ${.ALLSRC} ${.TARGET}
 
 .include <bsd.files.mk>
 $ cvs diff Makefile
 [12:16pm] 18>cvs diff Makefile=20
 Index: Makefile
 =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=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvsroot/src/external/gpl3/gcc/lib/liblsan/Makefile,v
 retrieving revision 1.10
 diff -u -p -r1.10 Makefile
 --- Makefile    30 Sep 2024 00:32:12 -0000      1.10
 +++ Makefile    22 Mar 2025 16:16:44 -0000
 @@ -28,4 +28,6 @@ LIBDPLIBS+=3D pthread ${NETBSDSRCDIR}/lib/
 =20
  CWARNFLAGS.clang+=3D     -Wno-error=3Dunused-private-field
 =20
 +.include "../preinit.mk"
 +
  .include <bsd.lib.mk>
 
 
 christos
 
 
 --Apple-Mail=_01562FF4-1AC2-412C-8422-64E1435F114D
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP
 
 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org
 
 iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCZ97jUgAKCRBxESqxbLM7
 OoMPAJ0S7dSJAxIiVdif6aKK1dkhbuYyzgCg4FY5B8kBrq+LVZ5ZQs54oiU0ckY=
 =A6gd
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_01562FF4-1AC2-412C-8422-64E1435F114D--
 


Home | Main Index | Thread Index | Old Index