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

Bug 835578

Summary: [crossdev] dev-libs/libpcre2-10.39: compiled failed for riscv, #error Unsupported architecture
Product: Gentoo Linux Reporter: Ryan Tsien <i>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
environment
info
pqv =dev-libs/libpcre2-10.39::gentoo

Description Ryan Tsien 2022-03-18 13:16:08 UTC

```
/bin/sh ./libtool  --tag=CC   --mode=compile riscv64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/riscv64-unknown-linux-gnu/tmp/portage/dev-libs/libpcre2-10.39/work/pcre2-10.39 -I./       src  "-I/usr/riscv64-unknown-linux-gnu/tmp/portage/dev-libs/libpcre2-10.39/work/pcre2-10.39/src"  -DPCRE2_CODE_UNIT_WIDTH=16 -fvisibility=hidden     -pthread -O2 -pipe -fomit-frame-           pointer -c -o src/libpcre2_16_la-pcre2_dfa_match.lo `test -f 'src/pcre2_dfa_match.c' || echo '/usr/riscv64-unknown-linux-gnu/tmp/portage/dev-libs/libpcre2-10.39/work/pcre2-10.39/'`src/        pcre2_dfa_match.c
/usr/riscv64-unknown-linux-gnu/tmp/portage/dev-libs/libpcre2-10.39/work/pcre2-10.39/src/pcre2_jit_compile.c:82:2: error: #error Unsupported architecture
   82 | #error Unsupported architecture
      |  ^~~~~
```

dev-libs/libpcre2-10.39 compiled failed when using crossdev for riscv64
Comment 1 Ryan Tsien 2022-03-18 13:17:42 UTC
Created attachment 767306 [details]
build.log
Comment 2 Ryan Tsien 2022-03-18 13:18:17 UTC
Created attachment 767307 [details]
environment
Comment 3 Ryan Tsien 2022-03-18 13:18:34 UTC
Created attachment 767308 [details]
info
Comment 4 Ryan Tsien 2022-03-18 13:19:55 UTC
Created attachment 767309 [details]
pqv =dev-libs/libpcre2-10.39::gentoo
Comment 5 Ryan Tsien 2022-03-18 13:21:55 UTC

*** This bug has been marked as a duplicate of bug 830417 ***