Re: [PATCH] 2.4.33-rc3 needs to export memchr() for smbfs

From: Grant Coady
Date: Wed Aug 02 2006 - 23:25:36 EST


On Thu, 3 Aug 2006 04:40:37 +0200, Willy Tarreau <w@xxxxxx> wrote:

>On Thu, Aug 03, 2006 at 11:21:51AM +1000, Grant Coady wrote:
>> On Wed, 2 Aug 2006 23:46:08 +0200, Willy Tarreau <w@xxxxxx> wrote:
>>
>> >Hi Marcelo,
>> >
>> >just finished building 2.4.33-rc3 on my dual-CPU Sun U60 (works
>> >fine BTW). I noticed that smbfs built as a module needs memchr()
>> >since a recent fix, so this one now needs to be exported, which
>> >this patch does. Sources show that the lp driver would need it
>> >too is console on LP is enabled and LP is set as a module (which
>> >seems stupid to me anyway). I've pushed it into -upstream if you
>> >prefer to pull from it.
>> >
>> >Overall, 2.4.33-rc3 seems to be OK to me. I don't think that
>> >an additionnal -rc4 would be needed just for this export (Grant
>> >CCed in case he's wishing to do a few more builds, you know
>> >him... :-) ).
>>
>> Just one build, deltree server 'cos it exports some shares to 'doze
>> boxen. Seems to be okay without the patch but...
>>
>> Makes no difference to my limited usage here. Didn't break ;)
>
>Interesting, I wonder whether memchr() may be a gcc builtin on some
>archs, explaining why it works without the patch on your machine.

Compile host is Slackware-10.2, and:
~$ gcc --version
gcc (GCC) 3.3.6

Grant.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/