HEADS UP: sparc64 backend for llvm/clang imported

Florian Smeets flo at smeets.im
Sun Mar 2 20:08:36 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 882 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20140302/dd574587/attachment.sig>


More information about the freebsd-sparc64 mailing list