From owner-freebsd-ppc@freebsd.org Fri Jan 15 17:18:21 2016 Return-Path: Delivered-To: freebsd-ppc@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 CE537A830CF; Fri, 15 Jan 2016 17:18:21 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: from vlakno.cz (mail.vlakno.cz [91.217.96.224]) by mx1.freebsd.org (Postfix) with ESMTP id 9A24B1EF9; Fri, 15 Jan 2016 17:18:21 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: by vlakno.cz (Postfix, from userid 1002) id 781341E22541; Fri, 15 Jan 2016 18:08:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=vlakno.cz; s=mail; t=1452877711; bh=nqwnyqLBJovcQ1PWBhC5tefmC4wOf/nwZCDK1Uhkidw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=D6ehqsqkmQkAGlYJaOob+17ELtV3bo+R0MW+VCXN77464/NrGyxC5AHu3XAYdxSrp M85QAQ4vYPBiQ9CmUWoXNBBGM2klee457Ggyb3C2530Tz0pJBpPcepeBaUotiL5tu7 tIhX2F0LM2VREQ1vxNwRwL04mjTTlsCqQxmfijqg= Date: Fri, 15 Jan 2016 18:08:31 +0100 From: Roman Divacky To: Mark Millard Cc: FreeBSD PowerPC ML , FreeBSD Toolchain Subject: Re: clang 3.8.0 amd64 targeting powerpc64 accepts -mlong-calls (instead of -mlongcall) Message-ID: <20160115170831.GA34394@vlakno.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2016 17:18:21 -0000 On Thu, Jan 14, 2016 at 01:54:06AM -0800, Mark Millard wrote: > Context: projects/clang380-import based amd64 FreeBSD used to try building for powerpc64 > > In csu/powerpc64/Makefile I replaced: > > > CFLAGS+= -I${.CURDIR}/../common \ > > -I${.CURDIR}/../../libc/include \ > > -mlongcall > . . . > > CC:= gcc > > COMPILER_TYPE:= gcc > > with > > > CFLAGS+= -I${.CURDIR}/../common \ > > -I${.CURDIR}/../../libc/include \ > > -mlong-calls > . . . > > #CC:= gcc > > #COMPILER_TYPE:= gcc > > and clang 3.8.0 targeting powerpc64 sailed through and past it without the slightest complaint about it. (It later reported that 'soft float is not supported for ppc64' from the -msoft-float that is always used for libstand.) That option only affects ARM. It doesn't have any effect on PPC64. Roman