From owner-freebsd-ports@freebsd.org Wed Sep 9 15:19:17 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D5C7A00F81 for ; Wed, 9 Sep 2015 15:19:17 +0000 (UTC) (envelope-from vivek@khera.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 47E311E5A for ; Wed, 9 Sep 2015 15:19:17 +0000 (UTC) (envelope-from vivek@khera.org) Received: by mailman.ysv.freebsd.org (Postfix) id 47873A00F7E; Wed, 9 Sep 2015 15:19:17 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47224A00F7D for ; Wed, 9 Sep 2015 15:19:17 +0000 (UTC) (envelope-from vivek@khera.org) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7A5A1E59 for ; Wed, 9 Sep 2015 15:19:16 +0000 (UTC) (envelope-from vivek@khera.org) Received: by wicge5 with SMTP id ge5so159506508wic.0 for ; Wed, 09 Sep 2015 08:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=khera.org; s=google11; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WczCaONqB8zOA//uCq1miMztyfzniR4JIbMBgVO2pkg=; b=E23w08pQJ5ZxtjqLoPrJcNB9r5hFc6DaP+EYNKE8ZoVe2B57vlNc2KzNNh3NbdS5Tv n/rkOjI8W1796OD0pwzCCZEpSbudu+hBaRbY/5Gv7RowiUmHZan9fHHwq3cUzdl+a26k RTULBaXJVIuscLZ7MOAdM4oMjikeYidiE5sWU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=WczCaONqB8zOA//uCq1miMztyfzniR4JIbMBgVO2pkg=; b=Gt5lZ+CfXraWhDht4/J8YfcRkWuwtLygzXojeftvgEQ4vvsZWCD6dupzjD91xqujuq iLEZxBaC+ZWVehSKruDy+uwyB8xWdse5dD5FO3g+ppObho0JFmZ4eJ3ORj0M9yTuXsah 6AyiHQFnyiGMF/ZTCh1U44Ym5roo968btywoPccC00ElpDvCvS5XQg+pEyTcpOjzJqQK Sy1qmWjNASIZkTJKNBHLXO6kQiq0h3lkQSp/Q42dmE4wi5oS1oQgVZ9+fyzlM8vYEoMl jnnhV/zdFvNJZFOJWu7J1R8QhUCEYR6HQoGuNI3suJF/54zM5aU5OHoRvwG6Rd85V8c7 wYXw== X-Gm-Message-State: ALoCoQk9J3u5DFqaojbrNm+Gcjia+ErhoIAQooMmWnffnV7ULAzvGIbFEaAV0kfgTq3ZLxTEvdx8 MIME-Version: 1.0 X-Received: by 10.181.13.228 with SMTP id fb4mr58862429wid.10.1441811955055; Wed, 09 Sep 2015 08:19:15 -0700 (PDT) Received: by 10.28.45.67 with HTTP; Wed, 9 Sep 2015 08:19:14 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 Sep 2015 11:19:14 -0400 Message-ID: Subject: Re: unable to boostrap go From: Vick Khera To: FreeBSD Ports List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2015 15:19:17 -0000 On Mon, Aug 31, 2015 at 10:43 AM, Vick Khera 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