Skip to content

FTBFS PHP 8.2 on Ubuntu 18.04 ppc64el #10077

Closed
@oerdnj

Description

@oerdnj

Description

The PHP 8.2.0 fails to build from source on Ubuntu 18.04 ppc64el:

/<<PKGBUILDDIR>>/ext/hash/xxhash/xxhash.h: In function ‘XXH3_accumulate_512_vsx’:
/<<PKGBUILDDIR>>/ext/hash/xxhash/xxhash.h:4148:9: error: invalid parameter combination for AltiVec intrinsic __builtin_vec_ld
         xxh_u64x2 acc_vec        = vec_xl(0, xacc + 2 * i);
         ^~~~~~~~~
/<<PKGBUILDDIR>>/ext/hash/xxhash/xxhash.h:4158:9: error: invalid parameter combination for AltiVec intrinsic __builtin_vec_st
         vec_xst(acc_vec, 0, xacc + 2 * i);
         ^~~~~~~

Full build log here: https://launchpadlibrarian.net/638336451/buildlog_ubuntu-bionic-ppc64el.php8.2_8.2.0-1+ubuntu18.04.1+deb.sury.org+1_BUILDING.txt.gz

I think it needs a refresh from upstream, the line that's causing problems is different in upstream xxHash: https://github.com/Cyan4973/xxHash/blob/dev/xxhash.h#L4689

xxh_u64x2 acc_vec        = (xxh_u64x2)vec_xl(0, xacc + 4 * i);

PHP Version

PHP 8.2.0

Operating System

Ubuntu 18.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions