From owner-freebsd-ports@FreeBSD.ORG Sat Jun 12 00:40:52 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18F5E106564A; Sat, 12 Jun 2010 00:40:52 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 995408FC0C; Sat, 12 Jun 2010 00:40:51 +0000 (UTC) Received: by yxm34 with SMTP id 34so760102yxm.13 for ; Fri, 11 Jun 2010 17:40:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.252.15 with SMTP id z15mr4208924ybh.391.1276303250520; Fri, 11 Jun 2010 17:40:50 -0700 (PDT) Received: by 10.150.52.11 with HTTP; Fri, 11 Jun 2010 17:40:50 -0700 (PDT) X-Originating-IP: [71.54.194.75] In-Reply-To: <4C128F14.9060605@FreeBSD.org> References: <4C128F14.9060605@FreeBSD.org> Date: Fri, 11 Jun 2010 17:40:50 -0700 Message-ID: From: Rob Farmer To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: kde@freebsd.org, freebsd-ports@freebsd.org Subject: Re: qt4-moc link failure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 00:40:52 -0000 On Fri, Jun 11, 2010 at 12:31 PM, Doug Barton wrote: > FYI, I'm using gcc 4.5.1, the binutils port, and I did reinstall libtool > after gcc. > > I'm on -current from April (r207134), and rebuilding qmake worked fine. > However the next qt4 port in line is qt4-moc, and it fails: > > g++ > -Wl,-rpath-link,/usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-ever= ywhere-opensource-src-4.6.3/lib > -pthread -Wl,-rpath,/usr/local/lib/qt4 -Wl,-rpath,/usr/local/lib/qt4 -o > ../../../bin/moc-qt4 debug-shared/moc.o =A0debug-shared/preprocessor.o > debug-shared/generator.o =A0debug-shared/parser.o =A0debug-shared/token.o > debug-shared/main.o =A0 =A0-L/usr/local/lib/qt4 -L/usr/local/lib > -L/usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-everywhere-opensou= rce-src-4.6.3/src/tools/bootstrap > -lbootstrap -L/usr/local/lib/qt4 -L/usr/local/lib -lz > local symbol 0: discarded in section `.text._Z7qt_noopv' from > debug-shared/preprocessor.o > ... > local symbol 1554: discarded in section > `.text._ZN5QListI10QByteArrayE9node_copyEPNS1_4NodeES3_S3_' from > /usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-everywhere-opensourc= e-src-4.6.3/src/tools/bootstrap/libbootstrap.a(qsimplecodec.o) > *** Error code 1 > 1 error > > Full log is at http://people.freebsd.org/~dougb/qt4-moc.log It looks like you compiled with g++45 but the very last command (the link) is using g++ (ie the base system gcc). I don't know enough about compilers to say for sure if that would cause the problem or not, but its probably a good starting point. --=20 Rob Farmer > > > -- > > =A0 =A0 =A0 =A0... and that's just a little bit of history repeating. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- Propellerheads > > =A0 =A0 =A0 =A0Improve the effectiveness of your Internet presence with > =A0 =A0 =A0 =A0a domain name makeover! =A0 =A0http://SupersetSolutions.co= m/ > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >