OpenSolaris

Printable Version Enter a New Search
Bug ID 6309383
Synopsis gcc and aoutexec don't get along
State 10-Fix Delivered (Fix available in build)
Category:Subcategory bincompat:kernel
Keywords oss-bite-size | tonic-gcc
Sponsor
Submitter
Responsible Engineer Kenjiro Tsuji
Reported Against
Duplicate Of
Introduced In solaris_2.0
Commit to Fix snv_27
Fixed In snv_27
Release Fixed solaris_nevada(snv_27)
Related Bugs
Submit Date 11-August-2005
Last Update Date 9-November-2005
Description
common/exec/aout/aout.c:334 casts from an integer type to caddr_t.  The
standards do not specify whether this causes sign extension; unlike
Studio, gcc sign-extends and issues a warning.  This can be fixed by
an intermediate cast to uintptr_t, which suppresses both the extension
and the warning.

[oss-bite-size]
Work Around
N/A
Comments
N/A