OpenSolaris

Printable Version Enter a New Search
Bug ID 6469902
Synopsis BrandZ and GCC don't get along
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:brandz
Keywords
Responsible Engineer Nils Nieuwejaar
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_49
Fixed In snv_49
Release Fixed solaris_nevada(snv_49) , solaris_10u4(s10u4_01) (Bug ID:2144873)
Related Bugs 6409350
Submit Date 12-September-2006
Last Update Date 19-January-2007
Description
BrandZ cleanly survives the gcc "shadow build", but has warnings on a
real gcc build.

../../i86pc/ml/syscall_asm.s:364: Warning: using `%bx' instead of `%ebx' due to
`w' suffix
../../i86pc/ml/syscall_asm.s:364: Warning: using `%bx' instead of `%ebx' due to
`w' suffix
../../i86pc/ml/syscall_asm.s:364: Warning: using `%bx' instead of `%ebx' due to
`w' suffix
../../i86pc/ml/syscall_asm.s:543: Warning: using `%bx' instead of `%ebx' due to
`w' suffix
../../i86pc/ml/syscall_asm.s:543: Warning: using `%bx' instead of `%ebx' due to
`w' suffix
../../i86pc/ml/syscall_asm.s:543: Warning: using `%bx' instead of `%ebx' due to
`w' suffix
../../i86pc/ml/syscall_asm.s:645: Warning: using `%bx' instead of `%ebx' due to
`w' suffix
../../i86pc/ml/syscall_asm.s:645: Warning: using `%bx' instead of `%ebx' due to
`w' suffix
../../i86pc/ml/syscall_asm.s:645: Warning: using `%bx' instead of `%ebx' due to
`w' suffix

lx_handler.s:198: Warning: using `%bx' instead of `%ebx' due to `w' suffix
lx_handler.s:243: Warning: using `%ax' instead of `%eax' due to `w' suffix

We didn't see these earlier because we use /usr/ccs/bin/as for the shadow build.
gas is only used for the "real" gcc build.
One more warning:
lx_support.c:409: warning: control reaches end of non-void function
lx_support.c:409: warning: control reaches end of non-void function
Work Around
N/A
Comments
N/A