``` /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
Created attachment 767306 [details] build.log
Created attachment 767307 [details] environment
Created attachment 767308 [details] info
Created attachment 767309 [details] pqv =dev-libs/libpcre2-10.39::gentoo
*** This bug has been marked as a duplicate of bug 830417 ***