Closed
Bug 195797
Opened 22 years ago
Closed 21 years ago
Build NSS with GCC 3.x
Categories
(NSS :: Build, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.8
People
(Reporter: jhpedemonte, Assigned: wtc)
References
Details
Attachments
(2 files, 3 obsolete files)
2.58 KB,
patch
|
wtc
:
review+
asa
:
approval1.4a+
|
Details | Diff | Splinter Review |
2.57 KB,
patch
|
Details | Diff | Splinter Review |
Derived from Meta bug 177789. This bug deals specifically with patches to make NSS build on OS/2 using GCC 3.x.
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
Missing endif in OS2.mk
Attachment #116136 -
Attachment is obsolete: true
Reporter | ||
Comment 4•21 years ago
|
||
Comment on attachment 117253 [details] [diff] [review] patch v1.2 Trying to get this approved and checked in for 1.4a
Attachment #117253 -
Flags: review?(relyea)
Comment 5•21 years ago
|
||
Question: is the desire to really only allow GCC to work (not CSet)? It seems like the patch would break CSet compiles (unless there are some if's I'm missing). bob
Reporter | ||
Comment 6•21 years ago
|
||
Small change to sign.cmd
Attachment #117253 -
Attachment is obsolete: true
Reporter | ||
Updated•21 years ago
|
Attachment #118337 -
Flags: review?(relyea)
Reporter | ||
Updated•21 years ago
|
Attachment #117253 -
Flags: review?(relyea)
Reporter | ||
Comment 7•21 years ago
|
||
For the moment, both GCC and Visual Age (CSet) compilers will work. In the future, though, we will switch to only supporting GCC.
Comment 8•21 years ago
|
||
My understanding is that the Mozilla browser needs an updated C++ compiler, and C Set ++ / Visual Age have fallen too far behind to be supported for the build. There have been ongoing complaints from client land to use those features, and OS/2 was the only platform holding them back. This means that the browser will no longer build with C Set ++ or VAC++ on OS/2. However, NSS and NSPR currently have a C API, and there is no requirement for them to be built with gcc. I'd like to keep the ability to build them with VAC. I use them a lot with small programs such as the NSS command-line tools that are C-based, even if the browser won't build with those compilers. I'll try Javier's patches and see if my VAC build still works.
Comment 9•21 years ago
|
||
This patch didn't break my VAC build of NSS, however it is broken for other reasons. It is trying to call "exec" when signing the softoken dll, even without the patch. exec doesn't exist on my OS/2 system.
Comment 10•21 years ago
|
||
exec in a makefile is not supposed to invoke exec on a client. What version of gmake are you using?
Comment 11•21 years ago
|
||
I am using gmake 3.76.1 . FYI, the problem can be fixed in mozilla/security/nss/cmd/shlibsign/Makefile by replacing "-exec sign.cmd" with "cmd.exe /c sign.cmd" .
Reporter | ||
Comment 12•21 years ago
|
||
Julien: You should update to make 3.79 (http://www.unixos2.org/sw/pub/binary/make/make-3_79_2a1-r2-bin.zip)
Reporter | ||
Comment 13•21 years ago
|
||
Relyea: Can we get this checked in for 1.4a? Thanks...
Assignee | ||
Comment 14•21 years ago
|
||
Comment on attachment 118337 [details] [diff] [review] patch v1.3 r=wtc. Requesting mozilla 1.4a approval. These are OS/2 build changes. All the changes are either in OS/2-only files or ifdef's with OS/2.
Attachment #118337 -
Flags: review?(relyea)
Attachment #118337 -
Flags: review+
Attachment #118337 -
Flags: approval1.4a?
Comment 15•21 years ago
|
||
Comment on attachment 118337 [details] [diff] [review] patch v1.3 a=asa (on behalf of drivers) for checkin to 1.4a
Attachment #118337 -
Flags: approval1.4a? → approval1.4a+
Assignee | ||
Comment 16•21 years ago
|
||
Comment on attachment 118337 [details] [diff] [review] patch v1.3 Javier, Two questions: 1. In security/coreconf/OS2.mk >+ifeq (,$EMXOMFLD_LINKER) # using LINK386.EXE Can I add parentheses "()" around EMXOMFLD_LINKER? That is, >+ifeq (,$(EMXOMFLD_LINKER)) # using LINK386.EXE 2. In security/nss/cmd/shlibsign/sign.cmd >+'set BEGINLIBPATH=%BEGINLIBPATH%;'dist'\lib' Can I move 'dist'\lib to the front of BEGINLIBPATH? That is, >+'set BEGINLIBPATH='dist'\lib;%BEGINLIBPATH%' Please let me know if these two suggested changes are fine.
Reporter | ||
Comment 17•21 years ago
|
||
wtc: Yes, both of those changes should be fine. Thanks for trying to get this in.
Assignee | ||
Comment 18•21 years ago
|
||
Patch checked in (with the two changes described in comment 16) on the NSS TIP (NSS 3.8) and NSS_CLIENT_TAG (mozilla 1.4alpha).
Status: NEW → RESOLVED
Closed: 21 years ago
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 3.8
Assignee | ||
Comment 19•21 years ago
|
||
This is Javier's patch v1.3 plus the two changes I suggested in comment 16.
You need to log in
before you can comment on or make changes to this bug.
Description
•