Closed
Bug 559696
Opened 15 years ago
Closed 7 years ago
Make sure Tamarin compiles and runs ok on GCC 4.5.0
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: edwsmith, Unassigned)
References
Details
Just released
http://gcc.gnu.org/gcc-4.5/changes.html.
This will be a tracker for any issues, or optimistically, will be closed soon as WORKSFORME.
Reporter | ||
Updated•15 years ago
|
Target Milestone: --- → Future
Comment 1•15 years ago
|
||
Might want to check out gcc 4.4 too - didn't work last time I tried. (Comes standard with Ubuntu 9.10 I think.)
Reporter | ||
Comment 2•15 years ago
|
||
good to know. i build with gcc 4.4 on ubuntu-64 9.10 fairly often, but that's just a data point. haven't tried x86-32.
Reporter | ||
Comment 5•14 years ago
|
||
By the way, gcc 4.6.x is available now and there's at least one bug on tamarin with it.
Updated•14 years ago
|
Comment 6•13 years ago
|
||
I found a few compiling bugs having to do with setting a non-pointer to NULL; the pthread_t and uint32_t types were the culprits. The bugs were at:
eval/eval-cogen.cpp line 312
extensions/SelftestExec.cpp line 2273
MMgc/GC.cpp line 3770
MMgc/PageMap.cpp line 433
I believe I also had to manually install utils/asc.jar .
I'm using Linux 2.6.34 64-bit (openSUSE) and gcc 4.5.0 .
Comment 7•13 years ago
|
||
I fixed the bits in eval-cogen.cpp and PageMap.cpp (for starters).
Comment 8•13 years ago
|
||
Also the one in SelftestExec.cpp.
Comment 9•13 years ago
|
||
changeset: 6757:66ce845cc327
user: Lars T Hansen <lhansen@adobe.com>
summary: For 559696: Fixed another NULL/0 confusion (r=lhansen)
http://hg.mozilla.org/tamarin-redux/rev/66ce845cc327
Comment 10•13 years ago
|
||
Incidentally, we seem to have some problems on GCC 4.6.x (i.e. the successor to 4.5, which is the subject of this ticket) for x <= 2, due to a GCC bug with our offsetof usage:
../core/CodegenLIR.cpp:3735:108: error: cannot apply ‘offsetof’ to a non constant address
../core/CodegenLIR.cpp:3739:108: error: cannot apply ‘offsetof’ to a non constant address
../core/CodegenLIR.cpp:3743:105: error: cannot apply ‘offsetof’ to a non constant address
../core/CodegenLIR.cpp:3747:106: error: cannot apply ‘offsetof’ to a non constant address
[etc...]
This is due to the following GCC bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50608
So until a working version of GCC 4.6 is deployed, we should target 4.5 and below.
Comment 11•13 years ago
|
||
gcc bug Bug 50608 has been fixed for 4.6
Do we still have problems on 4.5?
Comment 12•7 years ago
|
||
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Comment 13•7 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•