Last Comment Bug 875666 - jsnativestack.cpp fails to build on DragonFly
: jsnativestack.cpp fails to build on DragonFly
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Other
-- normal (vote)
: mozilla24
Assigned To: François Tigeot
: Jason Orendorff [:jorendorff]
Depends on:
  Show dependency treegraph
Reported: 2013-05-23 23:32 PDT by François Tigeot
Modified: 2013-05-25 21:13 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch-Fix_jsnativestack.cpp_compilation_on_DragonFly.txt (740 bytes, patch)
2013-05-23 23:32 PDT, François Tigeot
luke: review+
Details | Diff | Splinter Review

Description User image François Tigeot 2013-05-23 23:32:53 PDT
Created attachment 753642 [details] [diff] [review]

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.
Comment 1 User image Luke Wagner [:luke] 2013-05-24 07:49:17 PDT
Comment on attachment 753642 [details] [diff] [review]

Comment 3 User image Phil Ringnalda (:philor) 2013-05-25 21:13:07 PDT

Note You need to log in before you can comment on or make changes to this bug.