Re: [PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread Dunk
> On 2 May 2022, at 18:43, David Christensen wrote: > >  > >> On 5/2/22 7:26 AM, Duncan Bellamy wrote: >> musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() >> the __ppc_get_timebase_freq() is taken from: >> https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0

Re: [PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread Dunk
> On 2 May 2022, at 18:42, David Marchand wrote: > > On Mon, May 2, 2022 at 4:26 PM Duncan Bellamy wrote: >> >> musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() >> >> the __ppc_get_timebase_freq() is taken from: >> https://git.alpinelinux.org/aports/commit/?id=06b03f70f

Re: [PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread David Christensen
On 5/2/22 7:26 AM, Duncan Bellamy wrote: musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() the __ppc_get_timebase_freq() is taken from: https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 Signed-off-by: Duncan Bellamy --- lib/eal/ppc/i

Re: [PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread David Marchand
On Mon, May 2, 2022 at 4:26 PM Duncan Bellamy wrote: > > musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() > > the __ppc_get_timebase_freq() is taken from: > https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 > > Signed-off-by: Duncan Bellamy

[PATCH v2] lib/eal/ppc fix compilation for musl

2022-05-02 Thread Duncan Bellamy
musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() the __ppc_get_timebase_freq() is taken from: https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 Signed-off-by: Duncan Bellamy --- lib/eal/ppc/include/rte_cycles.h | 6 ++ lib/eal/ppc/rt