Date: Thu, 10 Nov 2016 22:21:18 +0100 From: Matthias Andree <matthias.andree@gmx.de> To: freebsd-hackers@FreeBSD.org Cc: Mark Linimon <linimon@lonesome.com> Subject: sbrk(0) replacement for memory resource tracking? (was: [linimon@FreeBSD.org: svn commit: r425823 - in head: benchmarks/stress-ng cad/cider cad/ngspice_rework databases/mariadb100-server databases/mariadb101-server databases/mariadb55-server databases/virtuoso devel/ace deve...]) Message-ID: <dd964b1d-db3c-94d4-794b-929b28326430@gmx.de> In-Reply-To: <20161110012624.GA23701@lonesome.com> References: <20161110012624.GA23701@lonesome.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 10.11.2016 um 02:26 schrieb Mark Linimon: > FYI. Unfortunately I do not know what the generic fix is yet. But at > least this will prevent the package builders from wasting time right no= w. >=20 > I will try to keep the following page updated as I learn more: >=20 > https://wiki.freebsd.org/PortsBrokenWithSbrk >=20 > (oops, I forgot I have not put in the proper logfile URLs yet. Let me > get started on that.) >=20 > mcl Please help me understand the issue, and if by adding one or two introductory paragraphs to the Wiki. To me it looks like the sbrk() function is going away from our base system underneath a stable 11-* branch. If that is true, I'll have to object to that and request sbrk() be put back, we add a deprecation notice now (if necessary via errata notice) and pull it only from FreeBSD= 12. OTOH, e2fsprogs uses only sbrk(0) to track its overall memory use, and only to track its resource usage. I'll be happy to help porting to something else that serves the same purpose, aka "how much memory am I using" - but what would that be? >=20 > Modified: head/sysutils/e2fsprogs/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=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sysutils/e2fsprogs/Makefile Thu Nov 10 01:08:44 2016 (r425822) > +++ head/sysutils/e2fsprogs/Makefile Thu Nov 10 01:21:43 2016 (r425823) > @@ -14,6 +14,8 @@ LICENSE=3D GPLv2 > =20 > PORTSCOUT=3D ignore # cannot handle the version in the directory > =20 > +BROKEN_aarch64=3D Fails to link: missing sbrk > + > USES=3D cpe gmake pkgconfig tar:xz > CPE_VENDOR=3D e2fsprogs_project > USE_CSTD=3D gnu99 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dd964b1d-db3c-94d4-794b-929b28326430>