From owner-freebsd-ports@FreeBSD.ORG Thu Mar 7 00:04:22 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0514CCEB for ; Thu, 7 Mar 2013 00:04:22 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id C15A32CC for ; Thu, 7 Mar 2013 00:04:21 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1UDOJo-0002gl-O8; Thu, 07 Mar 2013 00:04:20 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UDOJo-0002ek-8I; Thu, 07 Mar 2013 00:04:20 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r2704JqJ014623; Thu, 7 Mar 2013 00:04:19 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r2704JtO014622; Thu, 7 Mar 2013 00:04:19 GMT (envelope-from mexas) Date: Thu, 7 Mar 2013 00:04:19 GMT From: Anton Shterenlikht Message-Id: <201303070004.r2704JtO014622@mech-cluster241.men.bris.ac.uk> To: bf1783@gmail.com Subject: Re: regression: lang/gcc47, gcc48 on amd64: configure: error: cannot compute suffix of object files: cannot compile In-Reply-To: Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 00:04:22 -0000 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