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

Bug 259261

Summary: dev-libs/nss-3.12.2: QA Notice: poor programming practices
Product: Gentoo Linux Reporter: Martin Walch <walch.martin>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED UPSTREAM    
Severity: QA    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.mozilla.org/show_bug.cgi?id=467092
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Walch 2009-02-16 19:05:57 UTC
I get these warnings:

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * sslsnce.c:1113: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1114: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1116: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1117: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1118: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1119: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1120: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1121: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1122: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1123: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1391: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1392: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1393: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1394: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1395: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1396: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1397: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1399: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1400: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * sslsnce.c:1401: warning: dereferencing type-punned pointer will break strict-aliasing rules

Other people get more warnings. However, this has been reported upstream and has become pretty much a WONTFIX.
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-16 23:13:28 UTC
FYI: The gcc cmd-line option they're looking for in upstream bug is -fno-strict-aliasing
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2009-02-16 23:22:28 UTC
The same as here. Upstream is just asking for a patch, i would ask the same.