From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31278 invoked by alias); 29 Jun 2009 07:52:42 -0000 Received: (qmail 31270 invoked by uid 22791); 29 Jun 2009 07:52:42 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f227.google.com (HELO mail-fx0-f227.google.com) (209.85.220.227) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 07:52:35 +0000 Received: by fxm27 with SMTP id 27so3821871fxm.30 for ; Mon, 29 Jun 2009 00:52:32 -0700 (PDT) Received: by 10.103.2.14 with SMTP id e14mr3896574mui.41.1246261952097; Mon, 29 Jun 2009 00:52:32 -0700 (PDT) Received: from smtp.gmail.com ([86.57.137.251]) by mx.google.com with ESMTPS id 25sm13486773mul.20.2009.06.29.00.52.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 29 Jun 2009 00:52:31 -0700 (PDT) Date: Mon, 29 Jun 2009 07:52:00 -0000 From: Sergei Gavrikov To: Simon Kallweit Cc: Rutger Hofman , "ecos-devel@ecos.sourceware.org" Subject: Re: Rutger's NAND flash now has a synth package Message-ID: <20090629075442.GA30703@sg-ubuntu.local> References: <4A475994.7010203@cs.vu.nl> <4A48623F.2080500@intefo.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A48623F.2080500@intefo.ch> User-Agent: Mutt/1.5.13 (2006-08-11) 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-06/txt/msg00044.txt.bz2 On Mon, Jun 29, 2009 at 08:42:07AM +0200, Simon Kallweit wrote: > Rutger Hofman wrote: > >An aside: I run Ubuntu. At first, I couldn't run synth at all. > >Applications would crash, and gdb would crash on the application too! > >After some list searching, I found out that this probably is > >Ubuntu-specific. We need to include -fno-stack-protector in the > >GLOBAL_CFLAGS configure flag. Request: cannot this be automated for > >synth building? My guess is that it will not harm on systems other than > >Ubuntu, and it will save Ubuntu users effort. > > I observed the same bug. But I started using eCosCentrics i386 toolchain > for my synth builds which works fine with standard configuration. It > will also make sure that I don't run into GCC specifics from time to > time, as the distro's toolchain is updated quite often. Hi My 2 cents. That i386-elf GCC build has not `libgcc_eh.a' library find /opt/ecos/gnutools/i386-elf/ -name libgcc_eh.a << no output >> but the library is "used" for synth hal/synth/arch/current/src/synth.ld: #if (__GNUC__ >= 3) GROUP(libtarget.a libgcc.a libsupc++.a libgcc_eh.a) #else GROUP(libtarget.a libgcc.a) #endif Can we manage the check the above with CDL? Because 2 odd? steps to make synth tests are necessary 1) Import this option cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX { user_value i386-elf }; 2) Workaround for the absent libgcc_eh.a in ld GROUP sed -i 's/ libgcc_eh.a//' install/lib/target.ld Sergei