This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: Can't build the latest snapshot with gcc-2.95.2-1.


On Fri, May 19, 2000 at 12:56:37AM +0900, Kazuhiro Fujieda wrote:
>I can't build the latest snapshot properly with gcc-2.95.2-1 as
>the following.

Hmm.  Corinna saw this too but neither DJ or I see this.  Is this
from a completely clean build?

cgf

>gcc -o mount.exe mount.o -lnetapi32 -ladvapi32
>mount.o(.text+0x29):mount.cc: undefined reference to `muto::~muto(void)'
>/Home/fujieda/cygwin/snap/OBJ/i686-pc-cygwin/winsup/cygwin/libcygwin.a(libccrt0.o)(.text+0x29):libccrt0.cc: undefined reference to `muto::~muto(void)'
>collect2: ld returned 1 exit status
>make[1]: *** [mount.exe] Error 1
>make[1]: Leaving directory `/Home/fujieda/cygwin/snap/OBJ/i686-pc-cygwin/winsup/utils'
>make: *** [utils] Error 2
>
>As far as I look into the output of `nm libccrt0.o' (attached
>below), the compiler seems to put the unnecessary reference to
>the destructor into the libccrt0.o. Should I use the latest
>snapshot of GCC?
>____
>  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
>  | HOKURIKU  School of Information Science
>o_/ 1990      Japan Advanced Institute of Science and Technology

>00000000 b .bss
>00000000 d .data
>00000000 d .data_cygwin_nocopy
>00000000 t .text
>         U _GetModuleHandleA@4
>         U __$_4muto
>00000010 b __$tmp_0.91
>         U ___CTOR_LIST__
>         U ___DTOR_LIST__
>00000000 t ___gnu_compiled_cplusplus
>00000000 d ___mbuf.90
>00000018 t ___tcf_0
>         U __bss_end__
>         U __bss_start__
>         U __data_end__
>         U __data_start__
>00000008 B __fmode
>00000000 B __impure_ptr
>         U _calloc
>00000138 T _cygwin_attach_dll
>00000114 T _cygwin_crt0
>00000034 t _cygwin_crt0_common__FPFiPPcPPc_i
>         U _dll_crt0__FP11per_process
>         U _dll_dllcrt0
>00000004 B _environ
>         U _free
>         U _malloc
>         U _realloc
>00000020 b _this_proc
>00000000 t gcc2_compiled.

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