Closed Bug 1709654 Opened 3 years ago Closed 3 years ago

Update for NetBSD configuration

Categories

(NSS :: Build, enhancement, P5)

3.64
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wiz, Assigned: rrelyea)

Details

(Whiteboard: [nss-nofx])

Attachments

(1 file, 1 obsolete file)

Attached file patch-nss_coreconf_NetBSD.mk (obsolete) —

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

In the NetBSD configuration, the symbol hiding flags are not defined. This leads to conflicts when openssl and nss are linked into the same binary.
For a longer discussion on the topic, see
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/Al0Pt0zhARE

Actual results:

The nss symbols are not hidden.

Expected results:

The nss symbols should be hidden.
I'll attach a patch to fix this, making the config more similar to the OpenBSD one.
The patch also fixes the configuration for arm and arm64, and removes support for a.out, which has not been supported in NetBSD for over 10 years now.

Assignee: nobody → rrelyea
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Whiteboard: [nss-nofx]
Target Milestone: --- → 3.65
Severity: -- → N/A
Type: defect → enhancement
Priority: -- → P5

Thomas, can you attach the file as a patch (probably the easiest way is to make it have the extention .patch). Then Bugzilla will create approval flags which I can turn on.
thanks,
bob

Same patch, different extension and file type.

Attachment #9220403 - Attachment is obsolete: true
Comment on attachment 9221412 [details] [diff] [review]
patch-nss_coreconf_NetBSD.mk.patch

Review of attachment 9221412 [details] [diff] [review]:
-----------------------------------------------------------------

These changes are all reasonable, and are submitted by the NETBSD upstream maintainer. The changes are isolated in the NETBSD only header file.
Attachment #9221412 - Flags: review+

Can this bug be closed?

Flags: needinfo?(bbeurdouche)

Yes, thank you!

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(bbeurdouche)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: