Date: Wed, 25 Sep 2013 23:01:03 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Alexander Panyushkin <vsityz@gmail.com> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: lang/gcc not build Message-ID: <A404EE83-E77F-4726-B1C5-B943C16E1DB5@FreeBSD.org> In-Reply-To: <5242E26E.3040406@gmail.com> References: <5242E26E.3040406@gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Sep 25, 2013, at 15:17, Alexander Panyushkin <vsityz@gmail.com> wrote: > uname > FreeBSD 10.0-ALPHA2 #0 r255833M: Tue Sep 24 10:21:04 EEST 2013 > ----------------------------------------------------------------------------------------------------------------------------------------------------------------- > make.conf > CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-parameter -Wformat -Wformat-security > CPPFLAGS+= -D_FORTIFY_SOURCE=2 > ----------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Checking multilib configuration for libgcc... > mkdir x86_64-portbld-freebsd10.0 > mkdir x86_64-portbld-freebsd10.0/libgcc > Configuring in x86_64-portbld-freebsd10.0/libgcc > configure: creating cache ./config.cache > checking for --enable-version-specific-runtime-libs... no > checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel > checking for gawk... /usr/bin/awk > checking build system type... x86_64-portbld-freebsd10.0 > checking host system type... x86_64-portbld-freebsd10.0 > checking for x86_64-portbld-freebsd10.0-ar... /usr/local/x86_64-portbld-freebsd10.0/bin/ar > checking for x86_64-portbld-freebsd10.0-lipo... lipo > checking for x86_64-portbld-freebsd10.0-nm... /usr/ports/lang/gcc/work/build/./gcc/nm > checking for x86_64-portbld-freebsd10.0-ranlib... /usr/local/x86_64-portbld-freebsd10.0/bin/ranlib > checking for x86_64-portbld-freebsd10.0-strip... /usr/local/x86_64-portbld-freebsd10.0/bin/strip > checking whether ln -s works... yes > checking for x86_64-portbld-freebsd10.0-gcc... /usr/ports/lang/gcc/work/build/./gcc/xgcc -B/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd10.0/bin/ -B/usr/local/x86_64-portbld-freebsd10.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd10.0/include -isystem /usr/local/x86_64-portbld-freebsd10.0/sys-include > checking for suffix of object files... configure: error: in `/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd10.0/libgcc': > configure: error: cannot compute suffix of object files: cannot compile Most likely, the xgcc instance cannot handle the -Qunused-parameter flag. So remove it from your custom CFLAGS (note that you should use +=, not = for CFLAGS in make.conf), and try again. If this does not help, post the config.log file. -Dimitry [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iEYEARECAAYFAlJDTx0ACgkQsF6jCi4glqNV0gCgqv9j3faM3BUvI1/hwk5ji0Yz nBcAoK//pvmyHxxdzlQ7FB6NVZJZ5qtd =WJsp -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A404EE83-E77F-4726-B1C5-B943C16E1DB5>
