Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2016 18:08:31 +0100
From:      Roman Divacky <rdivacky@vlakno.cz>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: clang 3.8.0 amd64 targeting powerpc64 accepts -mlong-calls (instead of -mlongcall)
Message-ID:  <20160115170831.GA34394@vlakno.cz>
In-Reply-To: <D19442CE-F5D4-4C3A-922B-82611A448624@dsl-only.net>
References:  <D19442CE-F5D4-4C3A-922B-82611A448624@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160115170831.GA34394>