On Tue, Jan 05, 2021 at 07:24:46PM +0200, Andy Shevchenko wrote:
On Tue, Jan 5, 2021 at 4:17 PM Anssi Kolehmainen <anssi@xxxxxxxxxx> wrote:
When libgpiod is cross-compiled it will use rpl_malloc instead malloc which then
causes linking failure at later stage.
This happens because AC_FUNC_MALLOC wants to execute malloc() in a live system
and thus cannot be run at cross-compilation time. libgpiod should just do
AC_CHECK_FUNC instead.
Which version of aufotools you tried? (2.69?)
Btw, have you tried autotools-2.70?
I have autoconf 2.69 from Debian testing.
Quick testing with 2.70 looks good.
Apparently fixed in 7fbb55372 in May 2012... And 2.69 is from April 2012.
I don't know which kind of facepalm would be suitable for this.
--
Anssi Kolehmainen