Last Comment Bug 875666 - jsnativestack.cpp fails to build on DragonFly
: jsnativestack.cpp fails to build on DragonFly
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Other
: -- normal (vote)
: mozilla24
Assigned To: François Tigeot
:
Mentors:
Depends on:
Blocks:
  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:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


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

Description François Tigeot 2013-05-23 23:32:53 PDT
Created attachment 753642 [details] [diff] [review]
patch-Fix_jsnativestack.cpp_compilation_on_DragonFly.txt

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

Thanks!
Comment 3 Phil Ringnalda (:philor) 2013-05-25 21:13:07 PDT
https://hg.mozilla.org/mozilla-central/rev/ff21928b1975

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