This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.0.2 breaks synth again....


On Fri, Oct 21, 2005 at 01:07:04PM +0100, Bart Veer wrote:
> >>>>> "Andrew" == Andrew Lunn <andrew@lunn.ch> writes:
> 
>     Andrew> gcc 4.0.2 has broken the synth cxxsupp test again. Other things seem
>     Andrew> OK.
> 
>     Andrew> gcc -L/home/lunn/eCos/work/install/lib -Ttarget.ld -o
>     Andrew> /home/lunn/eCos/work/install/tests/infra/current/tests/cxxsupp
>     Andrew> tests/cxxsupp.o -g -nostdlib -Wl,-static
>     Andrew> -Wl,--fatal-warnings
> 
>     Andrew> /usr/lib/gcc/i486-linux-gnu/4.0.2/libsupc++.a(vterminate.o):
>     Andrew> In function `__gnu_cxx::__verbose_terminate_handler()':
>     Andrew> undefined reference to `stderr'
> 
> What configuration is this? Using 4.0.1 __verbose_terminate_handler()
> gets pulled in in the default configuration but all its dependencies
> get resolved. Using a minimal configuration
> __verbose_terminate_handler() does not get pulled in. So it is
> probably something to do with memalloc.
> 
> Adding a dummy implementation to the synthetic target should be easy
> enough, but I would like to be sure that it is really needed and that
> it is not hiding a problem elsewhere.

It seems Debian have changed something again. It now links OK, but i
get a compiler warning....

/home/lunn/eCos/anoncvs-clean/packages/infra/current/tests/cxxsupp.cxx:65: warning: 'class Pure' has virtual functions but non-virtual destructor
/home/lunn/eCos/anoncvs-clean/packages/infra/current/tests/cxxsupp.cxx:95: warning: 'class Derived' has virtual functions but non-virtual destructor

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]