[ANNOUNCE] A Solaris-only regression in NSPR 4.7.2
"Wan-Teh Chang" <[email protected]> Tue, 28 Oct 2008 19:04:25 -0700
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
Yesterday we discovered that a Solaris-only regression was introduced in the NSPR 4.7.2 release. Here is the bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=461502 The bug was introduced by the patch to use the Solaris -Bdirect linker flag in https://bugzilla.mozilla.org/show_bug.cgi?id=451476. We will release NSPR 4.7.3 to address this issue. If your product doesn't support Solaris, you can continue to use NSPR 4.7.2. The attached patch backs out the change that introduced the regression. You can apply the patch to the NSPR 4.7.2 source code to fix the bug. I apologize for the inconvenience. Wan-Teh Chang _______________________________________________ dev-tech-nspr mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-nspr
solaris-Bdirect.txt
(text/plain, 1.8 KB)
Index: mozilla/nsprpub/configure
===================================================================
RCS file: /cvsroot/mozilla/nsprpub/configure,v
retrieving revision 1.237
diff -u -r1.237 configure
--- mozilla/nsprpub/configure 30 Aug 2008 00:46:45 -0000 1.237
+++ mozilla/nsprpub/configure 29 Oct 2008 01:55:53 -0000
@@ -4771,10 +4771,10 @@
if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
GCC_USE_GNU_LD=1
fi
- DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore,-Bdirect'
+ DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore'
else
DSO_CFLAGS=-KPIC
- DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore -Bdirect'
+ DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore'
fi
if test -n "$GNU_CC"; then
CFLAGS="$CFLAGS -Wall"
Index: mozilla/nsprpub/configure.in
===================================================================
RCS file: /cvsroot/mozilla/nsprpub/configure.in,v
retrieving revision 1.241
diff -u -r1.241 configure.in
--- mozilla/nsprpub/configure.in 30 Aug 2008 00:46:45 -0000 1.241
+++ mozilla/nsprpub/configure.in 29 Oct 2008 01:55:53 -0000
@@ -1994,10 +1994,10 @@
if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
GCC_USE_GNU_LD=1
fi
- DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore,-Bdirect'
+ DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore'
else
DSO_CFLAGS=-KPIC
- DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore -Bdirect'
+ DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore'
fi
if test -n "$GNU_CC"; then
CFLAGS="$CFLAGS -Wall"