[Top][All Lists]

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

Re: [Discuss-gnuradio] error

From: Eric Blossom
Subject: Re: [Discuss-gnuradio] error
Date: Mon, 10 Jan 2005 10:14:56 -0800
User-agent: Mutt/1.5.6i

On Mon, Jan 10, 2005 at 01:39:12PM +0100, Martin Dvh wrote:
> I get the same error here.
> I have debian testing (sarge) installed which has both gcc-3.3 and gcc-3.4
> test_all fails with both for different reasons (gcc-3.3 Bus Error, gcc-3.4 
> Segmentation fault).
> I have a gnuradio cvs version from a while back which was compiled with 
> the default gcc (gcc-3.3)
> >gcc --version
> >gcc (GCC) 3.3.4 (Debian 1:3.3.4-13)
> >./configure
> >make
> >make install
> >cd src/tests
> >./test_all
> .Testing gr_vmcircbuf_sysv_shm_factory...
> ....... gr_vmcircbuf_sysv_shm_factory: OK
> Testing gr_vmcircbuf_mmap_shm_open_factory...
> Bus error
> I have a recent cvs version compiled with gcc 3.4 which fails with a 
> segmentation fault.
> >gcc-3.4 --version
> gcc-3.4 (GCC) 3.4.2 (Debian 3.4.2-2)
> >CC=gcc-3.4 CPP=cpp-3.4 CXX=g++-3.4 ./configure
> >make CC=gcc-3.4 CPP=cpp-3.4 CXX=g++-3.4
> >make CC=gcc-3.4 CPP=cpp-3.4 CXX=g++-3.4 install
> >cd src/tests
> >./test_all
> Segmentation fault
> Still gnuradio seems to work sort-of. I do see some strange effects.

Debian users,

This is a problem somewhere in your Debian installation.
I'm not a Debian user, so I'm not inclined to track this down.
The problem could be that some library, e.g., libstdc++ is built with
the buggy compiler.  I've seen two possibly related problems.  These
problems do not show up on other GNU/Linux systems such as Mandrake or
FC 2 or 3.

(1) That shm_open was returning a non-zero value that was in fact not good.
(2) That constructor/destructors of stack allocated classes were not
    being properly handled.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]