[LLVMbugs] [Bug 178] NEW: Stacker does not handle 64 bit pointers on Solaris

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Fri Dec 12 12:14:18 PST 2003


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=178

           Summary: Stacker does not handle 64 bit pointers on Solaris
           Product: Projects
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Stacker
        AssignedTo: rspencer at x10sys.com
        ReportedBy: criswell at uiuc.edu


The following error occurs when compiling stacker on SparcV9:

/home/vadve/criswell/llvm/projects/Stacker/lib/runtime/stacker_rt.c: In function
`main':
/home/vadve/criswell/llvm/projects/Stacker/lib/runtime/stacker_rt.c:58: warning:
cast from pointer to integer of different size

Examination of the source code shows that a stack is an array of integers (32
bit).  The code attempts to place a pointer (64 bit) to the command line
arguments on this stack.

The code needs to be revised to handle 32 and 64 bit values properly.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list