Closed Bug 52783 Opened 24 years ago Closed 24 years ago

excessive Duplicate Symbols while linking

Categories

(SeaMonkey :: General, defect, P1)

Other
AIX
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jdunn, Assigned: jdunn)

References

Details

When linking .so's, AIX's linker is generate an excessive amount of duplicate symbol warnings. In the effort to address this I started playing around with SHARED_LIBRARY_LIBS and cls pointed me to NO_LD_ARCHIVE_FLAG. I tried this flag and it seemed to really help AIX. Not only does it reduce the # of duplicate (at least it seemed to, I still get a TON from libxpcom) it also speeds up linking since we know longer have the extraction of the .o's, the additional linking of all the .o's and then the removal of the .o's from that static libs (lib<blah>_s.a).
updating info
Blocks: 18688
Severity: normal → major
Status: NEW → ASSIGNED
Priority: P3 → P2
QA Contact: doronr → jdunn
Target Milestone: --- → M18
Summary: excessive Duplicate Symbol warnings while linking → excessive Duplicate Symbols while linking
Here are the 2 diffs, which are AIX specific, to fix this. I only need to check in configure.in, since configure is automagically generated... but I wanted to put both the diffs in. Index: configure.in =================================================================== RCS file: /cvsroot/mozilla/configure.in,v retrieving revision 1.710 diff -c -r1.710 configure.in *** configure.in 2000/09/15 22:29:20 1.710 --- configure.in 2000/09/19 14:36:10 *************** *** 1002,1007 **** --- 1002,1010 ---- *-*-os2_*) NO_LD_ARCHIVE_FLAGS= ;; + *-aix4.3*) + NO_LD_ARCHIVE_FLAGS= + ;; esac AC_SUBST(NO_LD_ARCHIVE_FLAGS) Index: configure =================================================================== RCS file: /cvsroot/mozilla/configure,v retrieving revision 1.603 diff -c -r1.603 configure *** configure 2000/09/15 22:30:12 1.603 --- configure 2000/09/19 14:36:15 *************** *** 4642,4647 **** --- 4642,4650 ---- *-*-os2_*) NO_LD_ARCHIVE_FLAGS= ;; + *-aix4.3*) + NO_LD_ARCHIVE_FLAGS= + ;; esac
Severity: major → critical
Keywords: nsbeta3
Priority: P2 → P1
a=brendan@mozilla.org, it could only bust AIX. If you want another r=, great, but I would get it in. /be
This has been checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verifying
Status: RESOLVED → VERIFIED
closing
Status: VERIFIED → CLOSED
It is not proper QA procedure to mark bugs CLOSED. Reopening to mark verified instead.
Status: CLOSED → REOPENED
Resolution: FIXED → ---
Bugs are not to be closed until Mozilla 1.0. Reresolving and reverifying.
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
And verifying.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.