Date: Mon, 13 Aug 2018 16:09:23 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: svn-ports-head@freebsd.org, Mark Linimon <linimon@lonesome.com>, Mahdi Mokhtari <mmokhi@FreeBSD.org>, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r477036 - in head/databases/mysql80-server: . files Message-ID: <k1ou-9x4c-wny@FreeBSD.org> In-Reply-To: <20180813133131.GA46367@FreeBSD.org> (Alexey Dokuchaev's message of "Mon, 13 Aug 2018 13:31:31 %2B0000") References: <201808121910.w7CJAhiQ051528@repo.freebsd.org> <20180812223108.GA20123@lonesome.com> <20180813101157.GA88376@FreeBSD.org> <tvny-eaq3-wny@FreeBSD.org> <20180813133131.GA46367@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexey Dokuchaev <danfe@FreeBSD.org> writes: > On Mon, Aug 13, 2018 at 02:01:56PM +0200, Jan Beich wrote: > >> Alexey Dokuchaev <danfe@FreeBSD.org> writes: >> ... >> > Plus sparc64 and others which use gcc by default >> >> What "others" that are supported by lang/gcc* via USES=compiler:c++11-lib? >> Or did you miss GCC isn't really supported by this port? > > Hmm, admittedly I didn't notice `compiler:c++11-lib' on USES... Never > mind then, I was just referring to the fact that clang accepts -msse?? > on !x86 and emits a warning, while gcc rejects unsupported options. Clang (unlike GCC) usually supports more than one target in which case "unsupported" maybe confusing. $ cat >~/bin/aarch64-unknown-freebsd-clang #! /bin/sh clang -fuse-ld=lld \ --sysroot=/poudriere/jails/112aarch64 \ -isystem /poudriere/jails/112aarch64/usr/include/c++/v1 \ --target=aarch64-unknown-freebsd11.2 "$@" ^D $ ln -s aarch64-unknown-freebsd-clang ~/bin/aarch64-unknown-freebsd-clang++ $ echo 'int main() {}' >a.c $ aarch64-unknown-freebsd-clang a.c $ file a.out a.out: ELF 64-bit LSB executable, ARM aarch64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.2, FreeBSD-style, not stripped or $ cc -v FreeBSD clang version 7.0.0 (branches/release_70 338892) (based on LLVM 7.0.0svn) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin $ echo 'int main() {}' | cc -c -xc - -o /dev/null -msse4.2 -target armv6-unknown-freebsd11.2-gnueabihf cc: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument] $ echo 'int main() {}' | cc -c -xc - -o /dev/null -mfpu=neon -target aarch64-unknown-freebsd11.2 cc: warning: argument unused during compilation: '-mfpu=neon' [-Wunused-command-line-argument] $ echo 'int main() {}' | cc -c -xc - -o /dev/null -march=armv7-a -target aarch64-unknown-freebsd11.2 cc: error: the clang compiler does not support '-march=armv7-a'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?k1ou-9x4c-wny>