From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Date: Sun, 01 Nov 2009 16:49:30 -0600 Subject: [U-Boot] [PATCH] ARM: fix build error with gcc-4.4.2 about inline function declared weak In-Reply-To: <20091101215126.E1DAC3F6D9@gemini.denx.de> References: <1257104865-52003-1-git-send-email-walsimou@walsimou.com> <4AEDFC0D.8020004@windriver.com> <20091101215126.E1DAC3F6D9@gemini.denx.de> Message-ID: <4AEE107A.2030905@windriver.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear Tom, > > In message <4AEDFC0D.8020004@windriver.com> you wrote: >> What is your >> $(CROSS_COMPILE)gcc -v >> ? > > Tom, please note this issue is old, and in any case a patch,if checked > in, should be properly attributed. I think the first to bring this up > was Ron Lee; please see the whole thread here: > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/65397 > >> walsimou at walsimou.com wrote: >>> From: Abdoulaye Walsimou Gaye >>> >>> This patch fix build error with gcc-4.4.2 about inline function >>> declared weak, see below: > > Looks exactly the same as Ron's patch to me... > Deja vu.. Let try to fix it this time. The hold up issue is non inline, adds some wasted bytes. Is the linker smart enough to garbage collect them away ? Tom > Best regards, > > Wolfgang Denk >