[lttng-dev] urcu AC_FUNC_MALLOC fails for cross-compile

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Jun 14 16:21:04 UTC 2016


----- On Jun 14, 2016, at 12:12 PM, Luke K D'Alessandro ldalessa at indiana.edu wrote:

> The AC_FUNC_MALLOC depends on some runtime results which doesn't work when cross
> compiling. Google has a bit to say about this and basically the fix is to stop
> using the macro. Is there a specific purpose for this check, or could it just
> be eliminated from configure.ac?

If we remove this check, we need to ensure that URCU does not depend
on malloc(0) returning non-NULL anywhere.

Thanks,

Mathieu

> 
> Thanks,
> Luke
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list