[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: Arts and gcc4.x
From:       me <kev.gilbert () cdu ! edu ! au>
Date:       2005-09-30 1:18:38
Message-ID: 200509301036.38832.kev.gilbert () cdu ! edu ! au
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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


[Attachment #5 (text/html)]

<html><head><meta name="qrichtext" content="1" /></head><body \
style="font-size:11pt;font-family:Nimbus Sans L"> <p>On Fri September 30 2005 06:17, \
Tobias Gerschner wrote:</p> <p><span style="color:#008000">&gt; hi,</span></p>
<p><span style="color:#008000">&gt;</span></p>
<p><span style="color:#008000">&gt; using arts here with gcc-4.0.1 with pretty \
agressive optimization flags.</span></p> <p><span style="color:#008000">&gt; It's \
working fine, here. Never experienced any issues so far. Can you point</span></p> \
<p><span style="color:#008000">&gt; me towards a mail / bug, why it's exactly broken \
?</span></p> <p></p>
<p>I just just finished testing the following:</p>
<p></p>
<p>-----------------</p>
<p></p>
<p><span style="font-family:Monospace">export CXXFLAGS=&quot;-O3&quot;</span></p>
<p><span style="font-family:Monospace">export CFLAGS=&quot;-O3&quot;</span></p>
<p><span style="font-family:Monospace">./configure \
--prefix=/usr/local/kde-3.5-beta-1/ --enable-debug=full</span></p> <p><span \
style="font-family:Monospace">make -j 2</span></p> <p><span \
style="font-family:Monospace">make install</span></p> <p></p>
<p>-----------------</p>
<p></p>
<p>As an example of the compile script:</p>
<p></p>
<p>-----------------</p>
<p></p>
<p><span style="font-family:Monospace">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='&quot;/usr/local/kde-3.5-beta-1/lib&quot;' \
-DTRADER_DIR='&quot;/usr/local/kde-3.5-beta-1/lib/mcop&quot;' -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 &quot;.deps/unixserver.Tpo&quot; \
-c -o unixserver.lo unixserver.cc; \</span></p> <p><span \
style="font-family:Monospace">then mv -f &quot;.deps/unixserver.Tpo&quot; \
&quot;.deps/unixserver.Plo&quot;; else rm -f &quot;.deps/unixserver.Tpo&quot;; exit \
1; fi</span></p> <p></p>
<p>-----------------</p>
<p></p>
<p>Set $PATH, update ld.so.conf, as root &quot;init 1&quot; then &quot;init 5&quot;. \
Result is:</p> <p></p>
<p>-----------------</p>
<p></p>
<p><span style="font-family:Monospace">Using host libthread_db library \
&quot;/lib/libthread_db.so.1&quot;.</span></p> <p><span \
style="font-family:Monospace">[Thread debugging using libthread_db \
enabled]</span></p> <p><span style="font-family:Monospace">[New Thread -1209140768 \
(LWP 2012)]</span></p> <p><span style="font-family:Monospace">[KCrash \
handler]</span></p> <p><span style="font-family:Monospace">#4  0x0038cfc3 in \
__gnu_cxx::__pool&lt;true&gt;::_M_reclaim_block (this=0x806efa0,</span></p> <p><span \
style="font-family:Monospace">    __p=0x8ca77c8 &quot;`\237�b&quot;, \
__bytes=8)</span></p> <p><span style="font-family:Monospace">    at \
../../.././libstdc++-v3/src/mt_allocator.cc:254</span></p> <p><span \
style="font-family:Monospace">#5  0x08057da3 in ~_Vector_base \
(this=0x8c86ed0)</span></p> <p><span style="font-family:Monospace">    at \
/usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:115</span></p>
 <p><span style="font-family:Monospace">#6  0x08057dee in ~vector \
(this=0x8c86ed0)</span></p> <p><span style="font-family:Monospace">    at \
/usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:268</span></p>
 <p><span style="font-family:Monospace">#7  0x0805afa9 in SimpleSoundServer_impl \
(this=0x8c3850c,</span></p> <p><span style="font-family:Monospace">    \
__vtt_parm=0x8063b88) at simplesoundserver_impl.cc:245</span></p> <p><span \
style="font-family:Monospace">#8  0x08058d9d in SoundServer_impl (this=0x8c38480, \
__vtt_parm=0x8063b84)</span></p> <p><span style="font-family:Monospace">    at \
soundserver_impl.h:37</span></p> <p><span style="font-family:Monospace">#9  \
0x08053cca in SoundServerV2_impl (this=0x8c38480)</span></p> <p><span \
style="font-family:Monospace">    at soundserverv2_impl.cc:51</span></p> <p><span \
style="font-family:Monospace">#10 0x08058ead in \
SoundServerV2_impl_Factory::createInstance (this=0x806ef7c)</span></p> <p><span \
style="font-family:Monospace">    at soundserverv2_impl.cc:383</span></p> <p><span \
style="font-family:Monospace">#11 0x00c324a6 in Arts::ObjectManager::create \
(this=0x8bde0e0,</span></p> <p><span style="font-family:Monospace">    \
name=@0xbfd169b4) at objectmanager.cc:59</span></p> <p><span \
style="font-family:Monospace">#12 0x00666566 in Arts::SoundServerV2_base::_create \
(subClass=@0xbfd169b4)</span></p> <p><span style="font-family:Monospace">    at \
soundserver.cc:1683</span></p> <p><span style="font-family:Monospace">#13 0x00666630 \
in Arts::SoundServerV2::_Creator () at soundserver.cc:2221</span></p> <p><span \
style="font-family:Monospace">#14 0x08053fc2 in Arts::Object::Pool::checkcreate \
(this=0x8bdd620)</span></p> <p><span style="font-family:Monospace">    at \
../mcop/reference.h:124</span></p> <p><span style="font-family:Monospace">#15 \
0x0805f304 in Arts::SoundServerV2::_method_call (this=0xbfd16ae8)</span></p> <p><span \
style="font-family:Monospace">    at soundserver.h:980</span></p> <p><span \
style="font-family:Monospace">#16 0x0805f429 in \
Arts::SoundServerV2::autoSuspendSeconds (this=0xbfd16ae8,</span></p> <p><span \
style="font-family:Monospace">    _newValue=60) at soundserver.h:1812</span></p> \
<p><span style="font-family:Monospace">#17 0x0805eebf in main (argc=14, \
argv=0xbfd16bf4) at artsd.cc:320</span></p> <p></p>
<p>-----------------</p>
<p></p>
<p>BTW: I get crashes with arts/ in KDE3.4.2 compiled with the standard FC4 gcc and \
no xFLAGS and no --enable-debug.</p> <p></p>
<p>Hope this helps.</p>
<p></p>
<p>Cheers,</p>
<p></p>
<p>Kevin</p>
<p></p>
</body></html>



_______________________________________________
kde-multimedia mailing list
kde-multimedia@kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic