Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2026 19:19:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278009] The brk(2) symbol isn't found on arm64 (devel/google-perftools fails to link)
Message-ID:  <bug-278009-227-6PxltwKtYQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278009-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278009-227-6PxltwKtYQ>