Open
Bug 1231823
Opened 9 years ago
Updated 2 years ago
uclinux may not have dlfcn.h
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: andrew.cagney, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
1.61 KB,
patch
|
andrew.cagney
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 Build ID: 20151102093849 Steps to reproduce: uClinux (a linux variant) may not have dlfcn.h (and the associated dlopen() et.al. functions). This patch handles this. It's intended to be minimal - just modifying linux. Expected results: nspr cross compiles for a uclinux target that doesn't have dhfcn.h.
Updated•9 years ago
|
Attachment #8697401 -
Flags: superreview?(ted)
Attachment #8697401 -
Flags: review?(mh+mozilla)
Comment 1•9 years ago
|
||
Comment on attachment 8697401 [details] [diff] [review] handle no dlfcn.h on linux Review of attachment 8697401 [details] [diff] [review]: ----------------------------------------------------------------- ::: nspr-4.11/nspr/pr/src/pthreads/ptthread.c.orig @@ +19,4 @@ > #include <unistd.h> > #include <string.h> > #include <signal.h> > +#ifdef HAVE_DLFCN_H Seems to me you want USE_DLFCN here. @@ +1766,4 @@ > int (*dynamic_pthread_setname_np)(pthread_t, const char*); > #endif > > +#if defined(HAVE_DLL) and here.
Attachment #8697401 -
Flags: review?(mh+mozilla)
Reporter | ||
Comment 2•9 years ago
|
||
Per requested tweaks.
Attachment #8697401 -
Attachment is obsolete: true
Attachment #8697401 -
Flags: superreview?(ted)
Attachment #8699464 -
Flags: review+
Updated•5 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 3•2 years ago
|
||
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
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•