I agree it looks like a compiler bug.  Generally these are caused by
optimizations so a quick check would be to compile with debug which
should succeeed and then fail with optimizatons on. As a rule the core
compiler is correct. If thats true then your faced with the painful
task of trying to come up with a test case which may need a lot of
code to trigger some of the global optimizations.  In this case the
gcc team may accept the assembler output since it seems that they
emitted the same function twice.
You should check there bug log also since this looks like something
that should show up in a number of places.

I replicated the vt switch crash with a pure directfb app and now am
puzzling over it.
I'm concerned that it seems to be a problem between signals and the
posix thread library.
Using signals  in a threaded application is not a good idea.

Mike


On 11/24/05, Davide Viti <[EMAIL PROTECTED]> wrote:
> Hi Mike,
> today I spent some time trying to see what could be the
> cause of the failure: I examined the libs dates and
> tried to re-create the same set of sources that I managed
> to compile when you released the patch for 2.8.3.
> Unfortunately it still fails when compiling Cairo; I tried to
> use another version of gcc on my stable chroot:
>
> gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
>
> and I managed to compile cairo and most of the libs (it fails
> with gtk+ but it does not matter)
> Which makes me think the cause of such failures is gcc, which has
> been updated lately.
> To be more precise it certainly failed with:
>
> gcc (GCC) 4.0.3 20051023 (prerelease) (Debian 4.0.2-3)
> gcc (GCC) 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)
>
> and it probably worked before.
> Hope this helps,
>
> Davide
>
>
> > That I've never seen before I'm as puzzled as you.
> >
> > On 11/16/05, Davide Viti <zinosat at tiscali.it> wrote:
> > > Hi,
> > > Trying to rebuild the set of libraries including the latest
> > > patches proposed by Mike, I noticed a fail while building
> > > Cairo:
> > >
> > > zino at slurp:~/LIBS/cairo-1.0.2$ make
> > > make  all-recursive
> > > make[1]: Entering directory `/home/zino/LIBS/cairo-1.0.2'
> > > Making all in pixman
> > > make[2]: Entering directory `/home/zino/LIBS/cairo-1.0.2/pixman'
> > > Making all in src
> > > make[3]: Entering directory `/home/zino/LIBS/cairo-1.0.2/pixman/src'
> > > if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
> > > -I. -I../.. -I../.. -I.     -g -O2 -MT fbpict.lo -MD -MP -MF 
> > > ".deps/fbpict.Tpo" -c -o fbpict.lo fbpict.c; \
> > > then mv -f ".deps/fbpict.Tpo" ".deps/fbpict.Plo"; else rm -f 
> > > ".deps/fbpict.Tpo"; exit 1; fi
> > >  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -g -O2 -MT fbpict.lo -MD 
> > > -MP -MF .deps/fbpict.Tpo -c fbpict.c  -fPIC -DPIC -o .libs/fbpict.o
> > > /tmp/ccYAGpnc.s: Assembler messages:
> > > /tmp/ccYAGpnc.s:8160: Error: symbol `_cairo_pixman_composite' is already 
> > > defined
> > > make[3]: *** [fbpict.lo] Error 1
> > > make[3]: Leaving directory `/home/zino/LIBS/cairo-1.0.2/pixman/src'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/zino/LIBS/cairo-1.0.2/pixman'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/zino/LIBS/cairo-1.0.2'
> > > make: *** [all] Error 2
> > >
> > > ============================================
> > > zino at slurp:~/LIBS/cairo-1.0.2$ gcc --version
> > > gcc (GCC) 4.0.3 20051023 (prerelease) (Debian 4.0.2-3)
> > > Copyright (C) 2005 Free Software Foundation, Inc.
> > > This is free software; see the source for copying conditions.  There is NO
> > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
> > > PURPOSE.
> > > ============================================
> > > zino at slurp:~/LIBS/cairo-1.0.2$ uname -a
> > > Linux slurp 2.6.8-1-686 #1 Thu Nov 25 04:34:30 UTC 2004 i686 GNU/Linux
> > > ============================================
> > >
> > > I followed the instructions described at:
> > > http://wiki.debian.org/DebianInstallerGUIBuild
> > >
> > > I've done it at least a million times... I'm rather puzzled.
> > > what am I missing?
> > >
> > > thanx in advance,
> > > Davide
>
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to