lang/gcc not build

Dimitry Andric dim at FreeBSD.org
Wed Sep 25 21:04:00 UTC 2013


On Sep 25, 2013, at 15:17, Alexander Panyushkin <vsityz at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130925/5c818a7f/attachment.sig>


More information about the freebsd-current mailing list