delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/05/18/11:59:40

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Can't build the latest snapshot with gcc-2.95.2-1.
Mime-Version: 1.0 (generated by tm-edit 7.106)
From: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Date: 19 May 2000 00:56:37 +0900
Message-ID: <s1sr9azhmx6.fsf@jaist.ac.jp>
Lines: 58
X-Mailer: Gnus v5.3/Emacs 19.34

--Multipart_Fri_May_19_00:56:37_2000-1
Content-Type: text/plain; charset=US-ASCII

I can't build the latest snapshot properly with gcc-2.95.2-1 as
the following.

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 AT jaist DOT ac DOT jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

--Multipart_Fri_May_19_00:56:37_2000-1
Content-Type: text/plain; charset=US-ASCII

00000000 b .bss
00000000 d .data
00000000 d .data_cygwin_nocopy
00000000 t .text
         U _GetModuleHandleA AT 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.

--Multipart_Fri_May_19_00:56:37_2000-1--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019