Closed Bug 198462 Opened 21 years ago Closed 20 years ago

Get LDAP to build on OpenBSD

Categories

(Directory :: LDAP C SDK, defect)

x86
OpenBSD
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.7

People

(Reporter: timeless, Assigned: dmosedale)

References

()

Details

Attachments

(1 file, 1 obsolete file)

 
Attached patch patch (obsolete) — Splinter Review
Attachment #117894 - Flags: review?(dmose)
Comment on attachment 117894 [details] [diff] [review]
patch

Patch looks OK to me. I assume c_r is no longer relevant (included by the
linker automatically or part of libc now?)
Attachment #117894 - Flags: review?(dmose) → review+
Do you need this committed to the branch or just the trunk? I assume you need it
on the LDAP branch that is used by the Mozilla client
(ldapcsdk_50_client_branch) , which means we need a superreview.
Comment on attachment 117894 [details] [diff] [review]
patch

re c_r, cannings@math.ucalgary.ca?

yes at least where mozilla is using it, and i guess trunk so that when mozilla
moves to a new branch we don't have to ask again.

thanks
Attachment #117894 - Flags: superreview?(dmose)
Comment on attachment 117894 [details] [diff] [review]
patch

sr=dmose
Attachment #117894 - Flags: superreview?(dmose) → superreview+
yes libc_r has been superseded by libpthread. however it has come to my
attention that I should be using -pthread rather than -lpthread. I will try
recompiling and testing with -pthread, but it takes almost a day to do the build
before I test.

rich
Spam for bug 129472
QA Contact: nobody → nobody
This is a replacement patch for the initial patch. It runs very well and is the
"correct" way to use pthreads.

I think we can close this bug now.
Attachment #117894 - Attachment is obsolete: true
Comment on attachment 119353 [details] [diff] [review]
updated for -pthread rather than -lpthread

OK.
Attachment #119353 - Flags: review+
what needs to happen to get this into 1.4 beta?  superreview?
Comment on attachment 119353 [details] [diff] [review]
updated for -pthread rather than -lpthread

sr=dmose
Attachment #119353 - Flags: superreview+
Comment on attachment 119353 [details] [diff] [review]
updated for -pthread rather than -lpthread

this is a one-line patch to let LDAP build on OpenBSD... does not affect other
platforms. would be nice to get into 1.4beta.
Attachment #119353 - Flags: approval1.4b?
Comment on attachment 119353 [details] [diff] [review]
updated for -pthread rather than -lpthread

a=mkaply for 1.4b
Attachment #119353 - Flags: approval1.4b? → approval1.4b+
Checked in on ldapcsdk_50_client_branch

Checking in directory/c-sdk/ldap/libraries/libldap/Makefile.in;
/cvsroot/mozilla/directory/c-sdk/ldap/libraries/libldap/Makefile.in,v  <-- 
Makefile.in
new revision: 5.0.2.19; previous revision: 5.0.2.18
done

-> dmose for LDAP C-SDK Trunk checkin
Assignee: mcs → dmose
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.7
Checking in directory/c-sdk/ldap/libraries/libldap/Makefile.in;
/cvsroot/mozilla/directory/c-sdk/ldap/libraries/libldap/Makefile.in,v  <-- 
Makefile.in
new revision: 5.13; previous revision: 5.12
done

Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: