delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/05/18/14:01:55

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Thu, 18 May 2000 13:51:01 -0400
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: Can't build the latest snapshot with gcc-2.95.2-1.
Message-ID: <20000518135101.A14123@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com
References: <s1sr9azhmx6 DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0
User-Agent: Mutt/1.1.12i
In-Reply-To: <s1sr9azhmx6.fsf@jaist.ac.jp>; from fujieda@jaist.ac.jp on Fri, May 19, 2000 at 12:56:37AM +0900

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 AT jaist DOT ac DOT 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 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.

- Raw text -


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