This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: _cygwin_crt0_common.cc: weak declaration not supported
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin-developers at cygwin dot com
- Date: Tue, 01 Sep 2009 12:44:47 +0100
- Subject: Re: _cygwin_crt0_common.cc: weak declaration not supported
- References: <914129.45428.qm@web25501.mail.ukl.yahoo.com>
Marco Atzeri wrote:
> $gcc --version
> gcc (GCC) 4.3.2 20080827 (beta) 2
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:24: warning: weak declaration of 'void* operator new(size_t)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:26: warning: weak declaration of 'void* operator new [](size_t)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:28: warning: weak declaration of 'void operator delete(void*)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:30: warning: weak declaration of 'void operator delete [](void*)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:32: warning: weak declaration of 'void* operator new(size_t, const std::nothrow_t&)' not supported
> ../../../../winsup/cygwin/lib/_cygwin_crt0_common.cc:34: warning: weak declaration of 'void* operator new [](size_t, const std::nothrow_t&)' not supported
> ../.../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:36: warning: weak declaration of 'void operator delete(void*, const std::nothrow_t&)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:38: warning: weak declaration of 'void operator delete [](void*, const std::nothrow_t&)' not supported
> make[3]: *** [_cygwin_crt0_common.o] Error 1
>
> Am I missing some configuration setup ?
Sure looks like something went wrong somewhere. You didn't show us the
actual build line from that logfile, so we can't see, but I'd guess it has
just plain "gcc" at the start, not "gcc-4"?
cheers,
DaveK