Khem Raj
a730c21ea1
dlm: Disable fcf-protection on riscv32
...
Its not available on RISCV
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2024-09-17 07:50:22 -07:00
Martin Jansa
80ba83ad80
dlm: Do not use -fcf-protection=full on aarch64 platforms
...
Its not supported option, see:
http://errors.yoctoproject.org/Errors/Details/721121/
aarch64-oe-linux-gcc -mcpu=cortex-a57 -march=armv8-a+crc -mbranch-protection=standard --sysroot=TOPDIR/tmp-glibc/work/cortexa57-oe-linux/dlm/4.2.0-r0/recipe-sysroot libdlm.c -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa57-oe-linux/dlm/4.2.0-r0/dlm-dlm-4.2.0=/usr/src/debug/dlm/4.2.0-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa57-oe-linux/dlm/4.2.0-r0/dlm-dlm-4.2.0=/usr/src/debug/dlm/4.2.0-r0 -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa57-oe-linux/dlm/4.2.0-r0/dlm-dlm-4.2.0=/usr/src/debug/dlm/4.2.0-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa57-oe-linux/dlm/4.2.0-r0/dlm-dlm-4.2.0=/usr/src/debug/dlm/4.2.0-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa57-oe-linux/dlm/4.2.0-r0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa57-oe-linux/dlm/4.2.0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa57-oe-linux/dlm/4.2.0-r0/recipe-sysroot-native= -fcf-protection=full -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIC -D_REENTRANT -c -o libdlm.o
cc1: error: '-fcf-protection=full' is not supported for this target
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2023-07-21 09:39:09 -07:00
Khem Raj
62cafd9176
dlm: Do not use -fcf-protection=full on arm platforms
...
Its not supported option
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2023-07-15 23:43:27 -07:00
Khem Raj
98c86616db
dlm: Do not pass -fcf-protection=full via Makefile
...
Pass it via cflags from environment, so it can be controlled for
platforms where it is not supported
Pass -fstack-clash-protection for clang too, it is available now a days
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2023-07-15 23:40:20 -07:00
Khem Raj
225e584841
dlm: Fix build with linux kernel 6.4+
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2023-07-15 13:23:02 -07:00
Khem Raj
d3d8e4b7f9
dlm: Upgrade to 4.2.0
...
Drop upstreamed patch and another patch which is fixed differently
upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2023-07-13 20:33:23 -07:00
Khem Raj
b7a1a02d56
dlm: Upgrade to 4.1.1
...
Forward port patches and add a patch to fix compiler warnings
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2022-08-30 00:14:58 -07:00
Khem Raj
7d8a0e840d
recipes: Update LICENSE variable to use SPDX license identifiers
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2022-03-04 17:41:45 -08:00
Martin Jansa
c61dc077bb
Convert to new override syntax
...
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com >
2021-08-03 10:21:25 -07:00
Khem Raj
71e00725fc
dlm: Fix host-user-contaminated QA errors
...
- Drop unused 0001-dlm-fix-package-qa-error.patch
- Merge appends into main task
- remove explicitly mentioning systemd in deps, systemd bbclass will add it
- Add a patch to fix install using cp cmd to preserve file permissions
Fixes
dlm: /usr/lib/libdlmcontrol.so.3 is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2020-03-03 13:10:33 -08:00
Denys Dmytriyenko
4c00e5fed9
recipes: rename distro_features_check to features_check
...
Avoid warning due to the class rename in OE-Core.
Signed-off-by: Denys Dmytriyenko <denys@ti.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2019-11-21 17:51:37 -08:00
Khem Raj
85bb13e022
dlm: Drop -fstack-clash-protection for clang
...
-fstack-clash-protection is gcc-only option
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2019-11-19 23:33:03 -08:00
Changqing Li
2d19b0b4c0
dlm: upgrade 4.0.7 -> 4.0.9
...
Signed-off-by: Changqing Li <changqing.li@windriver.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2019-07-10 09:24:32 -07:00
Khem Raj
dc7d910b75
dlm: Fix build with glibc 2.28+
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-08-19 16:09:28 -07:00
Khem Raj
8cec59341a
dlm: Build fence only when pacemaker recipe is available
...
pacemaker is not in meta-networking, and therefore dlm fails
to build when meta-cgl is not included, this changeset makes
the pacemaker dependency to be optional, and disabled by default
so users who have pacemaker in the bbfiles should enable pacemaker
support via a bbappend or setting it in config metadata
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-08-19 16:09:28 -07:00
Changqing Li
576515a07c
dlm: upgrade 4.0.2 -> 4.0.3
...
Signed-off-by: Changqing Li <changqing.li@windriver.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-08-11 20:16:52 -07:00
Yi Zhao
2eca506d36
dlm: add UPSTREAM_CHECK_URI
...
Signed-off-by: Yi Zhao <yi.zhao@windriver.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-05-29 12:57:23 -07:00
Mark Hatle
cd72321a44
dlm: requires corosync, from meta-networking
...
Signed-off-by: Mark Hatle <mark.hatle@windriver.com >
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com >
2017-09-12 10:55:09 -04:00