Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_BED9689B-D82A-407F-88B7-53FE35B76E54
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

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
> =
--------------------------------------------------------------------------=
--------------------------------------------------------------------------=
-------------=20
> make.conf
> CFLAGS=3D -O2 -march=3Dathlon64-sse3 -mtune=3Dathlon64-sse3 -pipe =
-Qunused-parameter -Wformat -Wformat-security
> CPPFLAGS+=3D -D_FORTIFY_SOURCE=3D2
> =
--------------------------------------------------------------------------=
--------------------------------------------------------------------------=
-------------=20
>=20
> 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
+=3D, not =3D for CFLAGS in make.conf), and try again.

If this does not help, post the config.log file.

-Dimitry


--Apple-Mail=_BED9689B-D82A-407F-88B7-53FE35B76E54
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.20 (Darwin)

iEYEARECAAYFAlJDTx0ACgkQsF6jCi4glqNV0gCgqv9j3faM3BUvI1/hwk5ji0Yz
nBcAoK//pvmyHxxdzlQ7FB6NVZJZ5qtd
=WJsp
-----END PGP SIGNATURE-----

--Apple-Mail=_BED9689B-D82A-407F-88B7-53FE35B76E54--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A404EE83-E77F-4726-B1C5-B943C16E1DB5>