[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed

Dale Johannesen dalej at apple.com
Fri Jan 7 10:54:21 PST 2011


On Jan 7, 2011, at 2:11 AMPST, Kalle Raiskila wrote:

> dalej skrev:
>> On Jan 5, 2011, at 1:47 PM, Erik de Castro Lopo wrote:
>>> Kalle Raiskila wrote:
>>> 
>>>> And I probably should file a bug. Is ppc32 still maintained?
>>> I have no concrete knowledge of this, but llvm compiles
>>> and passes all tests on ppc32, so it seems to be maintained.
>>> About once a week I grab the latest SVN head and check this.
>> It is run by one of the automatic testers, and introduced bugs that break the tester get fixed.    Nobody is doing new work on it.
> 
> Strange. Perhaps it is my setup then - I don't work with the PPC parts anyways.

As Anton clarified (and I should have), I was talking about Darwin only.  That tester is currently green.  I don't think anybody is testing or maintaining other OSs.

> The system assembler is
> 
> 	as --version
> 	GNU assembler (GNU Binutils for Ubuntu) 2.18.93.20081009
> 	...
> 	This assembler was configured for a target of `powerpc-linux-gnu'.
> 
> perhaps it is too old? It chokes on the assembly lines:
> 	lis 3, ha16(.L.str)
> 	la 3, lo16(.L.str)(3)
> 
> 
> 
> That assembly is generated out of a trivial hello world:
> 
> @.str = private constant [14 x i8] c"Hello, world\0A\00"
> define i32 @main() nounwind {
> entry:
>  %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0))
>  ret i32 42
> }
> declare i32 @printf(i8*, ...)
> 
> That .ll file works on SPU at least - probably also on x86 ;)
> 
> kalle

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110107/963471dc/attachment.html>


More information about the llvm-dev mailing list