regression: lang/gcc47, gcc48 on amd64: configure: error: cannot compute suffix of object files: cannot compile

Anton Shterenlikht mexas at bristol.ac.uk
Thu Mar 7 00:04:22 UTC 2013


	From bf1783 at 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


More information about the freebsd-ports mailing list