Date: Wed, 9 Sep 2015 11:19:14 -0400 From: Vick Khera <vivek@khera.org> To: FreeBSD Ports List <ports@freebsd.org> Subject: Re: unable to boostrap go Message-ID: <CALd%2BdcdZNxZPvgBU%2B1itoAChWLCbFTsgJAV0qLe6xBTB8vuibA@mail.gmail.com> In-Reply-To: <CALd%2BdcfyxHBuQ9=_E-rj0-aERUK1QcYNpTt0=jmdg%2BG3-VZkag@mail.gmail.com> References: <CALd%2BdcfyxHBuQ9=_E-rj0-aERUK1QcYNpTt0=jmdg%2BG3-VZkag@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 31, 2015 at 10:43 AM, Vick Khera <vivek@khera.org> wrote: > I build my own customized packages using poudriere. Lately (roughy about > when go changed from 1.4 to 1.5) it cannot build the go 1.4.2 bootstrap. It > fails with a bus error. This also is roughly about the time I upgraded my > poudriere server from 10.1 to 10.2. I've traced this down to my specific kernel configuration. I took the go binaries built with the 10.1 kernel and they do indeed coredump with "bus error" when run on the 10.2 kernel. Both kernels were built with the same configuration file. When I use a GENERIC 10.2 kernel, those same binaries do not dump core when running "go version". Does anyone know what specific kernel config option/device go is now needs in the 10.2 kernel that was allowed in the 10.1 kernel by default? It is failing here according to gdb: (gdb) where #0 0x00000000004a8af7 in runtime.sysctl () at /usr/local/go/src/runtime/sys_freebsd_amd64.s:299 #1 0x0000000000499798 in getncpu () at /usr/local/go/src/runtime/os_freebsd.c:35
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALd%2BdcdZNxZPvgBU%2B1itoAChWLCbFTsgJAV0qLe6xBTB8vuibA>