Bug 35168

Summary: svga build fails with Sun Studio
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: mesa-dev
Status: RESOLVED WONTFIX QA Contact:
Severity: blocker    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2011-03-09 21:11:13 UTC
mesa: 9b7f3776359640d452697f3a487a345820abebf0 (master)

$ gmake
[...]
cc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I../../../../src/gallium/drivers/svga/include -g -KPIC -DPTHREADS -DSVR4 -DHAVE_POSIX_MEMALIGN -DUSE_XSHM -std=gnu99 -fvisibility=hidden -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H svgadump/svga_shader_dump.c -o svgadump/svga_shader_dump.o
cc: Warning: Option -d=gnu99 passed to ld, if ld is invoked, ignored otherwise
cc: Warning: Option -fvisibility=hidden passed to ld, if ld is invoked, ignored otherwise
"../../../../src/gallium/include/pipe/p_compiler.h", line 257: #warning: "Unsupported compiler"
"../../../../src/gallium/drivers/svga/include/svga_reg.h", line 306: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga_reg.h", line 305: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga_reg.h", line 327: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga_reg.h", line 326: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 274: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 437: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 454: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 598: warning: enumerator value overflows INT_MAX (2147483647)
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 605: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 854: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 1033: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 1032: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 1236: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 1488: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_reg.h", line 1623: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 68: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 67: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 352: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 357: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 351: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 376: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 375: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 396: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 395: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 417: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 424: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 416: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 415: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 414: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 445: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 442: warning: anonymous struct declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 441: warning: anonymous union declaration
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 516: improper member use: type_upper
"../../../../src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 516: improper member use: type_lower
"svgadump/svga_shader_dump.c", line 199: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 495: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 510: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 511: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 585: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 586: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 592: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 638: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 653: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 656: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 685: warning: integer overflow detected: op "<<"
"svgadump/svga_shader_dump.c", line 686: warning: integer overflow detected: op "<<"
cc: acomp failed for svgadump/svga_shader_dump.c


$ scons
[...]
  Compiling src/gallium/drivers/svga/svga_draw.c ...
"src/gallium/include/pipe/p_compiler.h", line 257: #warning: "Unsupported compiler"
"src/gallium/drivers/svga/include/svga_reg.h", line 306: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga_reg.h", line 305: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga_reg.h", line 327: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga_reg.h", line 326: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 274: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 437: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 454: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 598: warning: enumerator value overflows INT_MAX (2147483647)
"src/gallium/drivers/svga/include/svga3d_reg.h", line 605: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 854: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 1033: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 1032: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 1236: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 1488: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_reg.h", line 1623: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 68: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 67: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 352: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 357: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 351: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 376: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 375: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 396: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 395: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 417: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 424: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 416: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 415: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 414: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 445: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 442: warning: anonymous struct declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 441: warning: anonymous union declaration
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 516: improper member use: type_upper
"src/gallium/drivers/svga/include/svga3d_shaderdefs.h", line 516: improper member use: type_lower
"src/gallium/drivers/svga/svga_resource_texture.h", line 40: warning: useless declaration
"src/gallium/drivers/svga/svga_surface.h", line 40: warning: useless declaration
cc: acomp failed for src/gallium/drivers/svga/svga_draw.c

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.