Closed Bug 671521 Opened 13 years ago Closed 5 months ago

Problems building NSS 3.12.3 with NSPR 4.7.5 on AIX 7.1 in 64-bit mode.

Categories

(NSPR :: NSPR, defect)

4.10
Other
AIX
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: veera.narkedimilli, Unassigned)

Details

Attachments

(1 file)

I am trying to build NSS 3.12.3.1 with NSPR 4.7.5 on AIX 7.1 in 64-bit mode.

I have followed these steps

1. Downloaded the source from 
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_3_1_RTM/src/nss-3.12.3.1-with-nspr-4.7.5.tar.gz
2. Extracted them to /LDAP
3. gmake version is 3.80, 
    Compiler is IBM XL C/C++ 11.1.0.0
4. setenv BUILD_OPT 1
    setenv USE_64 1
5. >cd /LDAP/nss-3.12.3.1/mozilla/security/nss
6. >gmake nss_build_all >& nss_build_all.log


I get the following Duplicate symbol warnings in the creation of .so files

ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-224 WARNING: Duplicate symbol: .memcpy
	The following duplicates were found:
 Symbol                    Source-File(Object) OR Import-File{Shared-object}
 ------------------------- -------------------------------------------------
 .bcopy                    {../../../../dist/AIX7.1_64_OPT.OBJ/lib/libnspr4.so}
    ** Duplicate **        moveeq.s(/usr/lib/libc.a[moveeq_64.o])
ld: 0711-224 WARNING: Duplicate symbol: .memcpy
 .memcpy                   {../../../../dist/AIX7.1_64_OPT.OBJ/lib/libnspr4.so}
    ** Duplicate **        moveeq.s(/usr/lib/libc.a[moveeq_64.o])


I should not get these Duplicate symbol warnings.

Suppose if I unset BUILD_OPT, then .memcpy duplicate symbol warning is gone. But still facing .bcopy duplicate symbol warning.
Please let us know how to eliminate these warnings.
Group: core-security
Ashwani, did you ever resolve this problem ?
Assignee: nobody → wtc
Component: Build → NSPR
Product: NSS → NSPR
Version: 3.12.3.1 → 4.10
This may be related to bug 200561. I think the command we used to
build libnspr4.so may be wrong:

/usr/bin/ld -brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib -binitfini::_PR_Fini -o libnspr4.so ./prvrsion.o io/./prfdcach.o ... md/unix/./uxwrap.o md/unix/./aix.o   -lodm -lcfg -lpthreads -ldl -lC_r -lC -lc_r -lm /usr/lib/libc.a

I suspect the problematic one is /usr/lib/libc.a. We should also
be able to omit -lC_r -lC.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: wtc → nobody
Status: ASSIGNED → NEW

In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.

Severity: blocker → --

The severity field is not set for this bug.
:KaiE, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(kaie)

We no longer look at AIX

Severity: -- → S3
Status: NEW → RESOLVED
Closed: 5 months ago
Flags: needinfo?(kaie)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: