* [meta-networking][PATCH 2/8] rdma-core: Upgrade to 31.1
2020-11-09 17:38 [meta-filesystems][PATCH 1/8] fuse3: Upgrade to 3.10.0 Khem Raj
@ 2020-11-09 17:38 ` Khem Raj
2020-11-09 17:38 ` [meta-oe][PATCH 3/8] opengl-es-cts: Disable LTO Khem Raj
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2020-11-09 17:38 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
Disable LTO, its uses ASM constructs for symbol versioning which are incompatible with LTO,
they should migrate to gcc-10's mechanism for symbol versioning which is
compatible with LTO
disable manpages, it needs pandoc to build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
...Remove-man-files-which-cant-be-built.patch | 352 ------------------
.../{rdma-core_30.0.bb => rdma-core_31.1.bb} | 6 +-
2 files changed, 4 insertions(+), 354 deletions(-)
delete mode 100644 meta-networking/recipes-support/rdma-core/rdma-core/0001-Remove-man-files-which-cant-be-built.patch
rename meta-networking/recipes-support/rdma-core/{rdma-core_30.0.bb => rdma-core_31.1.bb} (90%)
diff --git a/meta-networking/recipes-support/rdma-core/rdma-core/0001-Remove-man-files-which-cant-be-built.patch b/meta-networking/recipes-support/rdma-core/rdma-core/0001-Remove-man-files-which-cant-be-built.patch
deleted file mode 100644
index 4b2e33e9ab..0000000000
--- a/meta-networking/recipes-support/rdma-core/rdma-core/0001-Remove-man-files-which-cant-be-built.patch
+++ /dev/null
@@ -1,352 +0,0 @@
-From cfcfb8a110b72b9d92cf7c56f374478f65473653 Mon Sep 17 00:00:00 2001
-From: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
-Date: Wed, 5 Aug 2020 17:21:14 +0900
-Subject: [PATCH] Remove man files which cant be built
-
-Remove need for pandoc-prebuilt during cross build
-
-Fixes errors
-
-| CMake Error at libibumad/man/cmake_install.cmake:105 (file):
-| file INSTALL cannot find
-| "/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/rdma-core/18.1-r0/git/buildlib/pandoc-prebuilt/41bbb0bed7a781be59e8c0dcd8b7278af2ce6882".
-| Call Stack (most recent call first):
-| cmake_install.cmake:48 (include)
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Update for version 26.1. Remove more man files which can no be built.
-
-Signed-off-by: Kai Kang <kai.kang@windriver.com>
-
-Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
----
- infiniband-diags/man/CMakeLists.txt | 34 ------------
- libibumad/man/CMakeLists.txt | 2 -
- libibverbs/man/CMakeLists.txt | 53 -------------------
- librdmacm/man/CMakeLists.txt | 2 -
- providers/efa/man/CMakeLists.txt | 2 -
- providers/mlx4/man/CMakeLists.txt | 1 -
- providers/mlx5/man/CMakeLists.txt | 82 -----------------------------
- 7 files changed, 176 deletions(-)
-
-diff --git a/infiniband-diags/man/CMakeLists.txt b/infiniband-diags/man/CMakeLists.txt
-index 1f1f91c9..094a389f 100644
---- a/infiniband-diags/man/CMakeLists.txt
-+++ b/infiniband-diags/man/CMakeLists.txt
-@@ -46,40 +46,6 @@ rdma_rst_common(
- )
-
- rdma_man_pages(
-- check_lft_balance.8.in.rst
-- dump_fts.8.in.rst
-- ibaddr.8.in.rst
-- ibcacheedit.8.in.rst
-- ibccconfig.8.in.rst
-- ibccquery.8.in.rst
-- ibfindnodesusing.8.in.rst
-- ibhosts.8.in.rst
-- ibidsverify.8.in.rst
-- iblinkinfo.8.in.rst
-- ibnetdiscover.8.in.rst
-- ibnodes.8.in.rst
-- ibping.8.in.rst
-- ibportstate.8.in.rst
-- ibqueryerrors.8.in.rst
-- ibroute.8.in.rst
-- ibrouters.8.in.rst
-- ibstat.8.in.rst
-- ibstatus.8.in.rst
-- ibswitches.8.in.rst
-- ibsysstat.8.in.rst
-- ibtracert.8.in.rst
-- infiniband-diags.8.in.rst
-- perfquery.8.in.rst
-- saquery.8.in.rst
-- sminfo.8.in.rst
-- smpdump.8.in.rst
-- smpquery.8.in.rst
-- vendstat.8.in.rst
-- )
--
--rdma_alias_man_pages(
-- dump_fts.8 dump_lfts.8
-- dump_fts.8 dump_mfts.8
- )
-
- if (ENABLE_IBDIAGS_COMPAT)
-diff --git a/libibumad/man/CMakeLists.txt b/libibumad/man/CMakeLists.txt
-index 185584a0..857a4b8b 100644
---- a/libibumad/man/CMakeLists.txt
-+++ b/libibumad/man/CMakeLists.txt
-@@ -15,7 +15,6 @@ rdma_man_pages(
- umad_get_mad_addr.3
- umad_get_pkey.3
- umad_get_port.3
-- umad_init.3.md
- umad_open_port.3
- umad_poll.3
- umad_recv.3
-@@ -38,5 +37,4 @@ rdma_alias_man_pages(
- umad_class_str.3 umad_method_str.3
- umad_get_ca.3 umad_release_ca.3
- umad_get_port.3 umad_release_port.3
-- umad_init.3 umad_done.3
- )
-diff --git a/libibverbs/man/CMakeLists.txt b/libibverbs/man/CMakeLists.txt
-index 87f00185..92c68611 100644
---- a/libibverbs/man/CMakeLists.txt
-+++ b/libibverbs/man/CMakeLists.txt
-@@ -1,24 +1,18 @@
- rdma_man_pages(
-- ibv_advise_mr.3.md
- ibv_alloc_dm.3
- ibv_alloc_mw.3
-- ibv_alloc_null_mr.3.md
- ibv_alloc_parent_domain.3
- ibv_alloc_pd.3
- ibv_alloc_td.3
- ibv_asyncwatch.1
-- ibv_attach_counters_point_flow.3.md
-- ibv_attach_mcast.3.md
- ibv_bind_mw.3
- ibv_create_ah.3
- ibv_create_ah_from_wc.3
- ibv_create_comp_channel.3
-- ibv_create_counters.3.md
- ibv_create_cq.3
- ibv_create_cq_ex.3
- ibv_modify_cq.3
- ibv_create_flow.3
-- ibv_create_flow_action.3.md
- ibv_create_qp.3
- ibv_create_qp_ex.3
- ibv_create_rwq_ind_table.3
-@@ -27,17 +21,8 @@ rdma_man_pages(
- ibv_create_wq.3
- ibv_devices.1
- ibv_devinfo.1
-- ibv_event_type_str.3.md
-- ibv_fork_init.3.md
- ibv_get_async_event.3
- ibv_get_cq_event.3
-- ibv_get_device_guid.3.md
-- ibv_get_device_index.3.md
-- ibv_get_device_list.3.md
-- ibv_get_device_name.3.md
-- ibv_get_pkey_index.3.md
-- ibv_get_srq_num.3.md
-- ibv_inc_rkey.3.md
- ibv_modify_qp.3
- ibv_modify_qp_rate_limit.3
- ibv_modify_srq.3
-@@ -52,24 +37,15 @@ rdma_man_pages(
- ibv_post_srq_recv.3
- ibv_query_device.3
- ibv_query_device_ex.3
-- ibv_query_gid.3.md
-- ibv_query_pkey.3.md
- ibv_query_port.3
- ibv_query_qp.3
- ibv_query_rt_values_ex.3
- ibv_query_srq.3
-- ibv_rate_to_mbps.3.md
-- ibv_rate_to_mult.3.md
- ibv_rc_pingpong.1
-- ibv_read_counters.3.md
- ibv_reg_mr.3
-- ibv_req_notify_cq.3.md
-- ibv_rereg_mr.3.md
-- ibv_resize_cq.3.md
- ibv_srq_pingpong.1
- ibv_uc_pingpong.1
- ibv_ud_pingpong.1
-- ibv_wr_post.3.md
- ibv_xsrq_pingpong.1
- )
- rdma_alias_man_pages(
-@@ -80,47 +56,18 @@ rdma_alias_man_pages(
- ibv_alloc_mw.3 ibv_dealloc_mw.3
- ibv_alloc_pd.3 ibv_dealloc_pd.3
- ibv_alloc_td.3 ibv_dealloc_td.3
-- ibv_attach_mcast.3 ibv_detach_mcast.3
- ibv_create_ah.3 ibv_destroy_ah.3
- ibv_create_ah_from_wc.3 ibv_init_ah_from_wc.3
- ibv_create_comp_channel.3 ibv_destroy_comp_channel.3
-- ibv_create_counters.3 ibv_destroy_counters.3
- ibv_create_cq.3 ibv_destroy_cq.3
- ibv_create_flow.3 ibv_destroy_flow.3
-- ibv_create_flow_action.3 ibv_destroy_flow_action.3
-- ibv_create_flow_action.3 ibv_modify_flow_action.3
- ibv_create_qp.3 ibv_destroy_qp.3
- ibv_create_rwq_ind_table.3 ibv_destroy_rwq_ind_table.3
- ibv_create_srq.3 ibv_destroy_srq.3
- ibv_create_wq.3 ibv_destroy_wq.3
-- ibv_event_type_str.3 ibv_node_type_str.3
-- ibv_event_type_str.3 ibv_port_state_str.3
- ibv_get_async_event.3 ibv_ack_async_event.3
- ibv_get_cq_event.3 ibv_ack_cq_events.3
-- ibv_get_device_list.3 ibv_free_device_list.3
- ibv_open_device.3 ibv_close_device.3
- ibv_open_xrcd.3 ibv_close_xrcd.3
-- ibv_rate_to_mbps.3 mbps_to_ibv_rate.3
-- ibv_rate_to_mult.3 mult_to_ibv_rate.3
- ibv_reg_mr.3 ibv_dereg_mr.3
-- ibv_wr_post.3 ibv_wr_abort.3
-- ibv_wr_post.3 ibv_wr_complete.3
-- ibv_wr_post.3 ibv_wr_start.3
-- ibv_wr_post.3 ibv_wr_atomic_cmp_swp.3
-- ibv_wr_post.3 ibv_wr_atomic_fetch_add.3
-- ibv_wr_post.3 ibv_wr_bind_mw.3
-- ibv_wr_post.3 ibv_wr_local_inv.3
-- ibv_wr_post.3 ibv_wr_rdma_read.3
-- ibv_wr_post.3 ibv_wr_rdma_write.3
-- ibv_wr_post.3 ibv_wr_rdma_write_imm.3
-- ibv_wr_post.3 ibv_wr_send.3
-- ibv_wr_post.3 ibv_wr_send_imm.3
-- ibv_wr_post.3 ibv_wr_send_inv.3
-- ibv_wr_post.3 ibv_wr_send_tso.3
-- ibv_wr_post.3 ibv_wr_set_inline_data.3
-- ibv_wr_post.3 ibv_wr_set_inline_data_list.3
-- ibv_wr_post.3 ibv_wr_set_sge.3
-- ibv_wr_post.3 ibv_wr_set_sge_list.3
-- ibv_wr_post.3 ibv_wr_set_ud_addr.3
-- ibv_wr_post.3 ibv_wr_set_xrc_srqn.3
- )
-diff --git a/librdmacm/man/CMakeLists.txt b/librdmacm/man/CMakeLists.txt
-index 2d1efbff..d016c926 100644
---- a/librdmacm/man/CMakeLists.txt
-+++ b/librdmacm/man/CMakeLists.txt
-@@ -20,7 +20,6 @@ rdma_man_pages(
- rdma_destroy_qp.3
- rdma_destroy_srq.3
- rdma_disconnect.3
-- rdma_establish.3.md
- rdma_event_str.3
- rdma_free_devices.3
- rdma_get_cm_event.3
-@@ -33,7 +32,6 @@ rdma_man_pages(
- rdma_get_send_comp.3
- rdma_get_src_port.3
- rdma_getaddrinfo.3
-- rdma_init_qp_attr.3.md
- rdma_join_multicast.3
- rdma_join_multicast_ex.3
- rdma_leave_multicast.3
-diff --git a/providers/efa/man/CMakeLists.txt b/providers/efa/man/CMakeLists.txt
-index d6a4f57b..376f293d 100644
---- a/providers/efa/man/CMakeLists.txt
-+++ b/providers/efa/man/CMakeLists.txt
-@@ -1,4 +1,2 @@
- rdma_man_pages(
-- efadv_create_driver_qp.3.md
-- efadv.7.md
- )
-diff --git a/providers/mlx4/man/CMakeLists.txt b/providers/mlx4/man/CMakeLists.txt
-index 3df77caf..99a75101 100644
---- a/providers/mlx4/man/CMakeLists.txt
-+++ b/providers/mlx4/man/CMakeLists.txt
-@@ -1,6 +1,5 @@
- rdma_man_pages(
- mlx4dv_init_obj.3
- mlx4dv_query_device.3
-- mlx4dv_set_context_attr.3.md
- mlx4dv.7
- )
-diff --git a/providers/mlx5/man/CMakeLists.txt b/providers/mlx5/man/CMakeLists.txt
-index c3ad70a2..876b6fcf 100644
---- a/providers/mlx5/man/CMakeLists.txt
-+++ b/providers/mlx5/man/CMakeLists.txt
-@@ -1,89 +1,7 @@
- rdma_man_pages(
-- mlx5dv_alloc_dm.3.md
-- mlx5dv_alloc_var.3.md
-- mlx5dv_create_cq.3.md
-- mlx5dv_create_flow.3.md
-- mlx5dv_create_flow_action_modify_header.3.md
-- mlx5dv_create_flow_action_packet_reformat.3.md
-- mlx5dv_create_flow_matcher.3.md
-- mlx5dv_create_mkey.3.md
-- mlx5dv_create_qp.3.md
-- mlx5dv_devx_alloc_uar.3.md
-- mlx5dv_devx_create_cmd_comp.3.md
-- mlx5dv_devx_create_event_channel.3.md
-- mlx5dv_devx_get_event.3.md
-- mlx5dv_devx_obj_create.3.md
-- mlx5dv_devx_qp_modify.3.md
-- mlx5dv_devx_query_eqn.3.md
-- mlx5dv_devx_subscribe_devx_event.3.md
-- mlx5dv_devx_umem_reg.3.md
-- mlx5dv_dr_flow.3.md
-- mlx5dv_dump.3.md
-- mlx5dv_flow_action_esp.3.md
- mlx5dv_get_clock_info.3
- mlx5dv_init_obj.3
-- mlx5dv_is_supported.3.md
-- mlx5dv_modify_qp_lag_port.3.md
-- mlx5dv_open_device.3.md
-- mlx5dv_pp_alloc.3.md
- mlx5dv_query_device.3
-- mlx5dv_query_qp_lag_port.3.md
- mlx5dv_ts_to_ns.3
-- mlx5dv_wr_post.3.md
- mlx5dv.7
- )
--rdma_alias_man_pages(
-- mlx5dv_alloc_var.3 mlx5dv_free_var.3
-- mlx5dv_create_mkey.3 mlx5dv_destroy_mkey.3
-- mlx5dv_devx_alloc_uar.3 mlx5dv_devx_free_uar.3
-- mlx5dv_devx_create_cmd_comp.3 mlx5dv_devx_destroy_cmd_comp.3
-- mlx5dv_devx_create_event_channel.3 mlx5dv_devx_destroy_event_channel.3
-- mlx5dv_devx_create_cmd_comp.3 mlx5dv_devx_get_async_cmd_comp.3
-- mlx5dv_devx_obj_create.3 mlx5dv_devx_general_cmd.3
-- mlx5dv_devx_obj_create.3 mlx5dv_devx_obj_destroy.3
-- mlx5dv_devx_obj_create.3 mlx5dv_devx_obj_query.3
-- mlx5dv_devx_obj_create.3 mlx5dv_devx_obj_query_async.3
-- mlx5dv_devx_obj_create.3 mlx5dv_devx_obj_modify.3
-- mlx5dv_devx_qp_modify.3 mlx5dv_devx_qp_query.3
-- mlx5dv_devx_qp_modify.3 mlx5dv_devx_cq_modify.3
-- mlx5dv_devx_qp_modify.3 mlx5dv_devx_cq_query.3
-- mlx5dv_devx_qp_modify.3 mlx5dv_devx_wq_modify.3
-- mlx5dv_devx_qp_modify.3 mlx5dv_devx_wq_query.3
-- mlx5dv_devx_qp_modify.3 mlx5dv_devx_srq_modify.3
-- mlx5dv_devx_qp_modify.3 mlx5dv_devx_srq_query.3
-- mlx5dv_devx_qp_modify.3 mlx5dv_devx_ind_tbl_modify.3
-- mlx5dv_devx_qp_modify.3 mlx5dv_devx_ind_tbl_query.3
-- mlx5dv_devx_subscribe_devx_event.3 mlx5dv_devx_subscribe_devx_event_fd.3
-- mlx5dv_devx_umem_reg.3 mlx5dv_devx_umem_dereg.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_dest_table.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_dest_ibv_qp.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_dest_vport.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_flow_counter.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_drop.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_default_miss.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_flow_meter.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_modify_header.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_packet_reformat.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_create_tag.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_destroy.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_action_modify_flow_meter.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_domain_create.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_domain_destroy.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_domain_sync.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_domain_set_reclaim_device_memory.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_matcher_create.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_matcher_destroy.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_rule_create.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_rule_destroy.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_table_create.3
-- mlx5dv_dr_flow.3 mlx5dv_dr_table_destroy.3
-- mlx5dv_dump.3 mlx5dv_dump_dr_domain.3
-- mlx5dv_dump.3 mlx5dv_dump_dr_matcher.3
-- mlx5dv_dump.3 mlx5dv_dump_dr_rule.3
-- mlx5dv_dump.3 mlx5dv_dump_dr_table.3
-- mlx5dv_pp_alloc.3 mlx5dv_pp_free.3
-- mlx5dv_wr_post.3 mlx5dv_wr_set_dc_addr.3
-- mlx5dv_wr_post.3 mlx5dv_qp_ex_from_ibv_qp_ex.3
-- mlx5dv_wr_post.3 mlx5dv_wr_mr_interleaved.3
-- mlx5dv_wr_post.3 mlx5dv_wr_mr_list.3
--)
---
-2.25.1
-
diff --git a/meta-networking/recipes-support/rdma-core/rdma-core_30.0.bb b/meta-networking/recipes-support/rdma-core/rdma-core_31.1.bb
similarity index 90%
rename from meta-networking/recipes-support/rdma-core/rdma-core_30.0.bb
rename to meta-networking/recipes-support/rdma-core/rdma-core_31.1.bb
index 18c34fb59f..dc07c267c1 100644
--- a/meta-networking/recipes-support/rdma-core/rdma-core_30.0.bb
+++ b/meta-networking/recipes-support/rdma-core/rdma-core_31.1.bb
@@ -7,9 +7,8 @@ RDEPENDS_${PN} = "bash perl"
BRANCH = "stable-v${@d.getVar('PV').split('.')[0]}"
SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=${BRANCH} \
- file://0001-Remove-man-files-which-cant-be-built.patch \
"
-SRCREV = "0f4dd71d38a0f1b005635a3ff344e15791d2afa7"
+SRCREV = "a4013e3d94cb5819f0e4cd93b298f775d5542a66"
S = "${WORKDIR}/git"
#Default Dual License https://github.com/linux-rdma/rdma-core/blob/master/COPYING.md
@@ -20,8 +19,11 @@ LIC_FILES_CHKSUM = "file://COPYING.BSD_FB;md5=0ec18bae1a9df92c8d6ae01f94a289ae \
EXTRA_OECMAKE = " \
-DCMAKE_INSTALL_SYSTEMD_SERVICEDIR=${systemd_system_unitdir} \
-DCMAKE_INSTALL_PERLDIR=${libdir}/perl5/${@get_perl_version(d)} \
+ -DNO_MAN_PAGES=1 \
"
+LTO = ""
+
FILES_SOLIBSDEV = ""
FILES_${PN} += "${libdir}/*"
INSANE_SKIP_${PN} += "dev-so"
--
2.29.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [meta-oe][PATCH 3/8] opengl-es-cts: Disable LTO
2020-11-09 17:38 [meta-filesystems][PATCH 1/8] fuse3: Upgrade to 3.10.0 Khem Raj
2020-11-09 17:38 ` [meta-networking][PATCH 2/8] rdma-core: Upgrade to 31.1 Khem Raj
@ 2020-11-09 17:38 ` Khem Raj
2020-11-09 17:38 ` [meta-oe][PATCH 4/8] fluentbit: " Khem Raj
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2020-11-09 17:38 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
It needs upstream support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb
index 5e0076b207..801bd05c91 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb
+++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb
@@ -27,3 +27,5 @@ do_install() {
}
SECURITY_CFLAGS_riscv64 = "${SECURITY_NOPIE_CFLAGS}"
+LTO = ""
+
--
2.29.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [meta-oe][PATCH 4/8] fluentbit: Disable LTO
2020-11-09 17:38 [meta-filesystems][PATCH 1/8] fuse3: Upgrade to 3.10.0 Khem Raj
2020-11-09 17:38 ` [meta-networking][PATCH 2/8] rdma-core: Upgrade to 31.1 Khem Raj
2020-11-09 17:38 ` [meta-oe][PATCH 3/8] opengl-es-cts: Disable LTO Khem Raj
@ 2020-11-09 17:38 ` Khem Raj
2020-11-09 17:38 ` [meta-networking][PATCH 5/8] traceroute: Fix build with LTO Khem Raj
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2020-11-09 17:38 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb
index 411268815a..ae5457ae4f 100644
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb
@@ -26,6 +26,8 @@ DEPENDS_append_libc-musl = " fts "
INSANE_SKIP_${PN}-dev += "dev-elf"
+LTO = ""
+
# Use CMake 'Unix Makefiles' generator
OECMAKE_GENERATOR ?= "Unix Makefiles"
--
2.29.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [meta-networking][PATCH 5/8] traceroute: Fix build with LTO
2020-11-09 17:38 [meta-filesystems][PATCH 1/8] fuse3: Upgrade to 3.10.0 Khem Raj
` (2 preceding siblings ...)
2020-11-09 17:38 ` [meta-oe][PATCH 4/8] fluentbit: " Khem Raj
@ 2020-11-09 17:38 ` Khem Raj
2020-11-09 17:38 ` [meta-oe][PATCH 6/8] cmocka: Fix buils " Khem Raj
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2020-11-09 17:38 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
Drop patch needed to build when S = B, we do not use this setting
anymore
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../filter-out-the-patches-from-subdirs.patch | 47 -------------------
.../traceroute/traceroute_2.1.0.bb | 5 +-
2 files changed, 1 insertion(+), 51 deletions(-)
delete mode 100644 meta-networking/recipes-support/traceroute/traceroute/filter-out-the-patches-from-subdirs.patch
diff --git a/meta-networking/recipes-support/traceroute/traceroute/filter-out-the-patches-from-subdirs.patch b/meta-networking/recipes-support/traceroute/traceroute/filter-out-the-patches-from-subdirs.patch
deleted file mode 100644
index 2c030b55dd..0000000000
--- a/meta-networking/recipes-support/traceroute/traceroute/filter-out-the-patches-from-subdirs.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From e273e0ebc753645555909bcc4874c72458b17891 Mon Sep 17 00:00:00 2001
-From: Robert Yang <liezhi.yang@windriver.com>
-Date: Fri, 17 Jan 2014 03:17:44 -0500
-Subject: [PATCH] Make.rules: filter-out the patches from subdirs
-
-The $(subdirs) contains all the dirs under the ${B}, and this one:
-
-do_unpack[cleandirs] = "${S}/patches"
-
-will create a "patches" dir, then there will be compile errors, filter
-out the patches will fix the problem.
-
-Note: poky doesn't have this problem since it separates the ${S} and
-${B}
-
-Upstream-Status: Inappropriate [OE specific]
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
----
- Make.rules | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Make.rules b/Make.rules
-index b077cd5..0bfce2d 100644
---- a/Make.rules
-+++ b/Make.rules
-@@ -97,7 +97,7 @@ endif
- subdirs := $(filter-out $(SKIPDIRS), $(subdirs))
- endif
-
--install install-%: subdirs := $(filter-out $(SKIPINSTALL), $(subdirs))
-+install install-%: subdirs := $(filter-out $(SKIPINSTALL) patches, $(subdirs))
-
-
- override MAKE += srcdir=$(srcdir) subdirs="$(subdirs)" shared=$(shared)
-@@ -106,7 +106,7 @@ override MAKE += srcdir=$(srcdir) subdirs="$(subdirs)" shared=$(shared)
- INCLUDEDIRS := $(filter $(INCLUDEDIRS), $(subdirs))
- LIBDIRS := $(filter $(LIBDIRS), $(subdirs))
- MODDIRS := $(filter $(MODDIRS), $(subdirs))
--EXEDIRS := $(filter-out $(INCLUDEDIRS) $(LIBDIRS) $(MODDIRS), $(subdirs))
-+EXEDIRS := $(filter-out $(INCLUDEDIRS) $(LIBDIRS) $(MODDIRS) patches, $(subdirs))
- MODUSERS := $(filter $(MODUSERS), $(subdirs))
- SBINUSERS := $(filter $(SBINUSERS), $(subdirs))
-
---
-1.7.10.4
-
diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.1.0.bb b/meta-networking/recipes-support/traceroute/traceroute_2.1.0.bb
index 19bbf03f1d..8cce9ea4bc 100644
--- a/meta-networking/recipes-support/traceroute/traceroute_2.1.0.bb
+++ b/meta-networking/recipes-support/traceroute/traceroute_2.1.0.bb
@@ -16,16 +16,13 @@ inherit update-alternatives
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/traceroute/files/traceroute/"
SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/${BP}/${BP}.tar.gz \
- file://filter-out-the-patches-from-subdirs.patch \
"
-
SRC_URI[md5sum] = "84d329d67abc3fb83fc8cb12aeaddaba"
SRC_URI[sha256sum] = "3669d22a34d3f38ed50caba18cd525ba55c5c00d5465f2d20d7472e5d81603b6"
-EXTRA_OEMAKE = "VPATH=${STAGING_LIBDIR}"
+LTO += "-flto-partition=none"
do_compile() {
- export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp"
oe_runmake "env=yes"
}
--
2.29.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [meta-oe][PATCH 6/8] cmocka: Fix buils with LTO
2020-11-09 17:38 [meta-filesystems][PATCH 1/8] fuse3: Upgrade to 3.10.0 Khem Raj
` (3 preceding siblings ...)
2020-11-09 17:38 ` [meta-networking][PATCH 5/8] traceroute: Fix build with LTO Khem Raj
@ 2020-11-09 17:38 ` Khem Raj
2020-11-09 17:38 ` [meta-networking][PATCH 7/8] dovecot: Disable LTO Khem Raj
2020-11-09 17:38 ` [meta-oe][PATCH 8/8] redis-plus-plus: Upgrade to 1.2.1 Khem Raj
6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2020-11-09 17:38 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
Update to latest on master
Drop uintptr_t patch, its fixed upstream differently
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb | 7 ++-
.../cmocka/files/cmocka-uintptr_t.patch | 53 -------------------
2 files changed, 5 insertions(+), 55 deletions(-)
delete mode 100644 meta-oe/recipes-test/cmocka/files/cmocka-uintptr_t.patch
diff --git a/meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb b/meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb
index 5aee5ef931..10716b2c5e 100644
--- a/meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb
+++ b/meta-oe/recipes-test/cmocka/cmocka_1.1.5.bb
@@ -6,10 +6,10 @@ HOMEPAGE = "https://cmocka.org/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
-SRCREV = "56eb3a183fc222120f86d0c54fd033992c30135e"
+SRCREV = "a4fc3dd7705c277e3a57432895e9852ea105dac9"
+PV .= "+git${SRCPV}"
SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git \
file://run-ptest \
- file://cmocka-uintptr_t.patch \
"
S = "${WORKDIR}/git"
@@ -18,6 +18,9 @@ inherit cmake ptest
EXTRA_OECMAKE = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=ON', '', d)}"
+# Use -Wl,wrap linker flag, which does not work with LTO
+LTO = ""
+
do_install_append () {
install -d ${D}${datadir}/${BPN}/example
install -d ${D}${datadir}/${BPN}/example/mock/chef_wrap
diff --git a/meta-oe/recipes-test/cmocka/files/cmocka-uintptr_t.patch b/meta-oe/recipes-test/cmocka/files/cmocka-uintptr_t.patch
deleted file mode 100644
index 8d3b73b631..0000000000
--- a/meta-oe/recipes-test/cmocka/files/cmocka-uintptr_t.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 5bd7b5d04435bd593349825973ce32290f5f604d Mon Sep 17 00:00:00 2001
-From: Changqing Li <changqing.li@windriver.com>
-Date: Wed, 25 Jul 2018 09:55:25 +0800
-Subject: [PATCH] samba: cmocka.h: fix musl libc conflicting types error
-
-Fix build on qemumips64(el)
-
-taken from:
-[PATCH] libldb: fix musl libc conflicting types error
-
-/third_party/cmocka/cmocka.h:126:28: error: conflicting types for 'uintptr_t'
- typedef unsigned int uintptr_t;
- ^~~~~~~~~
-use __DEFINED_uintptr_t in alltypes.h to check if uintptr already defined
-
-Upstream-Status: Pending
-
-Signed-off-by: Changqing Li <changqing.li@windriver.com>
-Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
-
-Taken from [PATCH] samba: cmocka.h: fix musl libc conflicting types error
-https://git.openembedded.org/meta-openembedded/commit/meta-networking/recipes-connectivity/samba?id=b758150d30a5fbdc47c465d0e9dca3a7e6d71f3c
-
-Signed-off-by: Armin Kuster <akuster808@gmail.com>
-
-This fix is not in cmocka, so pending pending??
-
-
-Index: git/include/cmocka.h
-===================================================================
---- git.orig/include/cmocka.h
-+++ git/include/cmocka.h
-@@ -116,7 +116,7 @@ typedef uintmax_t LargestIntegralType;
- ((LargestIntegralType)(value))
-
- /* Smallest integral type capable of holding a pointer. */
--#if !defined(_UINTPTR_T) && !defined(_UINTPTR_T_DEFINED)
-+#if !defined(__DEFINED_uintptr_t)
- # if defined(_WIN32)
- /* WIN32 is an ILP32 platform */
- typedef unsigned int uintptr_t;
-@@ -140,9 +140,8 @@ typedef uintmax_t LargestIntegralType;
- # endif /* __WORDSIZE */
- # endif /* _WIN32 */
-
--# define _UINTPTR_T
--# define _UINTPTR_T_DEFINED
--#endif /* !defined(_UINTPTR_T) || !defined(_UINTPTR_T_DEFINED) */
-+# define __DEFINED_uintptr_t
-+#endif /* !defined(__DEFINED_uintptr_t) */
-
- /* Perform an unsigned cast to uintptr_t. */
- #define cast_to_pointer_integral_type(value) \
--
2.29.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [meta-networking][PATCH 7/8] dovecot: Disable LTO
2020-11-09 17:38 [meta-filesystems][PATCH 1/8] fuse3: Upgrade to 3.10.0 Khem Raj
` (4 preceding siblings ...)
2020-11-09 17:38 ` [meta-oe][PATCH 6/8] cmocka: Fix buils " Khem Raj
@ 2020-11-09 17:38 ` Khem Raj
2020-11-09 17:38 ` [meta-oe][PATCH 8/8] redis-plus-plus: Upgrade to 1.2.1 Khem Raj
6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2020-11-09 17:38 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb b/meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb
index 0f7fad2b24..bda1740234 100644
--- a/meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb
+++ b/meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb
@@ -44,6 +44,10 @@ CACHED_CONFIGUREVARS += "i_cv_signed_size_t=no \
EXTRA_OECONF = " --with-ioloop=epoll \
--with-systemdsystemunitdir=${systemd_unitdir}/system"
+# Uses hidden symbols
+# libssl_iostream_openssl.so: undefined reference to `ssl_iostream_handshake'
+LTO = ""
+
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "dovecot.service dovecot.socket"
SYSTEMD_AUTO_ENABLE = "disable"
--
2.29.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [meta-oe][PATCH 8/8] redis-plus-plus: Upgrade to 1.2.1
2020-11-09 17:38 [meta-filesystems][PATCH 1/8] fuse3: Upgrade to 3.10.0 Khem Raj
` (5 preceding siblings ...)
2020-11-09 17:38 ` [meta-networking][PATCH 7/8] dovecot: Disable LTO Khem Raj
@ 2020-11-09 17:38 ` Khem Raj
6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2020-11-09 17:38 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../{redis-plus-plus_1.1.2.bb => redis-plus-plus_1.2.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/redis-plus-plus/{redis-plus-plus_1.1.2.bb => redis-plus-plus_1.2.1.bb} (89%)
diff --git a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.2.1.bb
similarity index 89%
rename from meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb
rename to meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.2.1.bb
index e23733b0f8..4059fd47e8 100644
--- a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb
+++ b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.2.1.bb
@@ -7,7 +7,7 @@ RDEPENDS_${PN} += "hiredis"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
-SRCREV = "b08b36a9a91de00636e583307610f49af7876f50"
+SRCREV = "a9f9c301f8de1c181e6d45c573b5d1fe7b8200b1"
SRC_URI = "git://github.com/sewenew/redis-plus-plus"
S = "${WORKDIR}/git"
--
2.29.2
^ permalink raw reply related [flat|nested] 8+ messages in thread