[LLVMbugs] [Bug 10619] New: Clang & LLVM trunk: SPARC Solaris 10 u9

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 9 10:20:37 PDT 2011


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

           Summary: Clang & LLVM trunk: SPARC Solaris 10 u9
           Product: clang
           Version: trunk
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: javpicorel at gmail.com
                CC: llvmbugs at cs.uiuc.edu


LLVM: trunk
Clang: trunk
Platform: Sparc
OS: Solaris 10 u9

########################################################################
Whatever I compile (simple c program):

# llvm-trunk/obj/Release+Asserts/bin/clang test.c -o test
clang: warning: unknown platform, assuming -mfloat-abi=soft
Stack dump:
0.      Program arguments:
/export/home/picorel/llvm-trunk/obj/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 -resource-dir
/export/home/picorel/llvm-trunk/obj/Release+Asserts/bin/../lib/clang/3.0
-ferror-limit 19 -fmessage-length 168 -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-z9aqUt.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)
      [err_drv_command_failure]
clang: error: clang frontend command failed due to signal 2 (use -v
      to see invocation) [err_drv_command_signalled]
clang: note: diagnostic msg: Please submit a bug report to
      http://llvm.org and include command line arguments and all
      diagnostic information.
clang: warning: unknown platform, assuming -mfloat-abi=soft
      [warn_drv_assuming_mfloat_abi_is]
Stack dump:
0.      Program arguments: llvm-trunk/obj/Release+Asserts/bin/clang prueba.c -o
prueba
Bus Error (core dumped)
############################################################

If I want to emit code for llvm:

# llvm-trunk/obj/Release+Asserts/bin/clang test.c -o test -emit-llvm
clang: warning: unknown platform, assuming -mfloat-abi=soft
clang: error: 'sparc-sun-solaris2.10': unable to pass LLVM bit-code files to
linker

#############################################################

Any help?. Thanks.

Regards

-- 
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