[LLVMbugs] [Bug 14275] New: clang tests fail: unknown target triple 'unknown-apple-darwin8.11.0', expect 'powerpc'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 6 16:38:35 PST 2012


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

             Bug #: 14275
           Summary: clang tests fail: unknown target triple
                    'unknown-apple-darwin8.11.0', expect 'powerpc'
           Product: new-bugs
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


In my latest run of check-clang on powerpc-darwin8 (r167261, patched), a vast
number of test failures report:

error: unknown target triple 'unknown-apple-darwin8.11.0', please use -triple
or -arch

http://www.csl.cornell.edu/~fang/sw/llvm/logs/clang-r167261-nopure-powerpc-darwin8-g++-4.0.1-debug-check.log

For example,
[fangism:src/LLVM-svn/gcc40-cmake-build] fang% bin/clang -emit-llvm -S -O0 -g
/Volumes/Isolde/sources/LLVM-svn/clang/test/CodeGen/2010-02-18-Dbg-VectorType.c
-o -
\-{ static std::string llvm::Triple::normalize(llvm::StringRef)
/-} static std::string llvm::Triple::normalize(llvm::StringRef)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ static std::string llvm::Triple::normalize(llvm::StringRef)
/-} static std::string llvm::Triple::normalize(llvm::StringRef)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ int cc1_main(const char**, const char**, const char*, void*)
| \-{ clang::CompilerInvocationBase::CompilerInvocationBase()
| /-} clang::CompilerInvocationBase::CompilerInvocationBase()
| \-{ clang::CompilerInstance::CompilerInstance()
| /-} clang::CompilerInstance::CompilerInstance()
| \-{ static std::string llvm::Triple::normalize(llvm::StringRef)
| /-} static std::string llvm::Triple::normalize(llvm::StringRef)
| \-{ bool clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
| | \-{ bool clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
| | | \-{ static clang::TargetInfo*
clang::TargetInfo::CreateTargetInfo(clang::DiagnosticsEngine&,
clang::TargetOptions&)
| | | | :  Opts.Triple: unknown-apple-darwin8.11.0
| | | | \-{ llvm::Triple::Triple(const llvm::Twine&)
| | | | /-} llvm::Triple::Triple(const llvm::Twine&)
| | | | \-{ clang::TargetInfo* AllocateTarget(const std::string&)
| | | | | :  arg: unknown-apple-darwin8.11.0
| | | | | \-{ llvm::Triple::Triple(const llvm::Twine&)
| | | | | /-} llvm::Triple::Triple(const llvm::Twine&)
| | | | | :  default -> NULL
| | | | /-} clang::TargetInfo* AllocateTarget(const std::string&)
error: unknown target triple 'unknown-apple-darwin8.11.0', please use -triple
or
      -arch
| | | /-} static clang::TargetInfo*
clang::TargetInfo::CreateTargetInfo(clang::DiagnosticsEngine&,
clang::TargetOptions&)
| | /-} bool clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
| /-} bool clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
/-} int cc1_main(const char**, const char**, const char*, void*)

I'm trying to track down where things went wrong.
Either in or before Triple::normalize()...

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