[OE-core][PATCH] package_rpm: set a timestamp handling policy with the new macro %build_mtime_policy

2025-01-03 Thread Bin Lan via lists.openembedded.org
There is the following warning when the do_package_write_rpm task is executed when bitbake linux-yocto: warning: %clamp_mtime_to_source_date_epoch is deprecated, please use %build_mtime_policy After RPM is upgraded to 4.20.0, the %clamp_mtime_to_source_date_epoch macro is now deprecated in favo

Re: [OE-core][PATCH] package_rpm: set clamp_mtime_to_source_date_epoch to 0

2025-01-02 Thread Bin Lan via lists.openembedded.org
On 1/3/2025 2:32 PM, Bin Lan via lists.openembedded.org wrote: There is the following warning when the do_package_write_rpm task is executed when bitbake linux-yocto: warning: %clamp_mtime_to_source_date_epoch is deprecated, please use %build_mtime_policy This change sets

[OE-core][PATCH] package_rpm: set clamp_mtime_to_source_date_epoch to 0

2025-01-02 Thread Bin Lan via lists.openembedded.org
There is the following warning when the do_package_write_rpm task is executed when bitbake linux-yocto: warning: %clamp_mtime_to_source_date_epoch is deprecated, please use %build_mtime_policy This change sets clamp_mtime_to_source_date_epoch to 0 in do_package_rpm() to remove the warning. Si

Re: [OE-core][PATCH] gcc: backport patch to fix data relocation to !ENDBR: stpcpy

2024-12-17 Thread Bin Lan via lists.openembedded.org
On 12/18/24 01:20, Khem Raj wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, Dec 17, 2024 at 2:47 AM Bin Lan via lists.openembedded.org wrote: There is the

[OE-core][PATCH v2] gcc: backport patch to fix data relocation to !ENDBR: stpcpy

2024-12-17 Thread Bin Lan via lists.openembedded.org
There is the following warning when building linux-yocto with default configuration on x86-64 with gcc-14.2: AR built-in.a AR vmlinux.a LD vmlinux.o vmlinux.o: warning: objtool: .export_symbol+0x332a0: data relocation to !ENDBR: stpcpy+0x0 This change set removes the warnin

[OE-core][PATCH] gcc: backport patch to fix data relocation to !ENDBR: stpcpy

2024-12-17 Thread Bin Lan via lists.openembedded.org
There is the following warning when building linux-yocto with default configuration on x86-64 with gcc-14.2: AR built-in.a AR vmlinux.a LD vmlinux.o vmlinux.o: warning: objtool: .export_symbol+0x332a0: data relocation to !ENDBR: stpcpy+0x0 This change set removes the warnin

[OE-core] [PATCH] lttng-ust: backport patch to fix cmake-multiple-shared-libraries build error

2024-11-09 Thread Bin Lan via lists.openembedded.org
There are the following error when building doc/examples/cmake-multiple-shared-libraries: ld: warning: liblttng-ust-common.so.1, needed by lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link) ld: warning: liblttng-ust-tracepoint.so.1, needed

[OE-core][PATCH] doc/examples/Makefile.am: adds library search paths and linker rpath-link

2024-11-07 Thread Bin Lan via lists.openembedded.org
There is the following error when building doc/examples/cmake-multiple-shared-libraries: /usr/bin/ld: warning: liblttng-ust-common.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblttng-ust-tracepoint.so.1, nee