[OE-core] [meta-oe][master][PATCH] tcsh: fix compile error after LDFLAGS change

2021-08-10 Thread Tony Battersby
Adding -f*-prefix-map to LDFLAGS caused the following issue when compiling tcsh on Ubuntu 18.04: gcc: error: unrecognized command line option ‘-fmacro-prefix-map=...’ Fix by using BUILD_LDFLAGS instead of LDFLAGS for gethost. [YOCTO #14481] Signed-off-by: Tony Battersby --- NOTE: tested only

Re: [OE-core] [master][PATCH 0/4] Reproducible LTO builds

2021-08-09 Thread Tony Battersby
kages (which I copied from meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb). Tony Battersby > On Fri, Aug 6, 2021 at 2:04 PM Tony Battersby wrote: >> On 8/6/21 12:44 PM, Tony Battersby wrote: >>> On 8/6/21 1:33 AM, Richard Purdie wrote: >&

[OE-core] [meta-oe][master][PATCH 2/2] ldns: fix QA Issue after LDFLAGS change

2021-08-09 Thread Tony Battersby
Adding -f*-prefix-map to LDFLAGS caused the following issue: QA Issue: ldns.pc failed sanity test (tmpdir) Fix by filtering out -f*-prefix-map from *.pc files. [YOCTO #14481] Signed-off-by: Tony Battersby --- meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb | 7 +++ 1 file changed, 7

[OE-core] [meta-networking][master][PATCH 1/2] curlpp: fix QA Issue after LDFLAGS change

2021-08-09 Thread Tony Battersby
Adding -f*-prefix-map to LDFLAGS caused the following issue: QA Issue: curlpp.pc failed sanity test (tmpdir) Fix by filtering out -f*-prefix-map from *.pc files. [YOCTO #14481] Signed-off-by: Tony Battersby --- meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb | 7 +++ 1 file

Re: [OE-core] [master][PATCH 0/4] Reproducible LTO builds

2021-08-06 Thread Tony Battersby
On 8/6/21 12:44 PM, Tony Battersby wrote: > On 8/6/21 1:33 AM, Richard Purdie wrote: >> On Thu, 2021-08-05 at 17:54 -0400, Tony Battersby wrote: >>> On 8/5/21 6:21 AM, Richard Purdie wrote: >>>> On Wed, 2021-08-04 at 20:13 -0400, Randy MacLeod wrote: >>>>

Re: [OE-core] [master][PATCH 0/4] Reproducible LTO builds

2021-08-06 Thread Tony Battersby
On 8/6/21 1:33 AM, Richard Purdie wrote: > On Thu, 2021-08-05 at 17:54 -0400, Tony Battersby wrote: >> On 8/5/21 6:21 AM, Richard Purdie wrote: >>> On Wed, 2021-08-04 at 20:13 -0400, Randy MacLeod wrote: >>>> On 2021-07-27 9:34 a.m., Tony Battersby wrote: >&

Re: [OE-core] [master][PATCH 0/4] Reproducible LTO builds

2021-08-05 Thread Tony Battersby
On 8/5/21 6:21 AM, Richard Purdie wrote: > On Wed, 2021-08-04 at 20:13 -0400, Randy MacLeod wrote: >> On 2021-07-27 9:34 a.m., Tony Battersby wrote: >>> Currently, enabling Link Time Optimization via: >>> >>> require conf/distro/include/lto.inc >>>

[OE-core] [meta-networking][master][PATCH 4/4] net-snmp: fix QA Issue after LDFLAGS change

2021-07-27 Thread Tony Battersby
Adding -f*-prefix-map to LDFLAGS caused the following issue: QA Issue: netsnmp-agent.pc failed sanity test (tmpdir) Fix by filtering out -f*-prefix-map from *.pc files. [YOCTO #14481] Signed-off-by: Tony Battersby --- Note: patches 1-3 of this series are only being sent to the openembedded

[OE-core] [master][PATCH 3/4] bitbake.conf: add DEBUG_PREFIX_MAP to TARGET_LDFLAGS

2021-07-27 Thread Tony Battersby
-f*-prefix-map flags are required when linking with LTO enabled to make the output binary reproducible. See discussion here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101473 [YOCTO #14481] Signed-off-by: Tony Battersby --- /usr/sbin/lspci from pciutils is a good program to test that shows

[OE-core] [master][PATCH 2/4] gcc: Backport patch to make LTO builds more reproducible

2021-07-27 Thread Tony Battersby
Backport ustream gcc patch that enables -fdebug-prefix-map to cover additional cases with LTO enabled to make LTO builds more reproducible. [YOCTO #14481] Signed-off-by: Tony Battersby --- meta/recipes-devtools/gcc/gcc-11.1.inc| 1 + ...prefix-maps-before-checksumming-DIEs.patch | 95

[OE-core] [master][PATCH 1/4] lto.inc: disable LTO for grub

2021-07-27 Thread Tony Battersby
With gcc 11.1, compiling grub with LTO causes an internal compiler error (ICE), and with gcc 10.2, files under /usr/lib/grub/i386-pc/*.mod are not binary reproducible. [YOCTO #14490] (gcc 11.1 ICE) [YOCTO #14481] (LTO and binary reproducibility) Signed-off-by: Tony Battersby --- meta/conf

[OE-core] [master][PATCH 0/4] Reproducible LTO builds

2021-07-27 Thread Tony Battersby
producible-builds.html). Tony Battersby Cybernetics -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154161): https://lists.openembedded.org/g/openembedded-core/message/154161 Mute This Topic: https://lists.openembedded.org/mt/84481652/21656 G

Re: [OE-core] [PATCH] glibc: fix path to place zdump in the tzcode package

2021-06-17 Thread Tony Battersby
and older will introduce the bug rather than fixing it. Tony Battersby Cybernetics On 6/17/21 5:25 PM, Khem Raj wrote: > Thanks, I think this needs to be backported to dunfell and other > maintained releases too. > > On 6/17/21 12:06 PM, Tony Battersby wrote: >> zdump should be in

[OE-core] [PATCH] glibc: fix path to place zdump in the tzcode package

2021-06-17 Thread Tony Battersby
zdump should be included in the tzcode package but is instead included in the glibc-utils package due to an incorrect path in the recipe. https://bugzilla.yoctoproject.org/show_bug.cgi?id=14427 Signed-off-by: Tony Battersby --- meta/recipes-core/glibc/glibc-package.inc | 2 +- 1 file changed