Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2013 00:04:19 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        bf1783@gmail.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: regression: lang/gcc47, gcc48 on amd64: configure: error: cannot compute suffix of object files: cannot compile
Message-ID:  <201303070004.r2704JtO014622@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <CAGFTUwO1FmMu3jgeL1KeMxS7-wE6=iJei5eHV25wh43XE7w6LQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
	From bf1783@googlemail.com Wed Mar  6 23:04:14 2013

	>
	> checking for x86_64-portbld-freebsd10.0-gcc... /usr/ports/lang/gcc48/work/build/./gcc/xgcc -B/usr/ports/lang/gcc48/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/gcc48/work/build/x86_64-portbld-freebsd10.0/libgcc':
	> configure: error: cannot compute suffix of object files: cannot compile
	> See `config.log' for more details.
	> gmake[2]: *** [configure-stage1-target-libgcc] Error 1
	>
	>
	> checking for x86_64-portbld-freebsd10.0-gcc... /usr/ports/lang/gcc47/work/build/./gcc/xgcc -B/usr/ports/lang/gcc47/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/gcc47/work/build/x86_64-portbld-freebsd10.0/libgcc':
	> configure: error: cannot compute suffix of object files: cannot compile
	> See `config.log' for more details.
	> gmake[2]: *** [configure-stage1-target-libgcc] Error 1
	>
	> Shall I open a GCC PR?
	>

	Not without learning more first.

I had to comment out the 3 last lines:

# cat /etc/make.conf
SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+=  -L/usr/local/lib
SENDMAIL_LDADD+=    -lsasl2
WITH_PKGNG=yes
PERL_VERSION=5.16.2
#CMAKE_ARGS+=    -DCMAKE_COLOR_MAKEFILE=off
#CFLAGS+= -fno-color-diagnostics
#CXXFLAGS+= -fno-color-diagnostics

to make gcc-4.7 build:

===>>> Upgrade of gcc-4.7.3.20130216 to gcc-4.7.3.20130302 complete

I'm checking gcc-4.8 now.

The irony is that I added those lines
to have clearer diagnostics of failures
with sript(1).

Thanks

Anton



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303070004.r2704JtO014622>