Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Mar 2014 21:08:22 +0100
From:      Florian Smeets <flo@smeets.im>
To:        Dimitry Andric <dim@freebsd.org>,  Craig Butler <craig001@lerwick.hopto.org>, freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org,  rdivacky@freebsd.org
Subject:   Re: HEADS UP: sparc64 backend for llvm/clang imported
Message-ID:  <53138FB6.5070007@smeets.im>
In-Reply-To: <20140301195158.GA47921@funkthat.com>
References:  <F7AC069B-32B9-4F4E-BF19-EA2E6714F9C3@FreeBSD.org> <20140301011643.GV47921@funkthat.com> <5311FCB9.60406@smeets.im> <20140301195158.GA47921@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--DXKpL21jvlexk4vKMAIjrtU5R6rigHGcO
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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?
>=20
> From a quick look at the code, it doesn't look like my patch would
> have effected this part of the kernel...
>=20

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=3Dclang make
kernel" to build the kernel with clang.

Florian


--DXKpL21jvlexk4vKMAIjrtU5R6rigHGcO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJTE4+6AAoJEOcFPfn/hvB2VzQQALKTQcIbrTe6TPi4yXR/+UB9
eeK7HwBiuLRPjIZfunJ1CjZmY5F03F4tk4fWEhbOkKvkMgWtNqpXMzuweeEJiV4Y
6Zgj9CbBIBocSb09Y7XyGKk3Fi+CNfgV/QltbYjs/fV8cYBKLx2eQWlRHyeuwkeg
q6i6W5WtJ53Qh4WX7fl1W+tGxfMtvx3ywFREzow4DeIcJGER8xXopk2PNPy/U3bu
sbwZtSuWlYS4rAP3Sg5ckxhaqdqGfo3RSCiXF+9c+PI2V3/kgM8/WAJY6JTebPeN
f6iAzMlBJg3FcYZcAX8QGEfpA/AYthi1tdrQeODCYcUlvitKv3Ttl16ttrUueApU
ew6Kg4jc+Um5Wl+1YlAaU73dGwTCkmT9EHQvJdL7eKjsUSHvGSbe8+ewZoGW0Vhw
UVVfn1dWerhIRr/j03agjgN97kTYF9UZsruwGsBAJLBgS7fhAbtbuM9tUM4RYzC1
29LX3gHf0HTKxkJFfZV56/5IC/u0PW6X7nExGYS7vcy/u8whOP4QT5wCDdIxgk0f
TLIy2OkBliq9MaznitxHw7/QXDtWnNXydclbRvrXM0L7e5Qf4M2hWCn241fpcsYc
KXtp/albko+KGRy4mC/gNvy8GbRstWxMlrio+f8blZR0zkSDA4E3l5BJfeZBnArb
QOkUr4YkwxdEwR4k1fvn
=2Rdd
-----END PGP SIGNATURE-----

--DXKpL21jvlexk4vKMAIjrtU5R6rigHGcO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53138FB6.5070007>