[PATCH 1/1] vfio: Make buildable with MUSL runtime

Philip Prindeville philipp_subx at redfish-solutions.com
Tue May 23 21:00:19 CEST 2023



> On May 23, 2023, at 11:36 AM, Thomas Monjalon <thomas at monjalon.net> wrote:
> 
> 23/05/2023 17:46, Philip Prindeville:
>> 
>>> On May 23, 2023, at 5:33 AM, Thomas Monjalon <thomas at monjalon.net> wrote:
>>> 
>>> 22/05/2023 11:27, Burakov, Anatoly:
>>>> On 5/20/2023 7:07 PM, Philip Prindeville wrote:
>>>>> From: Philip Prindeville <philipp at redfish-solutions.com>
>>>>> 
>>>>> pread64() and pwrite64() are declared in <unistd.h> in MUSL and
>>>>> other (i.e. not glibc) C runtimes.
>>>>> 
>>>>> Signed-off-by: Philip Prindeville <philipp at redfish-solutions.com>
>>>> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
>>> 
>>> It was "buildable" already, and I don't understand how.
>>> In any doubt, I've added Cc: stable at dpdk.org for backports.
>>> 
>>> Applied, thanks.
>> 
>> Yeah, it builds with glibc just fine.  MUSL is another story...
> 
> It is also building on Alpine/musl.
> I would like to understand why.
> Do you have failure logs and versions?
> 


Have a look at:

https://github.com/k13132/openwrt-dpdk/pull/9#issuecomment-1556124647



More information about the stable mailing list