Closed GoogleCodeExporter closed 9 years ago
This looks to be a problem not in the cross-compiling, per se, but in the fact
you're
using uclibc. It looks like uclibc has a different function signature for
malloc_stats than glibc does. I don't think malloc_stats is a standard posix
function, so I guess this is reasonable, in a way.
I guess I can add a configure check that will handle this case. It will be a
little
hard for me to test, unfortunately, since I don't have a uclibc system
anywhere. I'll
try to make it available for the next release.
Original comment by csilv...@gmail.com
on 20 May 2010 at 5:58
btw, as a temporary workaround for you personally, every place you see
tc_malloc_stats(void) in tcmalloc.cc, just change it to tc_malloc_stats(FILE*
fp).
You may need to fix up a few call sites as well, but it should be pretty
straightforward.
Original comment by csilv...@gmail.com
on 20 May 2010 at 6:00
I already started changing tc_malloc_stats but I did not finished yet due some
other
obligations.
I will try to help You as much as possible with testing when You prepare
official patch
...
Original comment by mile.dav...@gmail.com
on 21 May 2010 at 7:18
I have an arm system where I am using ulibc also and am running into the same
problem. I attempted changing tc_malloc_stats(void) to tc_malloc_stats(FILE*
fp), but it did not really help as there are other compile issues, and I am not
sure if they are caused by my changes or more problems with ulibc. Has anyone
else gotten perftools to work with ulibc?
Original comment by darre...@gmail.com
on 16 Aug 2011 at 9:19
I've decided to close all the porting requests that don't have patches attached
to them. We're always happy to look at patches for new architectures, OSes,
and compilers, but otherwise we are limited to the ones mentioned in the
INSTALL file. (Though, to be fair, I don't know how much we talk about
compilers.)
Original comment by csilv...@gmail.com
on 31 Aug 2011 at 11:38
Original issue reported on code.google.com by
mile.dav...@gmail.com
on 20 May 2010 at 4:56