sandeep.konchady%sun.com
4bb21db05f
Modified import.pl, jdk.mk and release.pl under coreconf and all.pl under
...
jss test directory for bug #302550 . Attached below is the diff of the
changes done to these files.
Index: coreconf/import.pl
===================================================================
RCS file: /cvsroot/mozilla/security/coreconf/import.pl,v
retrieving revision 1.2
diff -u -r1.2 import.pl
--- coreconf/import.pl 25 Apr 2004 15:02:17 -0000 1.2
+++ coreconf/import.pl 15 Sep 2005 18:37:51 -0000
@@ -46,7 +46,6 @@
#######-- read in variables on command line into %var
-$var{ZIP} = "zip";
$var{UNZIP} = "unzip -o";
&parse_argv;
Index: coreconf/jdk.mk
===================================================================
RCS file: /cvsroot/mozilla/security/coreconf/jdk.mk,v
retrieving revision 1.14
diff -u -r1.14 jdk.mk
--- coreconf/jdk.mk 25 Apr 2004 15:02:17 -0000 1.14
+++ coreconf/jdk.mk 15 Sep 2005 18:37:52 -0000
@@ -123,14 +123,14 @@
# set [Sun Solaris] platforms
ifeq ($(OS_ARCH), SunOS)
- JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
+ JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar
ifeq ($(JRE_HOME),)
JRE_HOME = $(JAVA_HOME)
JRE_CLASSES = $(JAVA_CLASSES)
else
ifeq ($(JRE_CLASSES),)
- JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
+ JRE_CLASSES = $(JRE_HOME)/lib/rt.jar
endif
endif
@@ -144,9 +144,13 @@
# (3) specify "linker" information
ifeq ($(USE_64), 1)
- JAVA_CPU = $(shell uname -p)v9
+ ifeq ($(CPU_ARCH), x86_64)
+ JAVA_CPU = amd64
+ else
+ JAVA_CPU := $(shell uname -p)v9
+ endif
else
- JAVA_CPU = $(shell uname -p)
+ JAVA_CPU := $(shell uname -p)
endif
ifeq ($(JDK_VERSION), 1.1)
@@ -163,8 +167,6 @@
ifneq ($(JDK_VERSION), 1.1)
ifeq ($(USE_64), 1)
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/server
-else
- JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic
endif
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)
JAVA_LIBS += -ljvm -ljava
@@ -220,14 +222,14 @@
# set [Redhat Linux] platforms
ifeq ($(OS_ARCH), Linux)
- JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
+ JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar
ifeq ($(JRE_HOME),)
JRE_HOME = $(JAVA_HOME)
JRE_CLASSES = $(JAVA_CLASSES)
else
ifeq ($(JRE_CLASSES),)
- JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
+ JRE_CLASSES = $(JRE_HOME)/jre/lib/rt.jar
endif
endif
@@ -241,16 +243,21 @@
# (3) specify "linker" information
JAVA_CPU = i386
-
+ ifeq ($(CPU_ARCH),x86_64)
+ ifeq ($(USE_64), 1)
+ JAVA_CPU = amd64
+ else
+ JAVA_CPU = i386
+ endif
+ endif
JAVA_LIBDIR = jre/lib/$(JAVA_CPU)
JAVA_CLIBS =
ifeq ($(JDK_VERSION), 1.4)
- JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/server -ljvm
- else
- JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic -ljvm
+ JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/server -ljvm
endif
+
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR) -ljava
JAVA_LIBS += $(JAVA_CLIBS)
Index: coreconf/release.pl
===================================================================
RCS file: /cvsroot/mozilla/security/coreconf/release.pl,v
retrieving revision 1.3
diff -u -r1.3 release.pl
--- coreconf/release.pl 25 Apr 2004 15:02:17 -0000 1.3
+++ coreconf/release.pl 15 Sep 2005 18:37:52 -0000
@@ -41,7 +41,14 @@
#######-- read in variables on command line into %var
-$var{ZIP} = "zip";
+$use_jar = 1;
+$ZIP = "$ENV{JAVA_HOME}/bin/jar";
+
+if ( $ENV{JAVA_HOME} eq "" ) {
+ $ZIP = "zip";
+ $use_jar = 0;
+}
+
&parse_argv;
@@ -56,11 +63,15 @@
($jardir,$jaropts) = split(/\|/,$jarinfo);
- $zipoptions = "-T";
- if ($jaropts =~ /a/) {
- if ($var{OS_ARCH} eq 'WINNT') {
- $zipoptions .= ' -ll';
- }
+ if ( $use_jar ) {
+ $zipoptions = "-cvf";
+ } else {
+ $zipoptions = "-T -r";
+ if ($jaropts =~ /a/) {
+ if ($var{OS_ARCH} eq 'WINNT') {
+ $zipoptions .= ' -ll';
+ }
+ }
}
# just in case the directory ends in a /, remove it
@@ -117,8 +128,8 @@
}
closedir(DIR);
- print STDERR "zip $zipoptions -r $jarfile $filelist\n";
- system("zip $zipoptions -r $jarfile $filelist");
+ print STDERR "$ZIP $zipoptions $jarfile $filelist\n";
+ system("$ZIP $zipoptions $jarfile $filelist");
rmdir("META-INF");
for $i (1 .. $dirdepth) {
chdir("..");
Index: jss/org/mozilla/jss/tests/all.pl
===================================================================
RCS file: /cvsroot/mozilla/security/jss/org/mozilla/jss/tests/all.pl,v
retrieving revision 1.22
diff -u -r1.22 all.pl
--- jss/org/mozilla/jss/tests/all.pl 6 Sep 2005 17:57:40 -0000 1.22
+++ jss/org/mozilla/jss/tests/all.pl 15 Sep 2005 18:37:54 -0000
@@ -136,12 +136,26 @@
exit(1);
}
+ #
+ # Use 64-bit Java on AMD64.
+ #
+
$java = "$ENV{JAVA_HOME}/jre/bin/java$exe_suffix";
+ my $java_64bit = 0;
+ if ($osname eq "SunOS") {
+ if ($ENV{USE_64}) {
+ my $cpu = `/usr/bin/isainfo -n`;
+ if ($cpu == "amd64") {
+ $java = "$ENV{JAVA_HOME}/jre/bin/amd64/java$exe_suffix";
+ $java_64bit = 1;
+ }
+ }
+ }
(-f $java) or die "'$java' does not exist\n";
$java = $java . $ENV{NATIVE_FLAG};
- if ($ENV{USE_64}) {
- $java = $java . " -d64";
+ if ($ENV{USE_64} && !$java_64bit) {
+ $java = $java . " -d64";
}
$pwfile = "passwords";
2005-09-16 00:33:23 +00:00
saul.edwards%sun.com
046c62d43f
Bug 303508: Add freebl shared libs that do 64-bit integer math. Bug 274984: softoken fails to load freebl in setuid programs. freebl becomes a shared library on all platforms. r=nelson
...
Modified Files:
coreconf/HP-UXB.11.mk coreconf/SunOS5.mk
nss/cmd/shlibsign/Makefile nss/cmd/shlibsign/manifest.mn
nss/lib/freebl/Makefile nss/lib/freebl/arcfour.c
nss/lib/freebl/blapi.h nss/lib/freebl/config.mk
nss/lib/freebl/ldvector.c nss/lib/freebl/loader.c
nss/lib/freebl/loader.h nss/lib/freebl/manifest.mn
Added Files:
nss/lib/freebl/freebl.def
2005-09-07 02:47:16 +00:00
wtchang%redhat.com
51ef3c3c86
Bugzilla Bug 303507: changed GCC's default OPTIMIZER back to -O2.
...
r=saul.edwards.
2005-09-02 00:59:00 +00:00
julien.pierre.bugs%sun.com
2ffa7acc60
Fix for 297802 . r=wtchang . Add $(OS_LIBS) to MKSHLIB rules.
...
Add -z defs linker option for Solaris and Linux .
Also add -z ignore on Solaris .
2005-08-26 02:17:05 +00:00
wtchang%redhat.com
94441eaca9
Bugzilla bug 302212: backed out the previous checkin. The corresponding
...
Mozilla patch hasn't been checked in yet.
2005-08-25 23:23:40 +00:00
saul.edwards%sun.com
ca3db23c1b
Addendum to 303507 - set default OPTIMIZER for Linux and Solaris gcc builds
...
to -O3, consolidate flags to Linux.mk.
2005-08-24 23:58:36 +00:00
wtchang%redhat.com
fcf4d7234a
Bugzilla bug 302670: backed out the use of system zlib because some Linux
...
distributions are using zlib 1.1.4, which causes our signtool tests to
fail intermittently. Don't know why.
2005-08-20 01:05:44 +00:00
wtchang%redhat.com
e06cb45930
Bugzilla Bug 266123: support 64-bit PowerPC builds for Linux distributions
...
(such as Red Hat and Fedora) whose GCC generates 32-bit code by default.
r=cls.
2005-08-18 17:48:26 +00:00
wtchang%redhat.com
972d589547
Bugzilla Bug 302670: enable NSS to use system zlib and do that on Linux.
...
r=nelsonb.
Modified Files:
coreconf/Linux.mk nss/cmd/Makefile nss/cmd/manifest.mn
nss/cmd/platlibs.mk
2005-08-16 01:08:59 +00:00
wtchang%redhat.com
cf5e252283
Bugzilla Bug 302212: enable Mac OS X x86 builds to target SDKs. The patch
...
is contributed by Mark Mentovai <mark@moxienet.com>. r=wtc.
2005-08-15 22:44:22 +00:00
wtchang%redhat.com
bd99a181d7
Bugzilla Bug 266123: added ppc64 support. The patch is contributed by
...
Markus Rothe <markus@unixforces.net>. r=wtc.
2005-08-09 22:31:24 +00:00
wtchang%redhat.com
5e18c64463
Bugzilla Bug 288647: enable building NSS with an NSPR binary distribution.
...
Introduced NSPR_INCLUDE_DIR and NSPR_LIB_DIR make variables. Portions of
the patch were contributed by Chris Seawood <cls@seawood.org>. r=relyea.
Modified Files:
coreconf/OS2.mk coreconf/OpenVMS.mk coreconf/location.mk
nss/cmd/platlibs.mk nss/cmd/shlibsign/Makefile
nss/cmd/shlibsign/sign.cmd nss/cmd/shlibsign/sign.sh
nss/lib/ckfw/builtins/Makefile
nss/lib/fortcrypt/swfort/pkcs11/Makefile nss/lib/nss/config.mk
nss/lib/smime/config.mk nss/lib/softoken/config.mk
nss/lib/ssl/config.mk
2005-07-21 23:48:30 +00:00
wtchang%redhat.com
a4a7cc85d3
Bugzilla Bug 294122: support building with MSYS (a set of Unix utilities
...
for Windows compiled with MinGW). The patch is contributed by Howard Chu
<hyc@symas.com>. r=wtc,cls.
Modified Files: arch.mk rules.mk
2005-07-07 16:50:47 +00:00
julien.pierre.bugs%sun.com
721d20caed
Fix for 297849 . Allow x86 build on Linux x86_64 machine. r=wtchang
2005-07-05 22:48:38 +00:00
wtchang%redhat.com
02fa2849ed
Bugzilla Bug 298532: use -fPIC explicitly (which is the default). The
...
patch is contributed by Mark Mentovai <mark@moxienet.com>. r=wtc.
2005-07-01 00:40:07 +00:00
wtchang%redhat.com
cfc57b80b1
Bugzilla Bug 298532: updated for Mac 10.4u ("universal") SDK, which adds
...
support for Intel CPUs. The patch is contributed by Mark Mentovai
<mark@moxienet.com>. r=wtc.
2005-06-28 21:21:05 +00:00
wtchang%redhat.com
cca45cda33
Bugzilla Bug 297826: add the -Zmap flag to create .map files for DLLs. The
...
patch is contributed by Peter Weilbacher <mozilla@Weilbacher.org>.
Reviewed by Julien Pierre and Michael Kaply.
2005-06-23 18:46:17 +00:00
relyea%netscape.com
f2e042b4ff
Mozilla Tiger build changes. Currently the mozilla branch is broken
...
without these changes.
Bug 292530 r=wtc (according to dougt).
Code builds agains NSS tip, verified by relyea
Patch created by Josh Aas
2005-06-01 21:00:22 +00:00
wtchang%redhat.com
350ca73f9f
Bugzilla Bug 294333: enable building on Windows Me with Cygwin. Thanks
...
to Jacek Piskozub <piskozub@iopan.gda.pl> for reporting the bug and
verifying the fix. r=cls,nelsonb.
2005-05-17 21:26:14 +00:00
julien.pierre.bugs%sun.com
02be6067f4
Fix for 290120. r=wtchang
2005-04-15 00:36:28 +00:00
julien.pierre.bugs%sun.com
dafc64356a
Back out fix for 290121 temporarily (until Christophe upgrades build tools)
2005-04-14 04:41:49 +00:00
julien.pierre.bugs%sun.com
a25dbaca79
Fix for bug 290120 - compile source files with absolute pathnames on AIX. r=wtchang
2005-04-13 20:58:06 +00:00
wtchang%redhat.com
a8d86e332d
Bugzilla Bug 193164: do not use nfspwd.pl, which only works on the old
...
Netscape corporate network. r=cmp@mozilla.org .
2005-02-05 01:35:47 +00:00
gerv%gerv.net
d6d819dccf
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-02-02 22:28:27 +00:00
wtchang%redhat.com
564f4ed5c5
Bugzilla Bug 279542: removed -L/lib. It's not necessary, and produced
...
incorrect executables on an s390 system (don't know why).
r=caillon@redhat.com .
2005-02-01 23:39:18 +00:00
wtchang%redhat.com
b60a112bc9
Bugzilla Bug 279621: added a note explaining what HCL is.
2005-01-27 19:14:15 +00:00
wchang0222%aol.com
6138988a6b
Bugzilla bug 267839: use $< and $@ in makefile rules where appropriate.
...
r=relyea.
2004-12-22 00:06:42 +00:00
wchang0222%aol.com
60e13508c3
Bugzilla bug 93206: allow $(CC) to contain multiple words. coreconf itself
...
doesn't set CC to be multiple words, but higher-level modules such as PSM
may pass CC to NSS on the gmake command line and $(CC) may contain multiple
words. r=cls,jpierre.
2004-11-09 06:24:18 +00:00
wchang0222%aol.com
b9d3c2a831
Bugzilla bug 240784: removed the temporary workaround added in rev. 1.55.
2004-11-06 00:17:20 +00:00
wchang0222%aol.com
9cdd7dd3cb
Removed a comment and the commented-out code it described.
2004-11-05 02:42:21 +00:00
wchang0222%aol.com
9c7779751f
Combined two lines into one.
2004-11-05 02:38:30 +00:00
wchang0222%aol.com
cc7f62e55a
Although we do use the native compilers by default on most platforms, it
...
is more correct to say "default compiler" than "native compiler" here.
2004-11-05 02:37:42 +00:00
wchang0222%aol.com
5d9394cbf3
ALL_TRASH should be defined with = rather than := because some of its
...
constituents (e.g., TARGETS) may be redefined after coreconf/config.mk has
been included (e.g., in a local config.mk file). We do not want to expand
these constituents right when ALL_TRASH is defined.
2004-11-05 02:35:43 +00:00
wchang0222%aol.com
36adca51ff
Use the $< variable in the rule to build a program from a single object.
2004-11-05 01:45:49 +00:00
wchang0222%aol.com
56ba8ca864
Need to pass $(CFLAGS) to $(MKPROG) when building a program from a single
...
object file. This rule should be similar to the rule for building
$(PROGRAM).
2004-11-04 15:55:05 +00:00
wchang0222%aol.com
5bddd4073a
Bugzilla bug 240784: checked in a temporary workaround for the fix for
...
bug 240784 that breaks OS/2 tinderbox. The problem seems to be that OS/2
file system is case insensitive, so nsinstall won't change the file name
of an existing DLL in mozilla/dist/$(OBJDIR)/lib, but gmake is case
sensitive, and gmake can't find a rule to build softokn3.chk from because
the softokn3 DLL in mozilla/dist/$(OBJDIR)/lib doesn't have the right name.
2004-10-20 17:24:53 +00:00
julien.pierre.bugs%sun.com
5896c71a2f
Fix for 259003 - port NSS to Solaris AMD64 . r=wtc
2004-10-11 02:15:42 +00:00
wchang0222%aol.com
371548241e
Bugzilla bug 244231: white space changes to conform to NSS's coding style.
...
Modified Files:
WIN954.0.mk WINCE3.0.mk WINNT3.51.mk WINNT4.0.mk WINNT5.0.mk
WINNT5.1.mk
2004-08-27 00:33:40 +00:00
wchang0222%aol.com
3cf00d4f33
Bugzilla bug 244231: added new make variable MOZ_DEBUG_SYMBOLS which
...
generates debug symbols for optimized builds in PDB files. Also took the
opportunity to remove -DEBUGTYPE:CV, which is the default and will be
removed in MSVC .NET 2005. The patch is contributed by Brian Ryner of IBM
<bryner@brianryner.com>. r=wtc.
Modified Files:
WIN32.mk WIN954.0.mk WINCE3.0.mk WINNT3.51.mk WINNT4.0.mk
WINNT5.0.mk WINNT5.1.mk
2004-08-26 23:47:10 +00:00
jpierre%netscape.com
2209adcdb4
Fix for 240784 - FIPS doesn't work on OS/2 . r=mkaply,wtc
2004-05-11 04:01:28 +00:00
gerv%gerv.net
2cdff0bb4f
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-25 15:03:26 +00:00
wchang0222%aol.com
9664be26db
Bugzilla bug 172651: added a necessary test for MinGW gcc in rules.mk.
...
Do not install 'nsinstall' to avoid overwriting Mozilla's 'nsinstall'.
r=cls.
Modified Files:
rules.mk nsinstall/Makefile
2004-03-23 00:54:36 +00:00
wchang0222%aol.com
f88fe6501c
It is not necessary to define _THREAD_SAFE when using pthreads on OpenBSD.
...
(See Bugzilla bug 236599 comment 41).
2004-03-11 02:26:25 +00:00
wchang0222%aol.com
14ab9446d3
Bugzilla bug 233048: 1. Support doing 64-bit Solaris SPARC builds using
...
gcc. 2. Enable all.sh to work with gcc-compiled NSS tests which require
setting LD_LIBRARY_PATH to point to the directory where libgcc.so resides.
The patch is contributed by Vladim�r Marek <Vladimir.Marek@printsoft.cz>.
r=wtc,nelsonb.
Modified Files: coreconf/SunOS5.mk nss/tests/common/init.sh
2004-02-13 02:47:53 +00:00
wchang0222%aol.com
343223baf3
Bugzilla bug 232742: support Linux/AMD64. The patch is contributed by
...
Henrik Lynggaard Hansen <admin@mozillatranslator.org>. r=wtc.
2004-02-11 02:31:22 +00:00
wchang0222%aol.com
808ec4877d
Bugzilla bug 231018: use AIX.mk for all AIX versions. Removed the
...
AIXm.n.mk files. Removed support for AIX 3.2, 4.1, and 4.2. Removed
unused make variable EXPORT_RULES. Removed unused macro define -DAIX4_3.
The patch is contributed by Philip K. Warren <pkw@us.ibm.com>. r=wtc.
Modified Files:
AIX.mk config.mk
Removed Files:
AIX3.2.mk AIX4.1.mk AIX4.2.mk AIX4.3.mk AIX5.1.mk AIX5.2.mk
2004-01-27 23:55:38 +00:00
nelsonb%netscape.com
c905879d28
Add /FIXED:NO argument to linker command line for EXEs. Purify
...
requires this to precisely instrument EXEs. r=wtc
2003-12-06 06:34:20 +00:00
wchang0222%aol.com
251f8a47fb
Bugzilla bug 226470: removed -qarch=com, which is the default for the
...
compiler. r=pkw@us.ibm.com .
2003-11-24 19:45:18 +00:00
wchang0222%aol.com
10c3b4308c
Bugzilla bug 226470: use a C compiler rather than a C++ compiler to compile
...
C code. The patch is contributed by Philip K. Warren <pkw@us.ibm.com>.
2003-11-22 06:45:50 +00:00
wchang0222%aol.com
6dda3d9c41
Bugzilla bug 224707: added Linux HPPA support. The patch came from the
...
Debian Mozilla package (maintainer is Takuo KITAME <kitame@debian.org>).
2003-11-16 00:10:16 +00:00