Re: m68k: main.c:(.init.text+0x730): undefined reference to `strlen'

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Geert Uytterhoeven <geert@...>, Linux/m68k <linux-m68k@...>, Linux Kernel Development <linux-kernel@...>
Date: Wednesday, May 14, 2008 - 10:28 am

Adrian Bunk <bunk@kernel.org> writes:


I don't think the strlen macros has any influence in this case (it
already uses __builtin_strlen anyway).  I'd rather guess that gcc is
expanding strncat internally to something involving strlen with
non-constant argument, although I cannot see how that can happen from a
quick look.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
m68k: main.c:(.init.text+0x730): undefined reference to `str..., Geert Uytterhoeven, (Wed May 14, 4:02 am)
Re: m68k: main.c:(.init.text+0x730): undefined reference to ..., Andreas Schwab, (Wed May 14, 10:28 am)
Re: m68k: main.c:(.init.text+0x730): undefined reference to ..., Geert Uytterhoeven, (Wed May 14, 4:14 pm)