Date: Mon, 15 Jan 2018 11:11:58 +0100 From: Antoine Brodin <antoine@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r327841 - head Message-ID: <CAALwa8kY4839w5wtVLWaYv86VUxJN-X8xsXuezMCbfPjatZYFw@mail.gmail.com> In-Reply-To: <201801111924.w0BJOicg089230@repo.freebsd.org> References: <201801111924.w0BJOicg089230@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 11, 2018 at 8:24 PM, John Baldwin <jhb@freebsd.org> wrote: > Author: jhb > Date: Thu Jan 11 19:24:44 2018 > New Revision: 327841 > URL: https://svnweb.freebsd.org/changeset/base/327841 > > Log: > Allow MIPS lib32 to build with clang. > > Don't try to set -march as clang doesn't permit use of the O32 ABI > with newer CPU microarchitectures like 'mips3'. In addition, clang > doesn't permit the O32 ABI with the default N64 target, so use an > explicit O32 -target for clang. > > Sponsored by: DARPA / AFRL > > Modified: > head/Makefile.libcompat Hi, This seems to break buildworld for mips/mips64 --- includes_subdir_include/rpc --- RPCGEN_CPP=cpp\ -DCOMPAT_32BIT\ -target\ mips-unknown-freebsd12.0\ -mabi=32\ \ -L/usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/obj-lib32/tmp/usr/lib32\ \ --sysroot=/usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/obj-lib32/tmp\ \ -B/usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/tmp/usr/bin\ -B/usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/obj-lib32/tmp/usr/lib32\ -isystem\ /usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/obj-lib32/tmp/usr/include rpcgen -C -h -DWANT_NFS3 /usr/local/poudriere/jails/head-mips64/usr/src/include/rpc/rpcb_prot.x -o rpcb_prot.h cpp: mips-unknown-freebsd12.0: No such file or directory cpp: warning: '-x c' after last input file has no effect cpp: unrecognized option '-target' cpp: No input files specified *** [rpcb_prot.h] Error code 1 Cheers, Antoine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8kY4839w5wtVLWaYv86VUxJN-X8xsXuezMCbfPjatZYFw>