Re: Bug#1115385: vlc: FTBFS on powerpc architecture
On Wed, 2025-09-17 at 12:42 +0200, John Paul Adrian Glaubitz wrote:
> On Wed, 2025-09-17 at 16:58 +0700, Jeroen Diederen wrote:
> > You should try to build it in a ppc64el chroot. I think it will fail
> > because of altivec. The previous versions of vlc for ppc64el were built
> > without altivec enabled, or am I wrong?
>
> Debian's ppc64el baseline supports baseline, so it should work:
>
> (sid_ppc64el-dchroot)glaubitz@platti:~$ echo | gcc -E -dM -|grep -i altivec
> #define __ALTIVEC__ 1
> #define __pixel __attribute__((altivec(pixel__))) unsigned short
> #define __vector __attribute__((altivec(vector__)))
> #define __bool __attribute__((altivec(bool__))) unsigned
> #define __APPLE_ALTIVEC__ 1
> (sid_ppc64el-dchroot)glaubitz@platti:~$
>
> The fact that it was not previously enabled is a bug.
>
> I will perform a test build now.
vlc builds fine on ppc64el with AltiVec enabled after fixing the typo
in my patch (missing last parenthesis). I will test powerpc and ppc64
as well.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: