From bd88940ab6626a49ec22d2d38393430b38b6a7fa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 25 Mar 2022 10:05:43 -0700 Subject: [PATCH] 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 --- conf/layer.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/layer.conf b/conf/layer.conf index 1827bcd..20a1140 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -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"