Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 905642

Summary: sci-libs/gklib-5.1.1_p20230327-r1: unrecognized opcode on riscv
Product: Gentoo Linux Reporter: jinqiang zhang <peeweep>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: riscv, sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/30853
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 905468    
Attachments: build.log

Description jinqiang zhang 2023-05-03 09:27:28 UTC
For keywording work in bug #905468, sci-libs/gklib fails to compile on riscv, I think it can be reproduced on all no-x86 arches, adding -DNO_X86=ON cmakeargs can pass it.


test/gkuniq.c:78: Error: unrecognized opcode clflush (a4)
test/gkuniq.c:84: Error: unrecognized opcode sfence
Comment 1 jinqiang zhang 2023-05-03 09:27:46 UTC
Created attachment 861077 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2023-05-03 09:40:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7cf0eeaf5bb2224ea449e63f6cfa15cf8a7126

commit 4d7cf0eeaf5bb2224ea449e63f6cfa15cf8a7126
Author:     jinqiang zhang <peeweep@0x0.ee>
AuthorDate: 2023-05-03 09:34:02 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-05-03 09:40:00 +0000

    sci-libs/gklib: fix no x86 arches compile
    
    Closes: https://bugs.gentoo.org/905642
    Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
    Closes: https://github.com/gentoo/gentoo/pull/30853
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/gklib/gklib-5.1.1_p20230327-r1.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-23 21:32:49 UTC
*** Bug 910756 has been marked as a duplicate of this bug. ***