Closed Bug 1081180 Opened 10 years ago Closed 10 years ago

Build error: CodeGenerator.cpp:1309: error: undefined reference to 'JSInlineString::MAX_LENGTH_TWO_BYTE'

Categories

(Firefox for Android Graveyard :: General, defect)

33 Branch
All
Android
defect
Not set
normal

Tracking

(firefox35 fixed, firefox36 fixed)

RESOLVED FIXED
Firefox 36
Tracking Status
firefox35 --- fixed
firefox36 --- fixed

People

(Reporter: garvan, Assigned: bhackett1024)

Details

Attachments

(2 files, 1 obsolete file)

Forked from https://bugzilla.mozilla.org/show_bug.cgi?id=1068209 comment 14 The build error is: js/src/jit/CodeGenerator.cpp:1309: error: undefined reference to 'JSFatInlineString::MAX_LENGTH_LATIN1' js/src/jit/CodeGenerator.cpp:1309: error: undefined reference to 'JSFatInlineString::MAX_LENGTH_TWO_BYTE' js/src/jit/CodeGenerator.cpp:1309: error: undefined reference to 'JSInlineString::MAX_LENGTH_LATIN1' js/src/jit/CodeGenerator.cpp:1309: error: undefined reference to 'JSInlineString::MAX_LENGTH_TWO_BYTE' See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1001708 Link error due to statics + ternary operator when building fennec http://stackoverflow.com/questions/5446005/why-dont-static-member-variables-play-well-with-the-ternary-operator
Attached patch bug1068209.patch (obsolete) — Splinter Review
Changed ternary to if-statements
Attachment #8503239 - Flags: review?(lucasr.at.mozilla)
Attached patch alternateSplinter Review
This patch fits in better sylistically and is easier to read, does this fix the problem for you?
Flags: needinfo?(gkeeley)
Attachment #8503239 - Attachment is obsolete: true
Attachment #8503239 - Flags: review?(lucasr.at.mozilla)
Flags: needinfo?(gkeeley)
Comment on attachment 8503247 [details] [diff] [review] alternate Review of attachment 8503247 [details] [diff] [review]: ----------------------------------------------------------------- Compiles, looks good
Attachment #8503247 - Flags: review+
Can confirm that this fixes my build. Thanks!
Can this get committed?
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Assignee: rnewman → bhackett1024
OS: Mac OS X → Android
Hardware: x86 → All
Comment on attachment 8505575 [details] [diff] [review] Patch for landing. Tree is closed, otherwise I'd land this. Instead, here, have a correctly formatted patch.
Attachment #8505575 - Flags: review+
Attachment #8505575 - Flags: checkin?
Garvan, does this need uplift?
Keywords: checkin-needed
For building Fennec Aurora on OS X, yes an uplift is needed.
Flag for uplift when this goes green, Garvan.
Keywords: checkin-needed
Attachment #8505575 - Flags: checkin? → checkin+
Richard, builds are green: https://treeherder.mozilla.org/ui/#/jobs?repo=fx-team&revision=f4a100d16452 [Tracking Requested - why for this release]: For compiling Fennec 35 on OS X, without this syntax change, there is a build error.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 36
Attachment #8505575 - Flags: approval-mozilla-aurora?
Attachment #8505575 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: