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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Wednesday, May 14, 2008 - 8: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 `s ..., Geert Uytterhoeven, (Wed May 14, 1:02 am)
Re: m68k: main.c:(.init.text+0x730): undefined reference t ..., Adrian Bunk, (Wed May 14, 8:30 am)
Re: m68k: main.c:(.init.text+0x730): undefined reference t ..., Geert Uytterhoeven, (Wed May 14, 1:14 pm)