squid: Link with libatomic on riscv
PATCH 1/3 squid: Link with libatomic on riscv
--- meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-daemons/squid/squid_4.9.bb +2 -0
@@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative LDFLAGS_append_mipsarch = " -latomic" LDFLAGS_append_powerpc = " -latomic" +LDFLAGS_append_riscv64 = " -latomic" +LDFLAGS_append_riscv32 = " -latomic" USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid"
Signature · 1 line
2.25.0
PATCH 2/3 grpc: Link with libatomic on riscv
--- meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb | 8 ++++++++ 1 file changed, 8 insertions(+)
meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb +8 -0
@@ -48,6 +48,14 @@ do_configure_prepend_powerpc() { sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt } +do_configure_prepend_riscv64() { + sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt +} + +do_configure_prepend_riscv32() { + sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt +} + do_configure_prepend_toolchain-clang_x86() { sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt }
Signature · 1 line
2.25.0
PATCH 3/3 netdata: Add libatomic to link step
In reply to Khem Raj--- meta-webserver/recipes-webadmin/netdata/netdata_git.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-webserver/recipes-webadmin/netdata/netdata_git.bb +2 -0
@@ -26,6 +26,8 @@ DEPENDS += "zlib util-linux" inherit pkgconfig autotools-brokensep useradd systemd LIBS_toolchain-clang_x86 = "-latomic" +LIBS_riscv64 = "-latomic" +LIBS_riscv32 = "-latomic" export LIBS #systemd
Signature · 1 line
2.25.0
Quoted 1 line · Khem Raj
Signed-off-by Khem Raj <[email protected]>
Is this for the same reason as for nodejs Cento7 fix ?
- armin
Quoted 17 lines
--- meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++ 1 file changed, 2 insertions(+)meta-networking/recipes-daemons/squid/squid_4.9.bb +2
-0@@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative LDFLAGS_append_mipsarch = " -latomic" LDFLAGS_append_powerpc = " -latomic" +LDFLAGS_append_riscv64 = " -latomic" +LDFLAGS_append_riscv32 = " -latomic" USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid"
Quoted 8 lines · On Wed, Jan 29, 2020 at 9:32 PM akuster808 <[email protected]> wrote:
Quoted 1 line · Khem Raj
Signed-off-by Khem Raj <[email protected]>Is this for the same reason as for nodejs Cento7 fix ?
pretty much same problem, although a better fix is to detect it during build but every build system has its own nuance.
Quoted 19 lines
- armin
Quoted 17 lines
--- meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++ 1 file changed, 2 insertions(+)meta-networking/recipes-daemons/squid/squid_4.9.bb +2
-0@@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative LDFLAGS_append_mipsarch = " -latomic" LDFLAGS_append_powerpc = " -latomic" +LDFLAGS_append_riscv64 = " -latomic" +LDFLAGS_append_riscv32 = " -latomic" USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid"
Quoted 9 lines · Khem Raj
Quoted 6 lines · On Wed, Jan 29, 2020 at 9:32 PM akuster808 <[email protected]> wrote:
Quoted 1 line · Khem Raj
Signed-off-by Khem Raj <[email protected]>Is this for the same reason as for nodejs Cento7 fix ?
pretty much same problem, although a better fix is to detect it during build but every build system has its own nuance.
ok. backport worthy then.
thanks,
Armin
Quoted 19 lines
Quoted 19 lines
- armin
Quoted 17 lines
--- meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++ 1 file changed, 2 insertions(+)meta-networking/recipes-daemons/squid/squid_4.9.bb +2
-0@@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative LDFLAGS_append_mipsarch = " -latomic" LDFLAGS_append_powerpc = " -latomic" +LDFLAGS_append_riscv64 = " -latomic" +LDFLAGS_append_riscv32 = " -latomic" USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid"
Quoted 7 lines · On Thu, Jan 30, 2020 at 11:01 AM akuster808 <[email protected]> wrote:
Quoted 3 lines · Khem Raj
Quoted 2 lines · On Wed, Jan 29, 2020 at 9:32 PM akuster808 <[email protected]> wrote:
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines · Khem Raj
Quoted 1 line
Signed-off-by Khem Raj <[email protected]>Is this for the same reason as for nodejs Cento7 fix ?
pretty much same problem, although a better fix is to detect it during build but every build system has its own nuance.
ok. backport worthy then.
yes
thanks