Closed
Bug 451150
Opened 16 years ago
Closed 16 years ago
Build failed on solaris with sunstudio after the changset 606. (For bug 450126)
Categories
(Tamarin Graveyard :: Build Config, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: leon.sha, Assigned: leon.sha)
Details
Attachments
(3 files, 2 obsolete files)
9.62 KB,
text/plain
|
Details | |
5.26 KB,
patch
|
stejohns
:
review+
|
Details | Diff | Splinter Review |
5.64 KB,
patch
|
leon.sha
:
review+
|
Details | Diff | Splinter Review |
Build failed on following files.
buildin.cpp
SparcAssembler.cpp
NamespaceClass.cpp
StringClass.cpp
Comment 2•16 years ago
|
||
Comment on attachment 334410 [details] [diff] [review]
patch
I really want to eliminate NATIVE_METHOD2, as Solaris is the only place it's needed. Can you explain why we can't have NATIVE_METHOD do the right thing?
Attachment #334410 -
Flags: review?(stejohns) → review-
Using SunStudio on solaris, it is very hard to cast from one function pointer to another function pointer, especially one function is a const function. I'll try to find another way to do this.
Comment 4•16 years ago
|
||
Would it work to use reinterpret_cast<> everywhere? Or use a FUNC_CAST like you did in NativeFunction.h?
(In reply to comment #4)
> Would it work to use reinterpret_cast<> everywhere? Or use a FUNC_CAST like you
> did in NativeFunction.h?
>
reinterpret_cast can not cast const functions. Maybe I can cast off const first and use reinterpret_cast. Currently I can not try this, I'll find a better solution later. Also if I can do this, I prefer using FUNC_CAST since it will not modify other platforms.
Attachment #334410 -
Attachment is obsolete: true
Attachment #346405 -
Flags: review?(stejohns)
This is a patch which can make compiler happy. It is not a real patch, just to point out the problem.
Updated•16 years ago
|
Attachment #346405 -
Flags: review?(stejohns) → review+
Comment 8•16 years ago
|
||
Oh, joy.... yeah, recent changes in the autogenerated stuff broke this, and I didn’t notice because most of our mainstream compilers don’t have this issue.
hacking builtin.cpp directly is suboptimal, as it’s auto-generated... let me see if I can produce a proper fix in nativegen.py quickly.
Comment 9•16 years ago
|
||
I think this will do the trick -- please try it out and let me know.
Attachment #346410 -
Attachment is obsolete: true
Attachment #347423 -
Flags: review?(leon.sha)
Assignee | ||
Comment 10•16 years ago
|
||
Comment on attachment 347423 [details] [diff] [review]
patch for string/namespace thunks
This patch works good for sunstudio.
Attachment #347423 -
Flags: review?(leon.sha) → review+
Comment 11•16 years ago
|
||
pushed to redux as changeset: 1079:9040b560dedc
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 12•15 years ago
|
||
Resolved fixed engineering / work item that has been pushed. Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•