Arts and gcc4.x

me kev.gilbert at cdu.edu.au
Fri Sep 30 02:06:38 BST 2005


On Fri September 30 2005 06:17, Tobias Gerschner wrote:
> hi,
>
> using arts here with gcc-4.0.1 with pretty agressive optimization flags.
> It's working fine, here. Never experienced any issues so far. Can you point
> me towards a mail / bug, why it's exactly broken ?

I just just finished testing the following:

-----------------

export CXXFLAGS="-O3"
export CFLAGS="-O3"
./configure --prefix=/usr/local/kde-3.5-beta-1/ --enable-debug=full
make -j 2
make install

-----------------

As an example of the compile script:

-----------------

if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../artsc -I../libltdl -I/usr/local/kde-3.5-beta-1/include -I/usr/lib/qt-3.3/include -I/usr/X11R6/include  -I../libltdl -DEXTENSION_DIR='"/usr/local/kde-3.5-beta-1/lib"' -DTRADER_DIR='"/usr/local/kde-3.5-beta-1/lib/mcop"' -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -g3 -fno-inline -O3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden  -ftemplate-depth-99  -MT unixserver.lo -MD -MP -MF ".deps/unixserver.Tpo" -c -o unixserver.lo unixserver.cc; \
then mv -f ".deps/unixserver.Tpo" ".deps/unixserver.Plo"; else rm -f ".deps/unixserver.Tpo"; exit 1; fi

-----------------

Set $PATH, update ld.so.conf, as root "init 1" then "init 5". Result is:

-----------------

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1209140768 (LWP 2012)]
[KCrash handler]
#4  0x0038cfc3 in __gnu_cxx::__pool<true>::_M_reclaim_block (this=0x806efa0,
    __p=0x8ca77c8 "`\237�b", __bytes=8)
    at ../../.././libstdc++-v3/src/mt_allocator.cc:254
#5  0x08057da3 in ~_Vector_base (this=0x8c86ed0)
    at /usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:115
#6  0x08057dee in ~vector (this=0x8c86ed0)
    at /usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:268
#7  0x0805afa9 in SimpleSoundServer_impl (this=0x8c3850c,
    __vtt_parm=0x8063b88) at simplesoundserver_impl.cc:245
#8  0x08058d9d in SoundServer_impl (this=0x8c38480, __vtt_parm=0x8063b84)
    at soundserver_impl.h:37
#9  0x08053cca in SoundServerV2_impl (this=0x8c38480)
    at soundserverv2_impl.cc:51
#10 0x08058ead in SoundServerV2_impl_Factory::createInstance (this=0x806ef7c)
    at soundserverv2_impl.cc:383
#11 0x00c324a6 in Arts::ObjectManager::create (this=0x8bde0e0,
    name=@0xbfd169b4) at objectmanager.cc:59
#12 0x00666566 in Arts::SoundServerV2_base::_create (subClass=@0xbfd169b4)
    at soundserver.cc:1683
#13 0x00666630 in Arts::SoundServerV2::_Creator () at soundserver.cc:2221
#14 0x08053fc2 in Arts::Object::Pool::checkcreate (this=0x8bdd620)
    at ../mcop/reference.h:124
#15 0x0805f304 in Arts::SoundServerV2::_method_call (this=0xbfd16ae8)
    at soundserver.h:980
#16 0x0805f429 in Arts::SoundServerV2::autoSuspendSeconds (this=0xbfd16ae8,
    _newValue=60) at soundserver.h:1812
#17 0x0805eebf in main (argc=14, argv=0xbfd16bf4) at artsd.cc:320

-----------------

BTW: I get crashes with arts/ in KDE3.4.2 compiled with the standard FC4 gcc and no xFLAGS and no --enable-debug.

Hope this helps.

Cheers,

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20050930/d0d196d0/attachment.htm>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list