Closed
Bug 310539
Opened 20 years ago
Closed 20 years ago
Checkin for Bug 280769 broke AIX tinderbox
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: pkwarren, Assigned: igor)
References
Details
(Keywords: fixed-aviary1.0.8, fixed1.7.13, fixed1.8)
Attachments
(2 files)
|
678 bytes,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
|
1.13 KB,
patch
|
mrbkap
:
review+
brendan
:
superreview+
brendan
:
approval1.8b5+
|
Details | Diff | Splinter Review |
Here is the error from the tinderbox build:
"/home/tbox/sb/tinderbox/AIX_5.1_Clobber/mozilla/js/src/jsregexp.c", line 206.9:
1506-213 (S) Macro name ARG_MAX cannot be redefined.
gmake[4]: *** [jsregexp.o] Error 1
| Reporter | ||
Comment 1•20 years ago
|
||
The conflict appears to be in /usr/include/limits.h (linked to
/usr/include/sys/limits.h):
./sys/limits.h:#define ARG_MAX 24576
./limits.h:#define ARG_MAX 24576
I believe a simple:
#ifdef ARG_MAX
#undef ARG_MAX
#endif
in jsregexp.c will fix this issue.
| Reporter | ||
Updated•20 years ago
|
Severity: critical → major
| Reporter | ||
Comment 2•20 years ago
|
||
This fixes the issue.
Attachment #197965 -
Flags: superreview?(brendan)
Attachment #197965 -
Flags: review?(mrbkap)
Comment 3•20 years ago
|
||
Comment on attachment 197965 [details] [diff] [review]
Patch v1
It's too bad we need this :-/. r=mrbkap
Attachment #197965 -
Flags: review?(mrbkap) → review+
Comment 4•20 years ago
|
||
You're going to want to check this in on the branch as well.
Comment 5•20 years ago
|
||
Philip, only one review is needed in js/src (and brendan tends to rubber-stamp
these sorts of fixes anyway), so I think you can go ahead and check this in.
| Assignee | ||
Comment 6•20 years ago
|
||
ARG_MAX was used only to define OFFSET_MAX so the patch simply use in
OFFSET_OFF the definition ARG_MAX removing the latter.
Attachment #198154 -
Flags: review?(mrbkap)
Comment 7•20 years ago
|
||
Comment on attachment 198154 [details] [diff] [review]
No need for ARG_MAX
Yeah, I like this one better.
Attachment #198154 -
Flags: review?(mrbkap) → review+
Comment 8•20 years ago
|
||
Comment on attachment 198154 [details] [diff] [review]
No need for ARG_MAX
jsregexp.c should really use standard bytecode macros anyway. Some other time.
This should be checked into trunk and branch, it's a good porting fix.
/be
Attachment #198154 -
Flags: superreview+
Attachment #198154 -
Flags: approval1.8b5+
Updated•20 years ago
|
Assignee: general → igor.bukanov
Comment 9•20 years ago
|
||
Fix checked in on MOZILLA_1_8_BRANCH and trunk.
Updated•20 years ago
|
Flags: testcase-
| Reporter | ||
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
Comment 10•20 years ago
|
||
Nominating, needed if bug 280769 is taken
Flags: blocking1.7.13?
Flags: blocking-aviary1.0.8?
Updated•20 years ago
|
Flags: blocking1.7.13?
Flags: blocking1.7.13+
Flags: blocking-aviary1.0.8?
Flags: blocking-aviary1.0.8+
Comment 11•20 years ago
|
||
Fix incorporated into the backported patch for bug 280769
Keywords: fixed-aviary1.0.8,
fixed1.7.13
| Reporter | ||
Updated•20 years ago
|
Attachment #197965 -
Flags: superreview?(brendan)
You need to log in
before you can comment on or make changes to this bug.
Description
•