Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#40944 - [gc] build with --enable-redirect-malloc
Attached to Project:
Arch Linux
Opened by Alexandre Kandalintsev (exe2) - Monday, 23 June 2014, 10:39 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 11 February 2015, 18:22 GMT
Opened by Alexandre Kandalintsev (exe2) - Monday, 23 June 2014, 10:39 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 11 February 2015, 18:22 GMT
|
DetailsIt is useful to build extra/gc with --enable-redirect-malloc
Without this it is impossible to write wrappers of malloc/free/etc functions and call GC_* inside them. What do you think? |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 11 February 2015, 18:22 GMT
Reason for closing: Won't implement
Wednesday, 11 February 2015, 18:22 GMT
Reason for closing: Won't implement
You may be able to build the collector with --enable-redirect-malloc and set the LD_PRELOAD environment variable to point to the resulting library, thus replacing the standard malloc with its garbage-collected counterpart. This is rather platform dependent. See the leak detection documentation for some more details.
I don't see why our packaged version should have this. I don't know if this will affect running code in any way and so far no other distributions enable this.