Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259261 - dev-libs/nss-3.12.2: QA Notice: poor programming practices
Summary: dev-libs/nss-3.12.2: QA Notice: poor programming practices
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Mozilla Gentoo Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 19:05 UTC by Martin Walch
Modified: 2009-02-16 23:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.