From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Sun, 30 Oct 2011 09:23:05 +0100 Subject: [U-Boot] [PATCH V3 3/3] mkimage: adding support for Davinci AIS image In-Reply-To: <4EACFCCB.5030609@denx.de> References: <1316166617-11711-1-git-send-email-sbabic@denx.de> <1318846063-9496-1-git-send-email-sbabic@denx.de> <20111023210841.F3BF31408771@gemini.denx.de> <4EAC2EF5.6050401@googlemail.com> <4EACFCCB.5030609@denx.de> Message-ID: <4EAD0969.2030209@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 30.10.2011 08:29, stefano babic wrote: > Am 29/10/2011 18:51, schrieb Dirk Behme: > >> >> Hmm, using recent git head this results in > > Hi Remy, > >> >> aisimage.c: In function ?aisimage_generate?: >> aisimage.c:365: warning: ?tsize? may be used uninitialized in this function >> >> for each board I build :( >> >> E.g. >> >> Configuring for omap3_evm board... >> aisimage.c: In function ?aisimage_generate?: >> aisimage.c:365: warning: ?tsize? may be used uninitialized in this function >> text data bss dec hex filename >> 256063 7512 259120 522695 7f9c7 ./u-boot > > Apart from the fact that the tsize parameter is not needed anymore and I > will fix it, can I ask you which toolchain and which gcc have you used ? Seems I still have the good old gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) in my path. Best regards Dirk > I have tried with a very old gcc 4.2.2 (ELDK-4.2) and gcc 4.6.1 > (ELDK-5.1). With the last one I get a warning, but for another reason: > > ./MAKEALL omap3_evm > Configuring for omap3_evm board... > musb_hcd.c: In function 'submit_control_msg': > musb_hcd.c:851:6: warning: variable 'csr' set but not used > [-Wunused-but-set-variable] > text data bss dec hex filename > 250892 7472 259120 517484 7e56c ./u-boot > > No warning with older gcc. > > Stefano >