From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30036 invoked by alias); 4 Apr 2012 12:57:48 -0000 Received: (qmail 30020 invoked by uid 22791); 4 Apr 2012 12:57:47 -0000 X-SWARE-Spam-Status: No, hits=3.1 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ip2.televic.com (HELO ip2.televic.com) (81.82.194.222) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Apr 2012 12:57:34 +0000 Received: from SRV-VS06.TELEVIC.COM ([10.0.0.46]) by SRV-VS06.TELEVIC.COM ([10.0.0.46]) with mapi; Wed, 4 Apr 2012 14:57:32 +0200 From: =?Windows-1252?Q?Lambrecht_J=FCrgen?= To: Ilija Kocho CC: Alex Schuilenburg , "ecos-devel@ecos.sourceware.org" , John Dallaway , Jonathan Larmour Date: Wed, 04 Apr 2012 12:57:00 -0000 Subject: Re: eCos GNU tools 4.6.3-20120315 [Was Re: eCos GNU tools 4.6.2-20120125 ready for testing] Message-ID: <4F7C453B.8080107@televic.com> References: <4F106345.4080902@siva.com.mk> <4F11574D.9070002@dallaway.org.uk> <4F11AC54.7000902@siva.com.mk> <4F1CB41C.90900@jifvik.org> <4F1DA9A0.5070702@siva.com.mk> <4F1FF5AD.4010901@ecoscentric.com> <4F39887A.5050905@siva.com.mk> <4F50F700.5080902@ecoscentric.com> <4F521D6A.4010500@siva.com.mk> <4F52B2C8.4010809@schuilenburg.org> <4F53C46B.4090502@dallaway.org.uk> <4F53FF0D.80107@ecoscentric.com> <4F574D4A.2090407@ecoscentric.com> <4F58EC32.9070103@ecoscentric.com> <4F5B8C70.4080208@dallaway.org.uk> <4F5E204B.5040402@ecoscentric.com> <4F5F4BFE.7030100@ecoscentric.com> <4F5F5691.4090009@siva.com.mk> <4F6632F4.9050603@siva.com.mk> In-Reply-To: <4F6632F4.9050603@siva.com.mk> user-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2012-04/txt/msg00000.txt.bz2 On 03/18/2012 08:09 PM, Ilija Kocho wrote: > > Hi Alex > > Thank you for testing 4.6.2-20120125. > > 4.6.3-20120315 is our new test release until we upgrade GDB with Jifl's > patch: > http://ecos.sourceware.org/ml/ecos-discuss/2012-03/msg00064.html > > Ilija > > Hi all, I finished building our "Passenger Information System" application with=20 gcc 4.6.3 (started with 4.6.2, noticed no difference when switching to=20 4.6.3). Before, we used gcc 3.2.1. I first built ecos v3.0 without any problem. Then I built our application, and it took me many days to solve all new=20 warnings (we compile with -Werror): - unused-but-set-variable -> gave me problems with MISRA rule /16.10/=20 (If a function returns error information, then that error information=20 shall be tested.) Our PC-lint checker forces any return argument to be=20 used, so I had to add __attribute__ ((unused)). Also, this warning is annoying for HW drivers: then you sometimes need=20 to read some bit just to trigger some behavior, but you are not=20 interested in the return value.. - pointer-sign - packed attribute (chars are byte aligned by default, so they are=20 "naturally packed=20 ". So=20 don't try to pack chars) - '#ifdef ... #elif' cannot be mixed any more ('#ifdef ... #elif=20 defined' instead) Finally I gave up (for this test) using -Werror because some customer=20 code we use is too badly written (I will wait for their update). But aside from those warnings, it builds fine, and also runs fine on our=20 AT91 ARM9 processor. No issues so far. Do you know something to watch out for? Next step is to build the same code version with the old compiler, and=20 see with the eCos CPU monitor if there is any difference. Kind regards, J=FCrgen --=20 J=FCrgen Lambrecht R&D Associate Tel: +32 (0)51 303045 Fax: +32 (0)51 310670 http://www.televic-rail.com Televic Rail NV - Leo Bekaertlaan 1 - 8870 Izegem - Belgium Company number 0825.539.581 - RPR Kortrijk