Closed Bug 349920 Opened 18 years ago Closed 18 years ago

freebl libraries are always optimized on Sparc

Categories

(NSS :: Libraries, defect, P2)

3.11.2
Sun
SunOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
3.11.3

People

(Reporter: julien.pierre, Assigned: julien.pierre)

References

Details

Attachments

(1 file)

Currently, the freebl libraries are always optimized on Ultrasparc, even in our debug builds. This is because the optimizer flags were added to the SOL_CFLAGS gmake variable, which is used for both debug and optimized builds.
Priority: -- → P2
Target Milestone: --- → 3.11.3
*** Bug 349928 has been marked as a duplicate of this bug. ***
Attachment #235153 - Flags: superreview?(nelson)
Attachment #235153 - Flags: review?(neil.williams)
Comment on attachment 235153 [details] [diff] [review] Only use optimizer flags if BUILD_OPT is set . Also delete -fns which has no effect Looks good. I wonder what -xdepend (no argument) defaults to.
Attachment #235153 - Flags: review?(neil.williams) → review+
Comment on attachment 235153 [details] [diff] [review] Only use optimizer flags if BUILD_OPT is set . Also delete -fns which has no effect r=nelson
Attachment #235153 - Flags: superreview?(nelson) → review+
Thanks for the quick reviews to both of you. -xdepend is set to no by default . It is dangerous, because setting it automatically raises optimization level to -xO3, so it definitely needs to be left off in the debug build . I checked in this patch to the tip : Checking in Makefile; /cvsroot/mozilla/security/nss/lib/freebl/Makefile,v <-- Makefile new revision: 1.86; previous revision: 1.85 done And to NSS_3_11_BRANCH : Checking in Makefile; /cvsroot/mozilla/security/nss/lib/freebl/Makefile,v <-- Makefile new revision: 1.70.2.11; previous revision: 1.70.2.10 done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: