Closed
Bug 550666
Opened 15 years ago
Closed 15 years ago
Builds broken in memory/mozalloc/mozalloc.cpp
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: mpk, Assigned: mpk)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
888 bytes,
patch
|
Details | Diff | Splinter Review |
Since the fix for bug 441324 landed, builds for all mozilla apps on FreeBSD
(NetBSD and OpenBSD probably too) fail quite early with the following error:
...
gmake[6]: Entering directory `/work/build/browser/memory/mozalloc'
mozalloc.cpp
mozalloc_oom.cpp
/work/src/mozilla/memory/mozalloc/mozalloc.cpp:
In function 'void* moz_xvalloc(size_t)':
/work/src/mozilla/memory/mozalloc/mozalloc.cpp:196:
error: 'valloc' was not declared in this scope
/work/src/mozilla/memory/mozalloc/mozalloc.cpp:
In function 'void* moz_valloc(size_t)':
/work/src/mozilla/memory/mozalloc/mozalloc.cpp:206:
error: 'valloc' was not declared in this scope
gmake[6]: *** [mozalloc.o] Error 1
gmake[6]: Leaving directory `/work/build/browser/memory/mozalloc'
...
*BSD defines valloc in unistd.h (see http://man.freebsd.org/valloc)
Assignee | ||
Comment 1•15 years ago
|
||
Unconditionally including unistd.h would cause problems on Windows.
This patch includes <unistd.h> only if XP_UNIX is defined.
Updated•15 years ago
|
Flags: in-testsuite-
Keywords: regression
Assignee | ||
Updated•15 years ago
|
Attachment #430826 -
Flags: review?(benjamin)
Updated•15 years ago
|
Attachment #430826 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Unfortunately it appears this has bitrotted. Can you update the patch Marco?
Keywords: checkin-needed
Assignee | ||
Comment 4•15 years ago
|
||
Oops, it looks like rev bbbb2d668d0d (bug 550401) touched that file last thursday.
Attachment #430826 -
Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in
before you can comment on or make changes to this bug.
Description
•