Closed Bug 208177 Opened 21 years ago Closed 21 years ago

Build nsinstall as 32-bit HP-UX PA-RISC executable for 64-bit HP-UX PA-RISC build

Categories

(NSS :: Build, defect)

HP
HP-UX
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

Attachments

(1 file)

Recently our HP-UX build machine sbshp1 has a strange
problem.  When a 64-bit PA-RISC executable calls
getcwd() in a NFS-mounted directory, it fails with
ENOENT.  (32-bit PA-RISC executable doesn't have this
problem, and no other HP-UX machines have this problem.)
Because of this problem our 64-bit HP-UX nightly builds
have been failing.

We don't know what the problem is.  However, it is
easy to work around this problem.  Since nsinstall is
only used during the build, we can build it as a
32-bit PA-RISC binary for 64-bit PA-RISC builds as
well.
Attached patch Proposed patchSplinter Review
Introduce the make variable INTERNAL_TOOLS.

If INTERNAL_TOOLS is set, it means the target of
that makefile is a tool used only during the build.
INTERNAL_TOOLS is currently only set in the
coreconf/nsinstall directory.

In HP-UXB.11.mk, we use the compiler flags for
32-bit PA-RISC for 64-bit builds if INTERNAL_TOOLS
is set.
Patch checked in on the NSS tip.  Tomorrow morning's
NSS nightly build should pass on HP-UX.
Status: NEW → RESOLVED
Closed: 21 years ago
QA Contact: wtc → bishakhabanerjee
Resolution: --- → FIXED
Target Milestone: --- → 3.9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: