[LLVMdev] llvm/clang test failures on powerpc-darwin8

David Fang fang at csl.cornell.edu
Fri Dec 16 10:58:26 PST 2011


>>> These results have far fewer failures than svn-trunk, and are also
>>> comparable to bootstrapping with gcc-4.6.2, summarized here:
>>> http://paste.lisp.org/display/126363
>>> (Unfortunately, I no longer have the whole build/test log for the gcc46 bootstrap.)
>>> This consistency between different bootstraps of the release gives me
>>> some hope that g++-4.0.1 is yet usable.
>>
>> David,
>>   Another alternative for darwin8 would be to bootstrap llvm/clang 3.0 using
>> the clang from the fink llvm29 package (since clang 2.9 should build fine against
>> gcc-4.0.1).
>>            Jack
>
> Hi Jack,
> 	I never managed to successfully build llvm29 on powerpc-darwin8,
> after running into some build issues, and having filed bug 9958, I got the
> impression of ppc-darwin being "not supported", so I didn't put much more
> effort into it back then.  However llvm28 did build, and I still have
> it installed and hidden away.  (It looks like *someone* runs ppc-darwin
> a buildbot, but not for darwin8.)  Knowing what I've learned so far, the
> effort would be similar, perhaps even duplicate to just trying to fix
> things directly with g++-4.0.1.  Time will tell, I suppose.

I just tried to cmake with clang/llvm 2.8, the last release that built 
cleanly (but never tested), and it just spews out endless nonsense when I 
try to compile simple test programs during cmake.  It's also missing a C++ 
include path, /usr/include/c++/4.0.0/powerpc-darwin8 (bunch of paths 
mis-hardcoded to darwin10), which I've fixed in my local patches 
and edits for trunk and release-3.0 builds.

% /sw/opt/llvm-2.8/bin/clang -x c++ -v -fsyntax-only /dev/null
clang version 2.8 (branches/release_28)
Target: powerpc-apple-darwin8
Thread model: posix
  "/Volumes/Mercedes2/sw/opt/llvm-2.8/bin/clang" -cc1 -triple 
powerpc-apple-darwin8 -fsyntax-only -disable-free -disable-llvm-verifier 
-main-file-name null -pic-level 1 -mdisable-fp-elim -v -resource-dir 
/Volumes/Mercedes2/sw/opt/llvm-2.8/lib/clang/2.8 -ferror-limit 19 
-fmessage-length 80 -fexceptions -fdiagnostics-show-option 
-fcolor-diagnostics -x c++ /dev/null
clang -cc1 version 2.8 based upon llvm 2.8 hosted on powerpc-apple-darwin8
ignoring nonexistent directory "/usr/include/c++/4.2.1"
ignoring nonexistent directory 
"/usr/include/c++/4.2.1/powerpc-apple-darwin10/"
ignoring nonexistent directory "/usr/include/c++/4.2.1/backward"
ignoring nonexistent directory 
"/usr/include/c++/4.0.0/powerpc-apple-darwin10/"
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
  /usr/include/c++/4.0.0
  /usr/include/c++/4.0.0/backward
  /Volumes/Mercedes2/sw/opt/llvm-2.8/lib/clang/2.8/include
  /usr/include
  /System/Library/Frameworks (framework directory)
  /Library/Frameworks (framework directory)
End of search list.

I don't think it would be very productive to fix up 2.8 or 2.9 for the 
sake of bootstrapping 3.0+, when I've gotten so far using the system 
g++-4.0.1, and fink gcc46.

Fang

-- 
David Fang
http://www.csl.cornell.edu/~fang/




More information about the llvm-dev mailing list