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:

/opt/pkg.obj/x11/qt4-libs/work.ultra10/qt-x11-opensource-src-4.4.3/bin/rcc 
-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 
`/opt/pkg.obj/x11/qt4-libs/work.ultra10/qt-x11-opensource-src-4.4.3/src/network'
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, 
    v=@0xffffffffffff90d8)
    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)
{ 
    v.d->ref.ref();
    if (!d->ref.deref())
        free(d);
    d = v.d;
    if (!d->sharable)
        detach_helper(); 
    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