Re: Qt4-libs [from pkgsrc] build failure on -current ?
Andrew Randrianasulu <[email protected]> Tue, 27 Oct 2009 06:48:54 -0700 (PDT)
| Newsgroups | gmane.os.netbsd.ports.sgimips |
|---|---|
| Message-ID | <[email protected]> |
--- On Sat, 10/24/09, Andrew Randrianasulu <[email protected]> wrote: > From: Andrew Randrianasulu <[email protected]> > Subject: Qt4-libs [from pkgsrc] build failure on -current ? > To: [email protected] > Date: Saturday, October 24, 2009, 3:56 PM > I have NetBSD/sgimips , more-or-less > -current > > NetBSD sgio2 5.99.20 NetBSD 5.99.20 (GENERIC32_IP3x) #2: > Sun Oct 11 16:02:45 GMT 2009 > guest@slax:/mnt/hdb2/obj/sys/arch/sgimips/compile/GENERIC32_IP3x > sgimips > > After downloading and unpacking pkgsrc snapshot from > 16 10 2009 I tried to build kde3, but it fails (not > strictly, but there was warnings about known > vulnerabilities, so I skipped it). Then I tried to build > kde4, and compilation stopped here: > > > gmake[1]: Leaving directory > `/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.5.2/src/sql' > cd src/script/ && /usr/pkg/bin/gmake > gmake[1]: Entering directory > `/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.5.2/src/script' > libtool --silent --mode=compile c++ -c -O2 > -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include > -I/usr/X11R7/include/freetype2 -I/usr/pkg/include > -I/usr/X11R7/include -I/usr/include > -I/usr/X11R7/include/freetype2 -fno-exceptions -D_REENTRANT > -fPIC -DQT_SHARED -DQT_BUILD_SCRIPT_LIB > -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO > -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT > -DQT_MOC_COMPAT -DQ_SCRIPT_DIRECT_CODE -DQT_NO_DEBUG > -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE > -I../../mkspecs/netbsd-g++ -I. -I../../include/QtCore > -I../../include -I../../include/QtScript > -I.rcc/release-shared -I.moc/release-shared > -I/usr/pkg/include -o > .obj/release-shared/qscriptcontext_p.lo > qscriptcontext_p.cpp > /var/tmp//ccdV811I.s: Assembler messages: > /var/tmp//ccdV811I.s:54375: Error: Branch out of range > /var/tmp//ccdV811I.s:56401: Error: Branch out of range > /var/tmp//ccdV811I.s:56408: Error: Branch out of range > /var/tmp//ccdV811I.s:56415: Error: Branch out of range > /var/tmp//ccdV811I.s:56422: Error: Branch out of range > /var/tmp//ccdV811I.s:56429: Error: Branch out of range > gmake[1]: *** [.obj/release-shared/qscriptcontext_p.lo] > Error 1 > gmake[1]: Leaving directory > `/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.5.2/src/script' > gmake: *** [sub-script-sub_src_target_ordered] Error 2 > *** Error code 2 > > Stop. > make: stopped in /usr/pkgsrc/x11/qt4-libs > > ---- > > this is with gcc > gcc (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120) > > and binutils > as --version > GNU assembler 2.16.1 > > Anyone know any workaround? (this machine, 180mhz r5k > CPU/256MB RAM SGI O2 a bit too slow for building just > everything) > > Looks like setting "CXXFLAGS = -O1" in qt-x11-opensource-src-4.5.2/src/script/Makefile fixes this particular problem .... Not sure how many of them i have ahead .... build continued.