pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

x11/qt4-libs - Bus error (core dumped) on sparc64

Trying to build qt4-libs on NetBSD sparc64, it fails with the following error:

-name network network.qrc -o .rcc/release-shared/qrc_network.cpp
gmake[1]: *** [.rcc/release-shared/qrc_network.cpp] Bus error (core dumped)
gmake[1]: Leaving directory 
gmake: *** [sub-network-sub_src_target_ordered] Error 2
*** Error code 2

Running gdb on core file gives:

Core was generated by `rcc'.
Program terminated with signal 10, Bus error.
#0  QVector<QXmlSimpleReaderPrivate::XmlRef>::operator= (this=0x4113e828, 
    at ../../../include/QtCore/../../src/corelib/tools/qvector.h:362
362         if (!d->sharable)

Below is the code fragment from qvector.h

template <typename T>
QVector<T> &QVector<T>::operator=(const QVector<T> &v)
    if (!d->ref.deref())
    d = v.d;
    if (!d->sharable)
    return *this;

Can anyone suggest how to fix alignment issues in this C++ code? I've reported 
this problem to trolltech ages ago, but they never got back to me, or fixed the 
offending code.

Home | Main Index | Thread Index | Old Index