Closed Bug 1642146 Opened 5 years ago Closed 5 years ago

./nss/lib/freebl/deprecated/seed.c:531: undefined reference to `PORT_ZAlloc_stub'

Categories

(NSS :: Build, defect, P1)

3.53

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glandium, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

3.53 fails to build (with the make build system) with:

/usr/bin/ld: OBJS/Linux_SINGLE_SHLIB/deprecated/seed.o: in function `SEED_AllocateContext':
./nss/lib/freebl/deprecated/seed.c:531: undefined reference to `PORT_ZAlloc_stub'
/usr/bin/ld: OBJS/Linux_SINGLE_SHLIB/deprecated/seed.o: in function `SEED_InitContext':
./nss/lib/freebl/deprecated/seed.c:559: undefined reference to `PORT_SetError_stub'
/usr/bin/ld: OBJS/Linux_SINGLE_SHLIB/deprecated/seed.o: in function `SEED_CreateContext':
./nss/lib/freebl/deprecated/seed.c:570: undefined reference to `PORT_ZAlloc_stub'
/usr/bin/ld: ./nss/lib/freebl/deprecated/seed.c:575: undefined reference to `PORT_ZFree_stub'
/usr/bin/ld: OBJS/Linux_SINGLE_SHLIB/deprecated/seed.o: in function `SEED_DestroyContext':
./nss/lib/freebl/deprecated/seed.c:589: undefined reference to `PORT_Free_stub'
/usr/bin/ld: OBJS/Linux_SINGLE_SHLIB/deprecated/seed.o: in function `SEED_Encrypt':
./nss/lib/freebl/deprecated/seed.c:626: undefined reference to `PORT_SetError_stub'
/usr/bin/ld: OBJS/Linux_SINGLE_SHLIB/deprecated/seed.o: in function `SEED_Decrypt':
./nss/lib/freebl/deprecated/seed.c:666: undefined reference to `PORT_SetError_stub'
collect2: error: ld returned 1 exit status

Bug 1622033 moved seed.c from freeblpriv3 to freebl3, this is why linkage fails. In the gyp backend, it's still in freeblpriv3.

Regressed by: 1622033
Has Regression Range: --- → yes
Flags: needinfo?(bbeurdouche)
Severity: -- → S3
Priority: -- → P1

Oh right, Thanks for the patch @Mike!
The ‘beurdouche’ account on Phabricator can’t review the patch.
Could you please change the reviewer to ‘bbeurdouche’ please?

Flags: needinfo?(bbeurdouche) → needinfo?(mh+mozilla)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.54
Flags: needinfo?(mh+mozilla)
Assignee: nobody → mh+mozilla
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: