Prev: deskutils/alexandria - why does it create a world readable and writable directory?
Next: FreeBSD Port: php5-mysqli-5.3.2_1
From: Doug Barton on 11 Jun 2010 15:31 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-everywhere-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 debug-shared/preprocessor.o debug-shared/generator.o debug-shared/parser.o debug-shared/token.o debug-shared/main.o -L/usr/local/lib/qt4 -L/usr/local/lib -L/usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-everywhere-opensource-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-opensource-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 -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Rob Farmer on 11 Jun 2010 20:40 On Fri, Jun 11, 2010 at 12:31 PM, Doug Barton <dougb(a)freebsd.org> 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-everywhere-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 debug-shared/preprocessor.o > debug-shared/generator.o debug-shared/parser.o debug-shared/token.o > debug-shared/main.o -L/usr/local/lib/qt4 -L/usr/local/lib > -L/usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-everywhere-opensource-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-opensource-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. -- Rob Farmer > > > -- > > ... and that's just a little bit of history repeating. > -- Propellerheads > > Improve the effectiveness of your Internet presence with > a domain name makeover! http://SupersetSolutions.com/ > > _______________________________________________ > freebsd-ports(a)freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" > _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Andriy Gapon on 12 Jun 2010 03:18 on 12/06/2010 03:40 Rob Farmer said the following: > On Fri, Jun 11, 2010 at 12:31 PM, Doug Barton <dougb(a)freebsd.org> wrote: >> 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. > Yeah, here is my earlier post to kde@ list, no reply to it: http://www.mail-archive.com/kde-freebsd(a)kde.org/msg08123.html -- Andriy Gapon _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Doug Barton on 12 Jun 2010 19:26 On 06/12/10 00:18, Andriy Gapon wrote: > on 12/06/2010 03:40 Rob Farmer said the following: >> On Fri, Jun 11, 2010 at 12:31 PM, Doug Barton<dougb(a)freebsd.org> wrote: >>> 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. >> > > Yeah, here is my earlier post to kde@ list, no reply to it: > http://www.mail-archive.com/kde-freebsd(a)kde.org/msg08123.html Thanks Andriy, your suggestion to edit /usr/local/share/qt4/mkspecs/common/g++.conf did the trick. :) So, kde folks, is this going to be _the_ solution to this problem, or can y'all come up with a better one? If we're going to push in the direction of a "ports compiler" this is a problem that needs to be solved. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Max Brazhnikov on 13 Jun 2010 09:36
On Sat, 12 Jun 2010 16:26:51 -0700, Doug Barton wrote: > On 06/12/10 00:18, Andriy Gapon wrote: > > on 12/06/2010 03:40 Rob Farmer said the following: > >> On Fri, Jun 11, 2010 at 12:31 PM, Doug Barton<dougb(a)freebsd.org> wrote: > >>> 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. > > > > Yeah, here is my earlier post to kde@ list, no reply to it: > > http://www.mail-archive.com/kde-freebsd(a)kde.org/msg08123.html > > Thanks Andriy, your suggestion to edit > /usr/local/share/qt4/mkspecs/common/g++.conf did the trick. :) > > So, kde folks, is this going to be _the_ solution to this problem, or > can y'all come up with a better one? If we're going to push in the > direction of a "ports compiler" this is a problem that needs to be solved. qmake is designed to use special mkspecs for compilers. The only solution now is to create qmake mkspecs files for each compiler. Then switching between different compilers can be done via QMAKESPEC environment. Max _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" |