From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 08:29:36 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EF7AC88 for ; Wed, 10 Dec 2014 08:29:36 +0000 (UTC) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:50a2::3:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "ns.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D20AE856 for ; Wed, 10 Dec 2014 08:29:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 51B586003CF for ; Wed, 10 Dec 2014 09:29:33 +0100 (CET) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wUdAmkrilRUk for ; Wed, 10 Dec 2014 09:29:32 +0100 (CET) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7b43:1:922b:34ff:fe56:321]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Wed, 10 Dec 2014 09:29:32 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id 93FC068; Wed, 10 Dec 2014 09:29:31 +0100 (CET) Date: Wed, 10 Dec 2014 09:29:31 +0100 From: Christoph Moench-Tegeder To: freebsd-ports@freebsd.org Subject: Re: Use GCC only for specific ARCH Message-ID: <20141210082930.GA92094@elch.exwg.net> References: <5488002D.6080200@morante.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5488002D.6080200@morante.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2014 08:29:36 -0000 ## Daniel Morante (daniel@morante.net): > I have a port that builds fine on a 9.3 amd64, but on 9.3 i386 it fails > on this line: > > inline int64 GetMaxMoney() { return nBestHeight <= HARDFORK_HEIGHT_1 ? > 50000000000 * COIN : 25000000000 * COIN; } > > With the following error: > > "integer constant is too large for 'long' type" I believe the fix is to make sure those constants are interpreted as "long long", e.g. by post-fixing LL. Regards, Christoph -- Spare Space