Closed Bug 463191 Opened 16 years ago Closed 16 years ago

Sunstudion assertion happenn when compiling core/AbcEnv.cpp.

Categories

(Tamarin Graveyard :: Build Config, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME
flash10.1

People

(Reporter: leon.sha, Assigned: edwsmith)

References

Details

Attachments

(1 file, 4 obsolete files)

Attached patch temporary patch (obsolete) — Splinter Review
CC -o core/AbcEnv.o -DAVMPLUS_CDECL -DAVMPLUS_SPARC -DMMGC_INTERIOR_PTRS -DUNIX -DSOLARIS -DSOFT_ASSERTS -DAVMPLUS_UNIX -xO5 -I/export/home/leon.sha/uild/tamarin-redux -I/export/home/leon.sha/uild/tamarin-redux/MMgc -I/export/home/leon.sha/uild/tamarin-redux/core -I/export/home/leon.sha/uild/tamarin-redux/codegen -I/export/home/leon.sha/uild/tamarin-redux/pcre -c core/AbcEnv.i "/export/home/leon.sha/uild/tamarin-redux/core/BitSet.h", line 97: Warning: bits hides avmplus::BitSet::bits. "/export/home/leon.sha/uild/tamarin-redux/core/BitSet.h", line 136: Warning: bits hides avmplus::BitSet::bits. "/export/home/leon.sha/uild/tamarin-redux/core/BitSet.h", line 157: Warning: bits hides avmplus::BitSet::bits. >> Assertion: (../lnk/tmplmatchargs.cc, line 193) while processing core/AbcEnv.i at line 8006. make: *** [core/AbcEnv.o] Error 1 This is a bug in sun compiler when it parse template. I have attached a temporary in case someone want to build tamarin-redux on solaris. We will wait compiler to be fixed and will not try to push this patch in.
Yeah, I'd prefer not to push this in if a fix for the Sun compiler is forthcoming... AFAIK all other compilers of interest can correctly handle this at present. (Good to have the patch handy for folks who need it, though.)
Is a fix for the Sun compiler forthcoming? Is there an eta?
Attached patch updated patch (obsolete) — Splinter Review
Attachment #346424 - Attachment is obsolete: true
Updated patch (347705) does fix the compilation issues on Solaris with the redux tip 1090.
Previous comment (#4) was before I checked the debugger builds... There is an assertion from the compiler happening in the debugger builds (release_debugger and debug_debugger): ../configure.py --enable-shell --enable-debugger ../configure.py --enable-shell --enable-debug --enable-debugger >> Assertion: (../lnk/tmplmatchargs.cc, line 193) while processing MMgc/GC.i at line 8407. make: *** [MMgc/GC.o] Error 1 http://tamarin-builds.mozilla.org/sandbox/builders/solaris-sparc/builds/3/steps/Build_Release_Debugger/logs/stdio
Attached patch patch v 3 (obsolete) — Splinter Review
Updated patch. I hate this sunstudio bug.
Attachment #347705 - Attachment is obsolete: true
Attached patch patch v4 (obsolete) — Splinter Review
Attachment #349347 - Attachment is obsolete: true
Depends on: 469804
It might make sense to roll this patch in to Tamarin until a compiler fix (or alternate compiler) is found for Solaris ... there's no downside to it in terms of code size or complexity.
Assignee: nobody → edwsmith
Status: NEW → ASSIGNED
Flags: flashplayer-qrb+
Target Milestone: --- → flash10.x
Attached patch patch v5 Splinter Review
Attachment #352997 - Attachment is obsolete: true
adding triage+. We heard in late Jan 2009 fix may be rolled into sun studio compiler. if so waiting for compiler fix is preferable.
Flags: flashplayer-triage+
Blocks: 458060
Sun patch 124863-09 fixed this bug. Mark as resolved.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: