Package Details: hardened_malloc 12-1

Git Clone URL: (read-only, click to copy)
Package Base: hardened_malloc
Description: Hardened allocator designed for modern systems
Upstream URL:
Licenses: MIT
Submitter: thithib
Maintainer: thithib
Last Packager: thithib
Votes: 17
Popularity: 0.34
First Submitted: 2019-08-18 21:53 (UTC)
Last Updated: 2024-05-30 21:45 (UTC)

Latest Comments

1 2 Next › Last »

kman1990 commented on 2024-06-15 16:04 (UTC)

Attempting to update from 11-1 to 12-1 results in build failure.

Error trace:
FAIL: test_realloc_init (test_smc.TestSimpleMemoryCorruption.test_realloc_init)

Traceback (most recent call last): File "/home/USER/.cache/yay/hardened_malloc/src/hardened_malloc/test/", line 239, in test_realloc_init self.assertEqual(returncode, 0) AssertionError: -11 != 0

Ran 38 tests in 2.368s

FAILED (failures=1)

gcb0 commented on 2024-03-26 19:27 (UTC)

here's the patch to build v12. I'm still dealing with account recovery annoyances on gitlab, thanks to google for wiping out my phone. lesson learned...

@@ -1,7 +1,7 @@
 # Maintiner: Thibaut Sautereau (thithib) <thibaut at sautereau dot fr>

 pkgdesc="Hardened allocator designed for modern systems"
@@ -9,14 +9,15 @@ url=""
 provides=('' '')
 validpgpkeys=('65EEFE022108E2B708CBFCF7F9E712E59AF5F22A') # Daniel Micay <>

 build() {
   cd "$pkgname"
+  make test
   make VARIANT=default
   make VARIANT=light

bbgun7 commented on 2024-01-17 17:16 (UTC)

I'm getting FAILED (unknown public key F9E712E59AF5F22A), but that key shows up in the list when I do sudo pacman-key --refresh-keys. I also tried sudo pacman-key --recv-keys F9E712E59AF5F22A but it still doesn't work after that. Anybody know why that might be?

Sir-Photch commented on 2023-09-26 02:44 (UTC)

I suggest switching arch to any, since this package can also be built and used on archlinuxarm.

thestinger commented on 2022-01-23 23:38 (UTC)

You should be able to remove CONFIG_WERROR=false for make test for version 11.

The flags for the library weren't meant to be inherited by the tests. Having environment variables exported for CFLAGS, etc. was causing them to get applied for the test Makefile too. That's now resolved.

mynacol commented on 2022-01-12 20:59 (UTC)

hardened_malloc 10 was just released. A new light build variant is included, which should be packaged by this project as well. See

thithib commented on 2021-11-04 23:00 (UTC)

I sent a pull request to fix the test suite build issue and it's been merged: I'll backport the patch and release a new version of the package.

rhlobo commented on 2021-07-20 08:16 (UTC)

In the PKGBUILD, inside the "check" function add the line:


before the make command.

Sapiens commented on 2021-07-14 21:10 (UTC)

I have no experience with C. What do I need to do to properly set the CPPFLAGS to make the compilation succeed? Thanks!

moita commented on 2021-06-05 19:58 (UTC)

Thanks @thithib, setting CPPFLAGS allowed the check to succeed.