Osor wrote:
Kevin Day wrote:
It is a bug with gnu-make, but it was worked around by enabling
glibc-malloc-compat in uClibc. I'd like to disable that malloc option again
because it is often abused, but I think there are a couple blfs packages
affected too.
robert
Specificaly: Xorg & Mesa
Are there any others (that are specifically known)? Is there any reason to
enable Glibc-Malloc-Compat for a headless server (I haven't so far, and
nothing's blown up)?
Osor
The kbuild modpost program also has the same problem. It also assumes
that malloc(0) returns a live pointer. I put a check around the
mallocs for zero size and everything works fine now. I am now cleaning
up all the packages i am using. I think i even used alloca instead of
malloc in some of them. Maybe its a good idea to submit patches to
the upstream developers?
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page