Closed Bug 333545 Opened 18 years ago Closed 18 years ago

In DEC/OSF1 build failure in mozilla/xpcom/stub directory

Categories

(Firefox Build System :: General, defect)

DEC
OSF/1
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: laxmi.harikumar, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: 

Mozilla build is failing in xpcom/stub directory with the following error:

cxx  -noexceptions -ieee -ptr ../../dist/cxx_repository -pthread  -DDEBUG -D_DEB
UG -DDEBUG_dailybld -DTRACING -g  -shared -msym -expect_unresolved \* -update_re
gistry ../../dist/so_locations -soname libxpcom.so -o libxpcom.so  nsXPComStub.o
    -lpthread          -L../../dist/bin -L../../dist/lib -Wl,-rpath-link,../../d
ist/bin -lxpcom_core -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -lm -lc_r

ld (prelink):
-rpath-link: Unknown flag
ld: Usage: ld [options] file [...]
ld:
-rpath-link: Unknown flag
ld: Usage: ld [options] file [...]
gmake[5]: *** [libxpcom.so] Error 1
gmake[5]: Leaving directory `/usr4/dailybld/mozilla/xpcom/stub'


Reproducible: Always

Steps to Reproduce:
1. Go to mozilla/xpcom directory
2. Run make
3.

Actual Results:  
Build fails

Expected Results:  
Build should have completed without any errors

As mentioned in comment#6 Bug 332053,

this problem is caused by the modification of autoconf.mk.in file.
OS: Other → OSF/1
Hardware: Other → DEC
Attached patch Patch for configure file (obsolete) — Splinter Review
The solution is to override MOZ_FIX_LINK_PATHS for osf in configure file
Attachment #218000 - Flags: review?(cls)
You almost certainly need a real replacement for fix-link-paths; see bug 332075 for what this variable needs to be able to do.
Status: UNCONFIRMED → NEW
Ever confirmed: true
and don't modify configure directly, it's autogenerated from configure.in.
Comment on attachment 218000 [details] [diff] [review]
Patch for configure file

MOZ_FIX_LINK_PATHS needs to be set in the $target section, not the $host section (yes, darwin & os2 are bad examples).  The patch needs to be against configure.in, not configure.  I know that OSF1 supports -rpath.  Is that a suitable substitute or would we wind up hardcoding in a temporary build path?
Attachment #218000 - Flags: review?(cls) → review-
-rpath would end up hardcoding bad paths.
Thanks for the review comments.
As per the comments, I have put the patch in the $target section of configure.in. Also I am not using "-rpath" as a substitute.
Attachment #218000 - Attachment is obsolete: true
Attachment #218649 - Flags: review+
Checking in configure.in;
/cvsroot/mozilla/configure.in,v  <--  configure.in
new revision: 1.1691; previous revision: 1.1690
done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
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: