Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#48882 - [lib32-gnutls] Hardware acceleration is disabled in build
Attached to Project:
Community Packages
Opened by Dan Ziemba (zman0900) - Sunday, 10 April 2016, 23:57 GMT
Last edited by Felix Yan (felixonmars) - Monday, 11 April 2016, 14:09 GMT
Opened by Dan Ziemba (zman0900) - Sunday, 10 April 2016, 23:57 GMT
Last edited by Felix Yan (felixonmars) - Monday, 11 April 2016, 14:09 GMT
|
DetailsDescription:
The PKGBUILD disables hardware acceleration with a configure option and a comment that says this is because of assembler errors. The problem here actually seems to be an incorrect setup for building a 32 bit binary on a 64 bit system. I maintain the lib32-gnutls28 AUR package and found this can be fixed by setting up the build as described in this stack overflow answer: http://stackoverflow.com/a/3328054/1270447 Instead of adding "-m32" as part of the CC and CXX commands, put it in the CFLAGS, CXXFLAGS, and LDFLAGS and add the "--build=i686-pc-linux-gnu" argument to configure. See my change to the lib32-gnutls28 package: https://aur.archlinux.org/cgit/aur.git/diff/PKGBUILD?h=lib32-gnutls28&id=f7ade08ecf8888428881c29183f4f8e6c9d6cfa3 Additional info: * package version(s) 3.0.11-2 to 3.4.10-1 * config and/or log files etc. export CFLAGS="-m32 ${CFLAGS}" export CXXFLAGS="-m32 ${CXXFLAGS}" export LDFLAGS="-m32 ${LDFLAGS}" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" ./configure --build=i686-pc-linux-gnu ... Steps to reproduce: 1. build package |
This task depends upon
Closed by Felix Yan (felixonmars)
Monday, 11 April 2016, 14:09 GMT
Reason for closing: Implemented
Additional comments about closing: 3.4.10-2
Monday, 11 April 2016, 14:09 GMT
Reason for closing: Implemented
Additional comments about closing: 3.4.10-2
Comment by Felix Yan (felixonmars) -
Monday, 11 April 2016, 14:08 GMT
Looks like the --build=i686-pc-linux-gnu option is the only needed part. I've appended it to our configure line and left the others intact. Please re-open if you experience any problems.