Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941189 - sys-devel/mold: make mimalloc an optional dependency via USE=mimalloc
Summary: sys-devel/mold: make mimalloc an optional dependency via USE=mimalloc
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Sam James
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-10-09 06:55 UTC by Benjamino Masyura
Modified: 2024-10-11 02:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add mimalloc USE flag to mold ebuild (add-mimalloc-use-flag-mold-ebuild.patch,788 bytes, patch)
2024-10-09 06:55 UTC, Benjamino Masyura
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamino Masyura 2024-10-09 06:55:13 UTC
Created attachment 905122 [details, diff]
Add mimalloc USE flag to mold ebuild

This feature can be very useful for people who system-wide override malloc to more secure ones, such as hardened_malloc and even valgrind. If mold linker against mimalloc, when while it is possible to override malloc, it causes problems in the form of invalid free errors.

See this issue: https://github.com/rui314/mold/issues/1355