Subject: compiler bug with -mcpu=strongarm
To: None <port-arm@netbsd.org>
From: Chris Gilbert <chris@dokein.co.uk>
List: port-arm
Date: 09/16/2002 23:25:50
Evening, I was trying to build qt3 with the 1.6 release
using -mcpu=strongarm

I hit the following problem:
c++ -c -I/u1/pkgsrc/x11/qt3-tools/work.gerry/.buildlink/include -I/u1/pkgsrc
/x11
/qt3-tools/work.gerry/.buildlink/include -O2 -mcpu=strongarm110 -DQT_INSTALL
_PLU
GINS=\"/usr/X11R6/qt3/plugins\" -mcpu=strongarm110 -I/usr/pkg/share/x11-link
s/in
clude -DQ_TRAILING_DIR_SEP -I/u1/pkgsrc/x11/qt3-tools/work.gerry/.buildlink/
qt3/
include -Wall -W -O2 -DQT_INTERNAL_XML -DUIC -DQT_NO_DEBUG -DQT_THREAD_SUPPO
RT -
I/usr/pkg/share/x11-links/include/freetype2 -I../shared -I../../../src/3rdpa
rty/
zlib -I../../../../.buildlink/include -I/u1/pkgsrc/x11/qt3-tools/work.gerry/
qt-x
11-free-3.0.4/include -I../../../../.buildlink/include -I/usr/pkg/share/x11-
link
s/include -I.moc/release-mt/ -I/u1/pkgsrc/x11/qt3-tools/work.gerry/qt-x11-fr
ee-3
.0.4/mkspecs/netbsd-g++ uic.cpp  -fPIC -DPIC -o .obj/release-mt/.libs/uic.o
uic.cpp: In method `Uic::Uic(const QString &, QTextStream &, QDomDocument,
bool,
 bool, const QString &, const QString &, bool)':
uic.cpp:158: internal error--unrecognizable insn:
(insn 28560 28557 28553 (set (reg:QI 5 r5)
        (mem:QI (plus:SI (reg:SI 4 r4)
                (const_int -484 [0xfffffe1c])) 0)) -1 (nil)
    (nil))
gmake[3]: *** [.obj/release-mt/uic.o] Error 1
gmake[3]: Leaving directory
`/u1/pkgsrc/x11/qt3-tools/work.gerry/qt-x11-free-3.0
.4/tools/designer/uic'
gmake[2]: *** [sub-uic] Error 2
gmake[2]: Leaving directory
`/u1/pkgsrc/x11/qt3-tools/work.gerry/qt-x11-free-3.0
.4/tools/designer'
gmake[1]: *** [sub-designer] Error 2
gmake[1]: Leaving directory
`/u1/pkgsrc/x11/qt3-tools/work.gerry/qt-x11-free-3.0
.4/tools'
gmake: *** [sub-tools] Error 2
*** Error code 2

Stop.
make: stopped in /extra/cvs/pkgsrc16/pkgsrc/x11/qt3-tools
*** Error code 1

Stop.
make: stopped in /extra/cvs/pkgsrc16/pkgsrc/x11/qt3-tools
*** Error code 1

Do I need to send-pr?

Cheers,
Chris