Closed Bug 450909 Opened 17 years ago Closed 17 years ago

missing support for AIX target in configure.in

Categories

(Firefox Build System :: General, defect)

Other
AIX
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.1b2

People

(Reporter: ul-mcamafia, Assigned: ul-mcamafia)

References

Details

(Keywords: fixed1.9.0.4, verified1.8.1.18)

Attachments

(2 files, 2 obsolete files)

User-Agent: Mozilla/5.0 (X11; U; AIX 5.1; en-US; rv:1.8.1.16) Gecko/20080806 Firefox/2.0.0.16 Build Identifier: Issuing the following javascript command in the javascript console results in error NS_ERROR_NOT_AVAILABLE: Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULRuntime).XPCOMABI Reproducible: Always Steps to Reproduce: 1. configure the source on AIX 4.3.3 or 2. use a machine with POWER or POWER2 cpu which configures ${target_cpu} to rs6000 instead of powerpc 3. Actual Results: XPCOMABI is not set if any of both applies Expected Results: XPCOMABI is set to ppc-ibmc Follow-up fix of bug 323997
Attached patch fixes CPU_ARCH for RS/6000 w/o powerpc CPU also (obsolete) — — Splinter Review
Attachment #334124 - Flags: review+
review by cls under bug 323997
Comment on attachment 334124 [details] [diff] [review] fixes CPU_ARCH for RS/6000 w/o powerpc CPU also approval for MOZILLA_1_8_BRANCH is wanted after at least two weeks on trunk
Attachment #334124 - Flags: review?(benjamin)
Assignee: nobody → ul.mcamafia
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch Clear out MOZ_FIX_LINK_PATHS (obsolete) — — Splinter Review
requesting review for jag's Patch of bug 332075
Attachment #334150 - Flags: review?
Comment on attachment 334150 [details] [diff] [review] Clear out MOZ_FIX_LINK_PATHS the AIX linker has no equivalent to -Wl,-rpath-link symbols are resolved at link-time by the linker in order of the given -L and -l flags on the commandline. With -blibpath: flag the -L directories are not linkedited into the binary and the lib searchpath is only the path given by -blibpath: + any directories in LIBPATH environment variable. LIBPATH is set in run-mozilla.sh Since the AIX port isn't supported with GCC, and even with GCC better use native ld on AIX. So clearing MOZ_FIX_LINK_PATH for AIX is needed.
Attachment #334150 - Flags: review? → review?(benjamin)
Status: NEW → ASSIGNED
Attachment #334124 - Attachment is obsolete: true
Attachment #334124 - Flags: review?(benjamin)
Attachment #334150 - Attachment is obsolete: true
Attachment #334150 - Flags: review?(benjamin)
Merged both fixes into one for branch MOZILLA_1_8_BRANCH only The resulting "configure" generates (objdir)config/autoconf.mk verified ok on AIX. HEAD still contains the MOZ_FIX_LINK_PATH fix bug 323997 for more than 2 years. The pythonized configure seems to need a slightly different patch, as it is broken on AIX by now.
Attachment #334172 - Flags: review?(cls)
For 1.9 branch the VisualAge 5.0.2 not sufficiant any longer, as starting with VisualAge 6 the C compiler supports the C99 language level, which is heavily used in gfx. The MOZ_FIX_LINK_PATH bug 323997 fix has still landed on 1.9 TARGET_CPU for XPCOMABI is set just like the patch for 1.8 branch
Attachment #334174 - Flags: review?(cls)
Attachment #334124 - Flags: review+
Blocks: 332075
Summary: TARGET_XPCOM_ABI not set in AIX builds for target_cpu rs6000 → missing support for AIX target in configure.in
Attachment #334172 - Flags: review?(cls) → review+
Attachment #334174 - Flags: review?(cls) → review+
Comment on attachment 334172 [details] [diff] [review] [checked in on 1.8] clear MOZ_FIX_LINK_PATH + set XPCOMABI on AIX MOZILLA_1_8_BRANCH Patch does not affect any platform except AIX. For AIX I have tested this patch with the releases of FIREFOX_2_0_0_16_RELEASE, THUNDERBIRD_2_0_0_16_RELEASE, SEAMONKEY_1_1_11_RELEASE and yesterday on MOZILLA_1_8_BRANCH successfully
Attachment #334172 - Flags: approval1.8.1.17?
Comment on attachment 334174 [details] [diff] [review] set XPCOMABI on AIX and raise minimum compiler version CVS HEAD This one should go the usual way: first on trunk and perhaps later back to 1.9.0 branch. Isn't urgent as there is still no successful AIX build of trunk now and in the next few weeks.
Version: unspecified → 1.8 Branch
Comment on attachment 334172 [details] [diff] [review] [checked in on 1.8] clear MOZ_FIX_LINK_PATH + set XPCOMABI on AIX MOZILLA_1_8_BRANCH Approved for 1.8.1.17, a=dveditz for release-drivers. But code-freeze is coming up and you're not around so this might actually have to wait until the next release.
Attachment #334172 - Flags: approval1.8.1.17? → approval1.8.1.17+
(In reply to comment #11) > (From update of attachment 334172 [details] [diff] [review]) > Approved for 1.8.1.17, a=dveditz for release-drivers. > > But code-freeze is coming up and you're not around so this might actually have > to wait until the next release. > I will release my Firefox for AIX builds with this patch applied on my local build machine when I'm back. I would prefer it in 1.8.1.18, so I'm on hook when checked-in.
Comment on attachment 334172 [details] [diff] [review] [checked in on 1.8] clear MOZ_FIX_LINK_PATH + set XPCOMABI on AIX MOZILLA_1_8_BRANCH Alright, just request approval when the flag appears in a week or two.
Attachment #334172 - Flags: approval1.8.1.17+
Attachment #334174 - Flags: approval1.9.0.3?
Attachment #334172 - Flags: approval1.8.1.18?
Requesting branch approval for attachment 334172 [details] [diff] [review] for 1.8.1.18 I have built rc2 of FIREFOX 2.0.0.17 and SEAMONKEY 1.1.12 on AIX 4.3.3 and AIX 5.1 with the patch locally applied. All works like expected. No other platforms except AIX are affected by this patch.
Flags: blocking1.8.1.18?
not blocking but we'll look at the approval requests when the tree reopens.
Flags: blocking1.8.1.18?
Keywords: checkin-needed
Whiteboard: [c-n: which patch, where ?]
Requesting branch approval for attachment 334174 [details] [diff] [review] for 1.9.0.3
Attachment #334172 - Attachment description: clear MOZ_FIX_LINK_PATH + set XPCOMABI on AIX → clear MOZ_FIX_LINK_PATH + set XPCOMABI on AIX MOZILLA_1_8_BRANCH
Comment on attachment 334172 [details] [diff] [review] [checked in on 1.8] clear MOZ_FIX_LINK_PATH + set XPCOMABI on AIX MOZILLA_1_8_BRANCH Approved for 1.8.1.18, a=dveditz for release-drivers
Attachment #334172 - Flags: approval1.8.1.18? → approval1.8.1.18+
Comment on attachment 334174 [details] [diff] [review] set XPCOMABI on AIX and raise minimum compiler version CVS HEAD Approved for 1.9.0.3, a=dveditz for release-drivers
Attachment #334174 - Flags: approval1.9.0.3? → approval1.9.0.3+
Attachment #334174 - Attachment description: set XPCOMABI on AIX and raise minimum compiler version → set XPCOMABI on AIX and raise minimum compiler version CVS HEAD
Keywords: checkin-needed
Whiteboard: [c-n: which patch, where ?]
Whiteboard: c-n only one patch per branch as approved by dveditz
Whiteboard: c-n only one patch per branch as approved by dveditz → [c-n: 1.8.1 branch only] [c-n: 1.9.0 branch only]
Comment on attachment 334172 [details] [diff] [review] [checked in on 1.8] clear MOZ_FIX_LINK_PATH + set XPCOMABI on AIX MOZILLA_1_8_BRANCH MOZILLA_1_8_BRANCH: Checking in configure.in; /cvsroot/mozilla/configure.in,v <-- configure.in new revision: 1.1503.2.112; previous revision: 1.1503.2.111 done
Attachment #334172 - Attachment description: clear MOZ_FIX_LINK_PATH + set XPCOMABI on AIX MOZILLA_1_8_BRANCH → [checked in on 1.8] clear MOZ_FIX_LINK_PATH + set XPCOMABI on AIX MOZILLA_1_8_BRANCH
Keywords: fixed1.8.1.18
Whiteboard: [c-n: 1.8.1 branch only] [c-n: 1.9.0 branch only] → [c-n: 1.9.0 branch only]
Change Version to 1.9.0 branch after checkin to branch 1.8
Version: 1.8 Branch → 1.9.0 Branch
CVS HEAD: Checking in configure.in; /cvsroot/mozilla/configure.in,v <-- configure.in new revision: 1.1999; previous revision: 1.1998 done
Keywords: fixed1.9.0.4
Whiteboard: [c-n: 1.9.0 branch only]
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b2
Version: 1.9.0 Branch → unspecified
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: