Re: HEADS UP: sparc64 backend for llvm/clang imported

From: Florian Smeets <flo_at_smeets.im>
Date: Sun, 02 Mar 2014 21:08:22 +0100
On 01/03/14 20:51, John-Mark Gurney wrote:
> Florian Smeets wrote this message on Sat, Mar 01, 2014 at 16:28 +0100:
>> On 01/03/14 02:16, John-Mark Gurney wrote:
>>>
>>> Ok, I have a new pcpu patch to try.  I have only compile tested it.
>>>
>>> It is available here:
>>> https://www.funkthat.com/~jmg/sparc64.pcpu.patch
>>>
>>> I've also attached it.
>>>
>>> Craig, do you mind testing it?
>>>
>>
>> My machine doesn't boot with this patch.
>>
>> OK boot -v
>> Booting...
>> jumping to kernel entry at 0xc0088000.
>> OF_panic: sparc64_init: cannot find boot CPU node
>> Program terminated
>> {1} ok
>>
>> I'm now going to try the version that dim sent.
> 
> Does it boot w/o the patch?   Is this a clang built loader/kernel or
> a gcc built loader/kernel that you tried the patch on?
> 
> From a quick look at the code, it doesn't look like my patch would
> have effected this part of the kernel...
> 

Ok, all of the following was with dim's version of the patch. I can
retry with your version too, but I don't think it will make a difference.

The kernel works fine with gcc, but doesn't work compiled with clang.

Booting [/boot/kernel/kernel]...
jumping to kernel entry at 0xc0088000.
OF_panic: sparc64_init: cannot find boot CPU node
Program terminated
{1} ok

So, the same panic with your and dim's patch, compiled with clang.
Userland was compiled with gcc, cc is gcc and I used "CC=clang make
kernel" to build the kernel with clang.

Florian


Received on Sun Mar 02 2014 - 19:08:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC