[Bug 278009] The brk(2) symbol isn't found on arm64 (devel/google-perftools fails to link)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 May 2026 19:19:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278009

Ronald Klop <ronald@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ronald@FreeBSD.org

--- Comment #8 from Ronald Klop <ronald@FreeBSD.org> ---
I removed BROKEN_aarch64 from the devel/google-perftools/Makefile and it
compiles fine on my 16.0/aarch64 RPI4 in a poudriere 14.3 jail.
Configure detects:
checking for sbrk... no

And it compiles, links and packages fine.
I used the default aarch64 options.

---Begin OPTIONS List---
===> The following configuration options are available for
google-perftools-2.18.1:
     DOCS=on: Build and/or install documentation
     PROFILER=off: Enable CPU profiler
====> The tcmalloc internal page size: you have to select exactly one of them
     PAGE8K=on: 8K page size
     PAGE32K=off: 32K page size
     PAGE64K=off: 64K page size
====> The tcmalloc allocation alignment: you have to select exactly one of them
     ALIGN8=off: 8 bytes allocation alignment
     ALIGN16=on: 16 bytes allocation alignment
===> Use 'make config' to modify these settings
---End OPTIONS List---

Would it be possible to unbreak aarch64? Or am I missing something?

-- 
You are receiving this mail because:
You are the assignee for the bug.