Date: Tue, 26 Nov 2013 22:56:47 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Alexander Panyushkin <vsityz@gmail.com> Cc: Brooks Davis <brooks@FreeBSD.org>, Ports FreeBSD <freebsd-ports@freebsd.org> Subject: Re: lang/gcc not build Message-ID: <3EFE15B9-F281-4941-A831-85B5A1B66F07@FreeBSD.org> In-Reply-To: <529515FD.5000406@gmail.com> References: <5294DEAA.5070308@gmail.com> <B50A7135-288C-45B5-B672-C6BCC9221EFE@FreeBSD.org> <529503ED.5060604@gmail.com> <0D50880A-4C36-4E73-B06B-0AB6F45DAD85@FreeBSD.org> <529515FD.5000406@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_D4353EAC-8E13-46DE-9C21-267A064129BD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 26 Nov 2013, at 22:43, Alexander Panyushkin <vsityz@gmail.com> wrote: ... > configure:4209: checking for C compiler default output file name > configure:4231: gcc46 -Oz -march=3Dathlon64-sse3 -mtune=3Dathlon64-sse3 = -pipe -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security = -O2 -march=3Dathlon64-sse3 -mtune=3Dathlon64-sse3 -pipe -Wformat = -I/usr/local/include -Wl,-rpath=3D/usr/local/lib/gcc46 = -fno-strict-aliasing -D_FORTIFY_SOURCE=3D2 -D_FORTIFY_SOURCE=3D2 = -Wl,-rpath=3D/usr/local/lib/gcc46 conftest.c >&5 > gcc46: error: unrecognized option '-Qunused-arguments' > gcc46: error: unrecognized option '-Qunused-parameter' > configure:4235: $? =3D 1 Apparently the COMPILER_TYPE logic in bsd.compiler.mk does not detect you are using gcc, most likely because you are using USE_GCC=3D in make.conf. (This setting should normally be used in port Makefiles, not in make.conf, AFAIK.) Try one of the following: * Add COMPILER_TYPE=3Dgcc in make.conf (in the part where you put = USE_GCC) * Alternatively, remove USE_GCC and just set CC=3Dgcc46, CXX=3Dg++46 and CPP=3Dcpp46. -Dimitry --Apple-Mail=_D4353EAC-8E13-46DE-9C21-267A064129BD Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlKVGSMACgkQsF6jCi4glqPdsQCgrMUUN7+7Sz6QqJ2UUymMdTHr Ww4AniUCZBDY8CsNlvBbV1EvGJ+XV9hm =rQuI -----END PGP SIGNATURE----- --Apple-Mail=_D4353EAC-8E13-46DE-9C21-267A064129BD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EFE15B9-F281-4941-A831-85B5A1B66F07>