[LLVMbugs] [Bug 10517] New: Clang error in Sparc Solaris

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 27 16:05:11 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10517

           Summary: Clang error in Sparc Solaris
           Product: clang
           Version: 2.9
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: javpicorel at gmail.com
                CC: llvmbugs at cs.uiuc.edu


After installing llvm-2.9 + Clang on Sparc - Solaris 10, 
whenever I use clang to compile whatever I receive this error:

clang version 2.9 (tags/RELEASE_29/final)
Target: sparc-sun-solaris2.10
Thread model: posix
clang: warning:
      unknown
      platform,
      assuming
      -mfloat-abi=soft
 "/.../llvm-2.9/obj2/Release+Asserts/bin/clang" -cc1 -triple
sparc-sun-solaris2.10 -S -disable-free -main-file-name prueba.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -msoft-float
-target-feature +soft-float -target-linker-version 2.21
-momit-leaf-frame-pointer -v -resource-dir
/.../llvm-2.9/obj2/Release+Asserts/bin/../lib/clang/2.9 -ferror-limit 19
-fmessage-length 125 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-Hfaybq.s -x c prueba.c
clang -cc1 version 2.9 based upon llvm 2.9 hosted on sparc-sun-solaris2.10
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /.../llvm-2.9/obj2/Release+Asserts/bin/../lib/clang/2.9/include
 /usr/include
End of search list.
Stack dump:
0.      Program arguments: /.../llvm-2.9/obj2/Release+Asserts/bin/clang -cc1
-triple sparc-sun-solaris2.10 -S -disable-free -main-file-name prueba.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -msoft-float
-target-feature +soft-float -target-linker-version 2.21
-momit-leaf-frame-pointer -v -resource-dir
/.../llvm-2.9/obj2/Release+Asserts/bin/../lib/clang/2.9 -ferror-limit 19
-fmessage-length 125 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-Hfaybq.s -x c prueba.c
1.      /usr/include/stdio_impl.h:42:26: current parser token ';'
2.      /usr/include/stdio_impl.h:29:1: parsing struct/union body '__FILE'
clang: error:
      unable
      to
      execute
      command:
      Bus
      Error
      (core
      dumped)
clang: error:
      clang
      frontend
      command
      failed
      due
      to
      signal
      1
      (use
      -v
      to
      see
      invocation)

Regards,

Javier

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list