Subject: Re: Problems with VIA tech EDEN ESP CPU core.
To: None <port-i386@NetBSD.org>
From: Kentaro A. Kurahone <kurahone@sigusr1.org>
List: port-i386
Date: 05/12/2005 22:07:19
--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 05, 2005 at 08:59:10AM -0700, John Clark wrote:
[snip]
> I did verify that 1.6 booted. The current project is a linux project,
> and so I have been occupied there. But I was not able to use the
> previous linux kernel built by someone else for the 686. I had
> to build a gcc for the 586, and then things seem to work. The
> failure seemed incredibly strange, on the order of an illegal opcode.

Early C3 designs lack cmpxchg8.  GCC -march=3Di686 generates code that
uses cmpxchg8, leading to the illegal opcode fauilure.  You may want to
target either 486 or 586.  Sufficiently new gcc supposedly has a c3
arch, which also works around this problem.

HTH, HAND.

--=20
Kentaro A. Kurahone
SIGUSR1 Research and Development

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iQIVAwUBQoPTlWfp+SLSG+tuAQLzlRAAoOlUUB0oeF0kIvbuIBn2dr0bbnKlR6bN
qCKXrcxbThWMCFSv+lgMQRUogXDo5stTBlvsHzVJuc+5nwFR3FY0b+l78HcLBRGP
qLqwaFdHgKpw/x8trrtaNUS5OpuRp+gwQ24vORsbpMzQQ4ZuUG9mC9sPJztXcvxd
NdXMAcP/gCEKWIvbXhSGWtVkxg1ndaFoG3jWSbPH+/T0yRLlFa0/ShHQoLRNJsxm
gZ0+WSs4G61C1QUJUfzEhVNHWt6dy+7nOj6lZViR1GBLh2GtiOWCUdJZwJ/r3nLv
4+Ci2g16DofE/yxNcWZMk56fQBtSSZvm5GZA4OCv9s2JHXiabLX46vkWQl2VSMlp
ap7DrdYn0Az7Dik87gbWGKiqWhXJ8MHD/r3Oe4+mSsaEyRXxI4wDil0VGPeVJJ3p
ZJVJoFH45VQAmWb8dZiYagGIAHTktHuOKrnXi0Bj+mCHrdOHkEGUJPk8uXWYSyTw
jmSeQqx4/Uynex4mYgTfKt+EeI8LjItiO6YboUOUlDAz3x2rEpel0z3fmKFcR5XS
e6oksR4VbQIyO4NT7bcINKaZXwwZ3tZdjvXGb82NA0kERbZxWQjzRSqjRfov6Db5
OOOkjWY7isyJz6aRC826LdsBDJHynVlMbxX7vx9zukFdCqe2r/uaTUZsO+AIPRLW
t+rI+yZNgPk=
=I39x
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--