From owner-freebsd-sparc64@FreeBSD.ORG Sun Mar 2 20:08:36 2014 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AE6F3B1; Sun, 2 Mar 2014 20:08:36 +0000 (UTC) Received: from mail.solomo.de (mail.solomo.de [IPv6:2a01:4f8:162:1142::2]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C82AC137B; Sun, 2 Mar 2014 20:08:35 +0000 (UTC) Received: from cpos1.nexxtmobile.de (localhost [127.0.0.1]) by mail.solomo.de (Postfix) with ESMTP id 5EFBE23663; Sun, 2 Mar 2014 21:08:34 +0100 (CET) X-Virus-Scanned: amavisd-new at nexxtmobile.de Received: from mail.solomo.de ([127.0.0.1]) by cpos1.nexxtmobile.de (cpos1.nexxtmobile.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wz4i9cyNE56x; Sun, 2 Mar 2014 21:08:29 +0100 (CET) Received: from nibbler-wlan.home.lan (unknown [IPv6:2001:4dd0:fd65:d00d:edb3:6418:515d:4abf]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.solomo.de (Postfix) with ESMTPSA id 6E2322364B; Sun, 2 Mar 2014 21:08:27 +0100 (CET) Message-ID: <53138FB6.5070007@smeets.im> Date: Sun, 02 Mar 2014 21:08:22 +0100 From: Florian Smeets User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Thunderbird/29.0a2 MIME-Version: 1.0 To: Dimitry Andric , Craig Butler , freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org, rdivacky@freebsd.org Subject: Re: HEADS UP: sparc64 backend for llvm/clang imported References: <20140301011643.GV47921@funkthat.com> <5311FCB9.60406@smeets.im> <20140301195158.GA47921@funkthat.com> In-Reply-To: <20140301195158.GA47921@funkthat.com> X-Enigmail-Version: 1.7a1pre Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DXKpL21jvlexk4vKMAIjrtU5R6rigHGcO" X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2014 20:08:36 -0000 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--