apache2,go: Ignore textrels on rv64/rv32

Fixes
ERROR: apache2-2.4.53-r0 do_package_qa: QA Issue: apache2: ELF binary /usr/sbin/httpd has relocations in .text [textrel]
ERROR: apache2-2.4.53-r0 do_package_qa: Fatal QA errors were found, failing task.

ERROR: go-1.18-r0 do_package_qa: QA Issue: go: ELF binary /usr/lib/go/pkg/tool/linux_riscv64/trace has relocations in .text
go: ELF binary /usr/lib/go/pkg/tool/linux_riscv64/pprof has relocations in .text
go: ELF binary /usr/lib/go/bin/go has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2022-03-25 10:05:43 -07:00
committed by Alistair Francis
parent 778ea8390a
commit bd88940ab6

View File

@@ -52,6 +52,8 @@ INSANE_SKIP:append:pn-fish:riscv64 = " textrel"
INSANE_SKIP:append:pn-lttng-tools:riscv64 = " textrel"
INSANE_SKIP:append:pn-gn:riscv64 = " textrel"
INSANE_SKIP:append:pn-apitrace:riscv64 = " textrel"
INSANE_SKIP:append:pn-apache2:riscv64 = " textrel"
INSANE_SKIP:append:pn-go:riscv64 = " textrel"
# Seen with musl+clang13
INSANE_SKIP:append:pn-jemalloc:toolchain-clang:riscv64 = " textrel"
@@ -81,6 +83,8 @@ INSANE_SKIP:append:pn-cmocka:riscv32 = " textrel"
INSANE_SKIP:append:pn-util-linux:riscv32 = " textrel"
INSANE_SKIP:append:pn-apitrace:riscv32 = " textrel"
INSANE_SKIP:append:pn-jemalloc:toolchain-clang:riscv32 = " textrel"
INSANE_SKIP:append:pn-apache2:riscv32 = " textrel"
INSANE_SKIP:append:pn-go:riscv32 = " textrel"
# These recipe dont _yet_ build for rv32
COMPATIBLE_HOST:pn-openh264:riscv32 = "null"