Closed
Bug 612439
Opened 14 years ago
Closed 14 years ago
Linux-deep compile failure in nanojit
Categories
(Tamarin Graveyard :: Baseline JIT (CodegenLIR), defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
Q3 11 - Serrano
People
(Reporter: jsudduth, Assigned: rreitmai)
Details
Attachments
(1 file)
908 bytes,
patch
|
rreitmai
:
review+
|
Details | Diff | Splinter Review |
There is a compile failure in linux-deep: /home/build/buildbot/tamarin-redux/linux-deep/repo/core/AvmCore.cpp: In static member function ‘static int avmplus::AvmCore::integer_d(double)’: /home/build/buildbot/tamarin-redux/linux-deep/repo/core/AvmCore.cpp:4179: error: comparison between signed and unsigned integer expressions /home/build/buildbot/tamarin-redux/linux-deep/repo/core/../nanojit/Nativei386.h: At global scope: /home/build/buildbot/tamarin-redux/linux-deep/repo/core/../nanojit/Nativei386.h:167: error: ‘nanojit::ScratchRegs’ defined but not used /home/build/buildbot/tamarin-redux/linux-deep/repo/core/../nanojit/Nativei386.h:170: error: ‘nanojit::AllowableByteRegs’ defined but not used There are more logs here; http://tamarin-builds.mozilla.org/tamarin-redux/builders/linux-deep/builds/19
Reporter | ||
Updated•14 years ago
|
Flags: flashplayer-qrb?
Comment 1•14 years ago
|
||
is this because we're using different warnings or a different version of GCC? even the main linux build could catch these, maybe. AvmCore.cpp:4179 is int intval = ... if (intval != 0x8000000) so a simple cast would easily fix it. hg annotate points to this changeset: changeset: 5494:c9c586e0b08d user: Werner Sharp (wsharp@adobe.com) date: Thu Nov 04 12:13:53 2010 -0700 summary: bug 608801. remove real2int. (r=stejohns)
Comment 2•14 years ago
|
||
(In reply to comment #1) > is this because we're using different warnings or a different version of GCC? > even the main linux build could catch these, maybe. Wonder if this is a new warning in 4.3.3? The linux32 main build is using 4.2.1 and the main linux64 build is using 4.3.2
Comment 3•14 years ago
|
||
Possibly. These should be trivial fixes - the best thing to do is for the person with access to the target machine to create a patch and post for review. As followup, can the main build to be updated to the newest/strictest GCC, so we catch trivial problems sooner?
Reporter | ||
Comment 5•14 years ago
|
||
Turns out the AvmCore.cpp part is easy to fix but the Nativei386.h part will require effort from someone familiar with nanojit. Reassigning to Rick. As for the question in comment 3 about updating the main builders please see bug 614059.
Assignee: jsudduth → rreitmai
Reporter | ||
Updated•14 years ago
|
Flags: flashplayer-qrb?
Updated•14 years ago
|
Flags: flashplayer-triage+
Flags: flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.x - Serrano
Updated•14 years ago
|
Status: NEW → ASSIGNED
Comment 6•14 years ago
|
||
Rick, there is talk of a merge to mainline this week. I assume complication failures are blockers...
Assignee | ||
Comment 7•14 years ago
|
||
What is blocking? I see a failure with 'no-jit' configuration. As none of our products use this config does this really block anything? I agree it would be nice to clean up eventually.
Comment 8•14 years ago
|
||
There are two other failing steps, compiling and testing: ReleaseDebugger-air Release-system-malloc All failing in same fashion.
Comment 9•14 years ago
|
||
Attachment #496132 -
Flags: review?
Updated•14 years ago
|
Attachment #496132 -
Flags: review? → review?(rreitmai)
Comment 10•14 years ago
|
||
Comment from Rick via email:
>>>It looks like this requires not only fixes in tamarin but also a nanojit merge meaning that its most likely not going to be fixed and merged by tomorrow.
Why is a high priority, it looks like these are builds that exclude the JIT?
Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 496132 [details] [diff] [review] add a cast to fix compiler warning r+ should be int32_t cast not int.
Attachment #496132 -
Flags: review?(rreitmai) → review+
Assignee | ||
Comment 12•14 years ago
|
||
(In reply to comment #11) > Comment on attachment 496132 [details] [diff] [review] > add a cast to fix compiler warning > > r+ should be int32_t cast not int. I take back the nit, the cast should be int, to match the type of intval.
Comment 13•14 years ago
|
||
changeset: 5645:e2fdf6655530 user: Brent Baker <brbaker@adobe.com> summary: Bug 612439: fix compilation issues with a cast (r=rreitmai) http://hg.mozilla.org/tamarin-redux/rev/e2fdf6655530
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Flags: flashplayer-bug+
You need to log in
before you can comment on or make changes to this bug.
Description
•