From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24790 invoked by alias); 7 Aug 2009 16:31:25 -0000 Received: (qmail 24780 invoked by uid 22791); 7 Aug 2009 16:31:24 -0000 X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43,J_CHICKENPOX_53,J_CHICKENPOX_63,J_CHICKENPOX_73,J_CHICKENPOX_83,J_CHICKENPOX_93,RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f220.google.com (HELO mail-fx0-f220.google.com) (209.85.220.220) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 07 Aug 2009 16:31:15 +0000 Received: by fxm20 with SMTP id 20so1498789fxm.0 for ; Fri, 07 Aug 2009 09:31:12 -0700 (PDT) Received: by 10.204.66.69 with SMTP id m5mr3340895bki.174.1249662671832; Fri, 07 Aug 2009 09:31:11 -0700 (PDT) Received: from smtp.gmail.com ([93.84.57.238]) by mx.google.com with ESMTPS id 22sm2799944fkq.53.2009.08.07.09.31.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 Aug 2009 09:31:10 -0700 (PDT) Date: Fri, 07 Aug 2009 16:31:00 -0000 From: Sergei Gavrikov To: Bart Veer Cc: John Dallaway , uwe.kindler@cetoni.de, ecos-devel@sourceware.org Subject: Re: Strange __cxa_pure_virtual problem Message-ID: <20090807163111.GA24893@ubuntu.local> References: <4A7C118C.20200@cetoni.de> <4A7C1841.6070900@dallaway.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-08/txt/msg00007.txt.bz2 On Fri, Aug 07, 2009 at 02:40:04PM +0100, Bart Veer wrote: [snip] > So, I think there is one solution (untested) that may work: > --- cdl/infra.cdl 29 Jan 2009 17:49:44 -0000 1.18 > +++ cdl/infra.cdl 7 Aug 2009 13:30:03 -0000 > @@ -59,7 +59,8 @@ cdl_package CYGPKG_INFRA { > compile startup.cxx prestart.cxx pkgstart.cxx userstart.cxx \ > dummyxxmain.cxx null.cxx simple.cxx fancy.cxx buffer.cxx \ > diag.cxx tcdiag.cxx memcpy.c memset.c delete.cxx eprintf.c \ > - pure.cxx gccsupport.cxx > + gccsupport.cxx > + compile -library=libextras.a pure.cxx > [snip] > This assumes moving pure.cxx to libextras.a fixes the problem. > Hopefully somebody will try this in the near future. > > Bart Hello Bart, I've tried it. It fixes __cxa_pure_virtual issue. I re-test it for the Uwe's request with i386-elf toolchain and turned off optimization. Thank you, Sergei