nanojit build fails on FreeBSD

RESOLVED FIXED

Status

()

RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: reg, Unassigned)

Tracking

Trunk
x86
FreeBSD
Points:
---
Bug Flags:
in-testsuite -
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
Created attachment 335620 [details] [diff] [review]
Include <unistd.h> on FreeBSD

Compile fails due a missing declaration of valloc(), which is defined in <unistd.h> on FreeBSD.  The attached patch fixes this, although this might not be the right fix... Should it be using jemalloc?
Attachment #335620 - Flags: superreview?(brendan)
Attachment #335620 - Flags: review?(brendan)
Comment on attachment 335620 [details] [diff] [review]
Include <unistd.h> on FreeBSD

We don't require sr in js/src.

Deferring to danderson on js/src/nanojit patches.

/be
Attachment #335620 - Flags: superreview?(brendan)
Attachment #335620 - Flags: review?(danderson)
Attachment #335620 - Flags: review?(brendan)
Attachment #335620 - Flags: review?(danderson) → review+
Pushed fix to tracemonkey repo as changeset 4275d8069411; thanks!
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED

Updated

10 years ago
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.