Closed Bug 875666 Opened 11 years ago Closed 11 years ago

jsnativestack.cpp fails to build on DragonFly

Categories

(Core :: JavaScript Engine, defect)

x86_64
Other
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: ftigeot, Assigned: ftigeot)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; DragonFly x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 (Beta/Release)
Build ID: 20130426134104

Steps to reproduce:

I tried to build libxul on DragonFly without support patches.


Actual results:

Compilation failed with this error:
/usr/obj/dports/www/libxul/work/mozilla-esr10/js/src/jsnativestack.cpp: In function 'void* js::GetNativeStackBaseImpl()':
/usr/obj/dports/www/libxul/work/mozilla-esr10/js/src/jsnativestack.cpp:156: error: 'pthread_getattr_np' was not declared in this scope



Expected results:

Compilation should have succeeded.

The attached patch fixes this particular build error.
Attachment #753642 - Flags: review?(luke)
Comment on attachment 753642 [details] [diff] [review]
patch-Fix_jsnativestack.cpp_compilation_on_DragonFly.txt

Thanks!
Attachment #753642 - Attachment is patch: true
Attachment #753642 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/ff21928b1975
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Assignee: general → ftigeot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: