[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1115385: vlc: FTBFS on powerpc architecture



Well done!

John Paul Adrian Glaubitz schreef op 2025-09-17 18:13:
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


Reply to: