diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-01-08 16:50:16 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-01-08 19:54:05 +0100 |
commit | 77b12b7a8bc5e704dacedfd0bc95a78fb7034b79 (patch) | |
tree | 2251aafa8435183514109c7dc3e128270965cb6d /pcr/pactools/pt-pacman-uncage | |
parent | af6a93922eb42bb02fee64165e4e5ab8d69966b9 (diff) | |
download | abslibre-77b12b7a8bc5e704dacedfd0bc95a78fb7034b79.tar.gz abslibre-77b12b7a8bc5e704dacedfd0bc95a78fb7034b79.tar.bz2 abslibre-77b12b7a8bc5e704dacedfd0bc95a78fb7034b79.zip |
pcr/pjproject: update to 2.8 and fix illegal instructions
This is based on the PKGBUILD available on aur here:
https://aur.archlinux.org/pjproject.git
Before this package was built with -march=native, so if you build
it on a machine with a processor that supports avx (Advanced Vector
Extensions), libpjsip.so.2 ended up with vpxor instructions that
were also executed on machines with a processor that did not have
such extension, which resulted in an illegal instruction at asterisk
startup.
libwebrtc is disabled in order not to require sse2 on i686:
- Parabola's minimum system requirements states that:
"Parabola GNU/Linux-libre should run on any i686 compatible machine
[...]"
- Wikipedia states that i686 has MMX and SSE[2]
- The Asterisk Changelog has the following:
"pjproject_bundled: Add --disable-libwebrtc to configure
Without the disable, pjproject tries to build it's internal
webrtc implementation which requires sse2. This fails on
platforms without sse2."
- In package(), a trailing '*' was added to
pjsip-apps/bin/pjsua-*gnu in order to catch binaries like
pjsip-apps/bin/pjsua-armv7l-unknown-linux-gnueabihf on ARM.
The package build was tested on x86_64, i686 and armv7h.
On x86_64 I verified that libpjsip.so.2 did not have vpxor
instructions anymore with objdump -D libpjsip.so.2 | grep vpxor
References:
-----------
[1]https://wiki.parabola.nu/Beginners%27_Guide
[2]https://en.wikipedia.org/wiki/P6_(microarchitecture)
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/pactools/pt-pacman-uncage')
0 files changed, 0 insertions, 0 deletions