Summary: | dev-libs/openssl -DPURIFY support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nir tzachar <tzachar> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | Lowest | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
nir tzachar
2006-11-08 09:37:38 UTC
the openssl code doesnt say what that does ... what does it do ? besides, i see it used in *two* places to control a total of *two* lines of code; a USE flag is overkill (In reply to comment #1) > the openssl code doesnt say what that does ... what does it do ? > > besides, i see it used in *two* places to control a total of *two* lines of > code; a USE flag is overkill > openssl uses uninitialized memory to gather entrpy. this makes valgrind very angry, and makes it spew hundreds of false bugs. compiling openssl using -DPURIFY makes sure openssl does not use any uninitialized memory. as for adding a use flags, is there any other option???? CPPFLAGS=-DPURIFY emerge openssl (In reply to comment #3) > CPPFLAGS=-DPURIFY emerge openssl > alas, this would not work when updating the entire system. and i do _not_ want to add this in make.conf . why do u object to adding a use flags?? it seems the cleanest way... just adding -DPURIFY to CPPFLAGS and CFLAGS can be considered a hack which might break in the future (or break other packages) i dont really care about the upgrading world aspect, that is Bug 44796 as i said already, adding a USE flag for changing two lines of code seems kind of weak (In reply to comment #5) > i dont really care about the upgrading world aspect, that is Bug 44796 > > as i said already, adding a USE flag for changing two lines of code seems kind > of weak > i agree. however, consider the following: 1) the interface of adding the purify directive might change. 2) these two lines makes working with valgrind possible. without them, valgrind just throws a humongous amount of bogus errors. 3) im asking nicely ;) as for the bug you mentioned, it is not resolved (only skimmed it). and anyway, see reason (1). I would propose a debug flag; that adds this flags to the CFLAGS automatically. Purify as useflag might be not the right way, the debug flag is used in many packages and using purify is for debugging. Please Reopen. |