https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-text/ghostscript-gpl-10.03.0 fails to compile. Discovered on: arm (internal ref: tinderbox_arm) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 887511 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/../../../../armv7a-unknown-linux-gnueabihf/bin/ld: ./sobin/libgs.so: undefined reference to `tesseract::DotProductNEON(double const*, double const*, int)' simddetect.cpp:(.text+0x5b4): undefined reference to `tesseract::DotProductNEON(double const*, double const*, int)' simddetect.cpp:(.text+0x728): undefined reference to `tesseract::DotProductNEON(double const*, double const*, int)' collect2: error: ld returned 1 exit status
tinderbox_arm has reproduced this issue with version 10.03.0-r1 - Updating summary.
Still present on 10.03.1
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b49bf7ac006c50d8ee65bf682e1fe22668cee5ea may help.
(In reply to Sam James from comment #5) > https://git.ghostscript.com/?p=ghostpdl.git;a=commit; > h=b49bf7ac006c50d8ee65bf682e1fe22668cee5ea may help. No, I think that's in the release..
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a122be2eff3e44ef7c039d052ac47da8361fd6ae commit a122be2eff3e44ef7c039d052ac47da8361fd6ae Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-01 07:29:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-01 07:29:58 +0000 app-text/ghostscript-gpl: fix arm* build w/o neon Bug: https://bugs.gentoo.org/924757 Closes: https://bugs.gentoo.org/926891 Signed-off-by: Sam James <sam@gentoo.org> ...stscript-gpl-10.03.1-arm64-neon-tesseract.patch | 35 ++++++++++++++++++++++ .../ghostscript-gpl/ghostscript-gpl-10.03.1.ebuild | 1 + 2 files changed, 36 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db9f66124d9c5620f4f2f6db921125ba9c6fa74 commit 8db9f66124d9c5620f4f2f6db921125ba9c6fa74 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-01 07:32:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-01 07:32:49 +0000 app-text/tesseract: fix arm* build w/o neon Bug: https://bugs.gentoo.org/926891 Closes: https://bugs.gentoo.org/924757 Signed-off-by: Sam James <sam@gentoo.org> .../tesseract-5.4.1-arm64-neon-tesseract.patch | 57 ++++++++++++++++++++++ app-text/tesseract/tesseract-5.3.4.ebuild | 4 ++ app-text/tesseract/tesseract-5.4.1.ebuild | 4 ++ app-text/tesseract/tesseract-9999.ebuild | 4 ++ 4 files changed, 69 insertions(+)
Created attachment 903347 [details] build.log and emerge --info I'm still getting this issue, just the error is slightly different now. /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/../../../../armv7a-unknown-linux-gnueabihf/bin/ld: ./sobin/libgs.so: undefined reference to `tesseract::DotProductNEON(double const*, double const*, int)'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648670d3df48a16e7657bde8c7c4d1836d5359b7 commit 648670d3df48a16e7657bde8c7c4d1836d5359b7 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-08 07:09:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-08 07:09:36 +0000 app-text/ghostscript-gpl: wire up cpu_flags_arm_neon negril pointed out the existence of the configure option. Closes: https://bugs.gentoo.org/926891 Signed-off-by: Sam James <sam@gentoo.org> app-text/ghostscript-gpl/ghostscript-gpl-10.04.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef88d5a518705308359f8135d92e60a3a9a64f3 commit fef88d5a518705308359f8135d92e60a3a9a64f3 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-08 07:12:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-08 07:12:07 +0000 app-text/ghostscript-gpl: backport neon fix Backport the fix from 648670d3df48a16e7657bde8c7c4d1836d5359b7 so the security stablereq can proceed. Bug: https://bugs.gentoo.org/926891 Signed-off-by: Sam James <sam@gentoo.org> app-text/ghostscript-gpl/ghostscript-gpl-10.03.1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)