Closed Bug 290120 Opened 20 years ago Closed 20 years ago

Compile source files with absolute pathnames on AIX

Categories

(NSS :: Build, defect, P3)

3.9.5
Other
AIX
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

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

Details

Attachments

(1 file, 1 obsolete file)

This is a counterpart to bug 202058, which was for Windows and OS/2 . We also need to build with absolute pathnames in order for the debugger (dbx or idebug) to automatically locate source files on AIX. I will use the same rules that were already implemented in the upcoming patch. This will require using gmake 3.79 or later for the $call support .
Attached patch set NEED_ABSOLUTE_PATH on AIX (obsolete) — Splinter Review
Assignee: wtchang → julien.pierre.bugs
Status: NEW → ASSIGNED
Attachment #180552 - Flags: review?(nelson)
Priority: -- → P3
Target Milestone: --- → 3.10
Component: Libraries → Build
I forgot to mention that I found GNU make binaries for AIX at http://aixpdslib.seas.ucla.edu/packages/make.html .
Comment on attachment 180552 [details] [diff] [review] set NEED_ABSOLUTE_PATH on AIX The % is not needed for AIX. It's not needed for OS2, either. (We use % in WIN% so it can match WINNT, WIN95, and WINCE.) The AIX case can be simply added to the existing code, like this: -ifeq (,$(filter-out OS2%,$(OS_TARGET))) +ifeq (,$(filter-out AIX OS2,$(OS_TARGET))) NEED_ABSOLUTE_PATH := 1 PWD := $(shell pwd) endif Is the AIX dbx different from the Solaris dbx in this respect? I'm wondering why one needs absolute path but the other doesn't.
Attachment #180552 - Attachment is obsolete: true
Attachment #180612 - Flags: review?(wtchang)
Attachment #180552 - Flags: review?(nelson)
Comment on attachment 180612 [details] [diff] [review] merge AIX and OS/2 tests r=wtc.
Attachment #180612 - Flags: review?(wtchang) → review+
Thanks for the review. I checked in this patch to the NSS tip. Checking in rules.mk; /cvsroot/mozilla/security/coreconf/rules.mk,v <-- rules.mk new revision: 1.60; previous revision: 1.59 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Julien, this patch will cause NSS builds to fail on AIX unless and until our build tools for AIX are updated to gmake 3.79. Has Christophe agreed to that?
Nelson, Christophe is already aware of the issue. We can take this offline.
I backed out this fix temporarily since we need the build and QA to run for 3.10 tonight on AIX and Christophe didn't upgrade gmake yet.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I checked this in again, since Christophe's test of the new gmake worked. Checking in rules.mk; /cvsroot/mozilla/security/coreconf/rules.mk,v <-- rules.mk new revision: 1.62; previous revision: 1.61
Status: REOPENED → RESOLVED
Closed: 20 years ago20 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: