Date: Sat, 24 May 2014 08:53:00 +1000 From: Peter Jeremy <peter@rulingia.com> To: freebsd-amd64@freebsd.org Subject: i386 Go programs crash on amd64 Message-ID: <20140523225300.GA14433@server.rulingia.com>
next in thread | raw e-mail | index | archive | help
--TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've been playing with Go (lang/go) and found that i386 Go binaries segfault when run on amd64 (9.x, 10.x or HEAD). I've narrowed it down to the LDT handling but am not sure whether it's on the FreeBSD or Go side. As far as I can see, the i386 binary is correctly calling i386_set_ldt() and the i386_set_ldt() emulation in the amd64 kernel matches the i386 kernel - but the net result doesn't work. Can anyone offer any suggestions as to how to resolve this? --=20 Peter Jeremy --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJTf9FLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0blQP/0Y7ad5xiKpiuSWwPTj7ZtNq xBZoDboaLESU9eF6Wz7DEw6+TH1kHlXHGqaTs1aH4wAgjvvuusrb91FlAV1HN0Xy SftQCBuL3xur5YfK1X3RT4UtkTI0UwkzNBkPJ9IyCk8l2jTN5X5lqFm53PURy0FA PxFOwzISYPSaeWZkG4suu6/FiZEaE+RWJBwRjJy76V48/Trrzp2sXZUgsoNXnfbt Tan4jZSwh1HNeIEp+dHNaOGQhKYpXBPYD3BaolhSZF/7MgQola4RVuEK6oMpDfgZ MdrmTwXd/lO8D3RZsY5WDNlnN+1cKN5sW7qSBpukgDWQG+Y1BBsqUMDstKexZNEq 9wEBd2mG0oC4rUbWNKltZkqb1J8bUNAQCM9MCWlKRnX2JfjYoGcbwOd3sZ4OOcW9 v6snv2YpARZr+/+JN7sHtATvEvWu+KeHAmj6qGw6VPKCKkRHGA1kksYC8zGWQ6eJ qoG0KybXcyioix6Df++yk0VkD981dpxwWfN3lfhUFHjanhibJaJFoaikGgbCldOU CK1Ev4tN7SIpbdyinFdlLg6d5h/5zHPUlA8kyHRP60GP7lK6hD4G9vUsVE3AdDR1 3wQcK19Hk5eOhLSKYbX33fCdEpJXiOStwG+lvfZpOJzfyb1wV8n1jZBT+CeOCki+ C4/WKNhcRhWiynPZF45o =F8Vl -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140523225300.GA14433>