Skip to content

make test failures on Solaris (SPARC) #2054

@ggreif

Description

@ggreif
Bugzilla Link 1682
Resolution FIXED
Resolved on Mar 12, 2010 00:57
Version unspecified
OS Solaris
CC @efriedma-quic,@ggreif

Extended Description

Here is the list I got today:

Sema/cocoa.m
******************** TEST 'Sema/cocoa.m' FAILED! ********************
Command:
clang Sema/cocoa.m -arch ppc
Output:
Sema/cocoa.m:3:10: error: 'Cocoa/Cocoa.h' file not found
#include <Cocoa/Cocoa.h>
^
1 diagnostic generated.
******************** TEST 'Sema/cocoa.m' FAILED! ********************

Sema/switch.c
******************** TEST 'Sema/switch.c' FAILED! ********************
Command:
clang -parse-ast-check Sema/switch.c
Output:
Errors expected but not seen:
Line 11: previous case value
Line 13: duplicate case value
Errors seen but not expected:
Line 11: duplicate case value '42'
Line 13: previous case value occurrence defined here
******************** TEST 'Sema/switch.c' FAILED! ********************

Sema/carbon.c
******************** TEST 'Sema/carbon.c' FAILED! ********************
Command:
clang Sema/carbon.c -fsyntax-only -arch ppc
Output:
Sema/carbon.c:3:10: error: 'Carbon/Carbon.h' file not found
#include <Carbon/Carbon.h>
^
1 diagnostic generated.
******************** TEST 'Sema/carbon.c' FAILED! ********************

Sema/format-strings.c
******************** TEST 'Sema/format-strings.c' FAILED! ********************
Command:
clang -parse-ast-check Sema/format-strings.c
Output:
Errors seen but not expected:
Line 10: use of undeclared identifier '__builtin_va_alist'
Line 51: use of undeclared identifier '__builtin_va_alist'
Line 60: use of undeclared identifier '__builtin_va_alist'
******************** TEST 'Sema/format-strings.c' FAILED! ********************

The switch.c test seems to give the same diagnostics, but attributes them to the exchanged lines. Very strange. Maybe it is some indeterministic ordering issue.

My system compiler is

ggreif@dengsvr18 [#273] g++ --version
g++ (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Cheers,

Gabor

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions