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: Andreas Schwab <schwab@...>
Cc: Geert Uytterhoeven <geert@...>, Linux/m68k <linux-m68k@...>, Linux Kernel Development <linux-kernel@...>
Date: Wednesday, May 14, 2008 - 11:30 am

On Wed, May 14, 2008 at 04:28:24PM +0200, Andreas Schwab wrote:

The problem is that it sets __HAVE_ARCH_STRLEN, and therefore the 
out-of-line function in lib/string.c is not built.

That breaks when gcc replaces a call to a different function with a call 
to strlen().


We agree on this one.


It isn't the first time we have these problems in the kernel...


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
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 ..., Adrian Bunk, (Wed May 14, 11:30 am)
Re: m68k: main.c:(.init.text+0x730): undefined reference to ..., Geert Uytterhoeven, (Wed May 14, 4:14 pm)