Re: Bug#976567: libhmsbeagle: FTBFS: GPUInterface.h:221:27: error: there are no arguments to ‘malloc’ that depend on a template parameter, so a declaration of ‘malloc’ must be available [-fpermissive]
On 05/12/2020 20:26, Andreas Tille wrote:
Control: tags -1 help
Hi,
I need to admit that I have no idea why this error occures on arm64.
According to reproducible builds, it's also happening on i386 and armhf,
it's showing a pass for amd64 but that could just be because it hasn't
been tested for a while (I've just hit the re-test button)
Any hint would be welcome
Looks like you need to add #include <stdlib.h> to libhmsbeagle/GPU/GPUInterface.h
I would guess stdlib.h was previously pulled in implicitly by some other header and
no longer is.
Reply to: