From owner-freebsd-current@FreeBSD.ORG Fri Sep 6 17:08:23 2013 Return-Path: Delivered-To: current@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 ESMTP id 2184C9FA for ; Fri, 6 Sep 2013 17:08:23 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x22f.google.com (mail-ee0-x22f.google.com [IPv6:2a00:1450:4013:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B0C322FBC for ; Fri, 6 Sep 2013 17:08:22 +0000 (UTC) Received: by mail-ee0-f47.google.com with SMTP id d49so1738301eek.6 for ; Fri, 06 Sep 2013 10:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UJcPYTzuON3YzwC/wDnujjNftF4uDBWuB3YyIICqPKs=; b=pAN7l9QGKqg2HChV4m5Ydo6md1WKzSOONr1d4U1tTYPMdZXYGb28dGbtJSM0sPj/Wk IbPNcvHK+CvNdde6RmeHrIruiOUuvFHMgp2msvg4/oxXUubmPdxFt/c2BOzJU4+Mh+lB agh2uzGQF1OKJhcp0c6uG3ItfSmZj0+TAP8LtadPH7M5roUNPa3Cml+Im5KPMw0EGo4z 7/lpWO4ijDv0wTkEt5CfrbpC+upoIHLW06ghlreA4IxRsvLDoTEaR/BIwz+KRhEPWfnr fcq+eJZb9mQg/iKAne/3k3uR9n59xKStM56DRMXuwXug3g31syJ0JHWnvv9HzWYkADmn 2bOA== MIME-Version: 1.0 X-Received: by 10.14.100.138 with SMTP id z10mr4147618eef.74.1378487301106; Fri, 06 Sep 2013 10:08:21 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Fri, 6 Sep 2013 10:08:20 -0700 (PDT) In-Reply-To: <20130906151252.GA28654@regency.nsu.ru> References: <20130906151252.GA28654@regency.nsu.ru> Date: Fri, 6 Sep 2013 10:08:20 -0700 Message-ID: Subject: Re: Cross-buildkernel (i386->amd64) is broken? From: hiren panchasara To: Alexey Dokuchaev Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 17:08:23 -0000 On Fri, Sep 6, 2013 at 8:12 AM, Alexey Dokuchaev wrote: > Hi there, > > I've been trying to cross-build an amd64 kernel on i386 host on recent > -CURRENT for a while, and it fails like this: > Not entirely sure but you _probably_ need to make toolchain first? cheers, Hiren > > $ cd /usr/src && make buildkernel TARGET=amd64 TARGET_ARCH=amd64 > [...] > In file included from /usr/src/sys/amd64/amd64/genassym.c:46: > In file included from /usr/src/sys/sys/buf.h:260: > In file included from /usr/src/sys/sys/proc.h:62: > /usr/src/sys/sys/pcpu.h:188:1: error: static_assert failed "compile-time > assertion failed" > CTASSERT((PAGE_SIZE / sizeof(struct pcpu)) * sizeof(struct pcpu) == > PAGE_SIZE); > > Full log is available here: http://193.124.210.26/xbuild-amd64.log > > I remember it used to work before (at least at Jun 28th, when I've build > my last kernel this way). Is is a well known issue? How do I remedy it? > Thanks. > > ./danfe > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >