Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927174

Summary: net-analyzer/netdata-1.44.0 fails to compile: libnetdata.h:681:53: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/netdata/netdata/issues/17321
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-17 08:09:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/netdata-1.44.0 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-17 08:09:37 UTC
Created attachment 887796 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-04-05 01:21:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bca294bbe5941e8ce680a48824d3addc1a09ad0

commit 2bca294bbe5941e8ce680a48824d3addc1a09ad0
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-05 01:06:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-05 01:20:55 +0000

    net-analyzer/netdata: mark as LTO-unsafe, strict-aliasing unsafe
    
    Closes: https://bugs.gentoo.org/927174
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/netdata/netdata-1.45.2.ebuild | 10 +++++++++-
 net-analyzer/netdata/netdata-9999.ebuild   | 10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)