This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build glibc error


if skip strcmp.S
the only diff is

 __extern_always_inline void *
-__NTH (memmove (void *__restrict __dest, __const void *__restrict __src,
-               size_t __len))
+__NTH (memmove (void *__dest, __const void *__src, size_t __len))
 {
   return __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest));
 }
@@ -88,8 +87,7 @@ __NTH (memset (void *__dest, int __ch, size_t __len))

 #ifdef __USE_BSD
 __extern_always_inline void
-__NTH (bcopy (__const void *__restrict __src, void *__restrict __dest,
-             size_t __len))
+__NTH (bcopy (__const void *__src, void *__dest, size_t __len))
 {
   (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest));
 }

I patched it and still the same error.

On Wed, Feb 20, 2013 at 5:58 PM, Robert Schiele <rschiele@gmail.com> wrote:
> On Wed, Feb 20, 2013 at 10:55 AM, Li Li <fancyerii@gmail.com> wrote:
>> the patch seems not correct for me.
>> I am using glibc-2.10.1 and there is not sysdeps/i386/i686/multiarch/strcmp.S
>
> Just skip that part and only apply the rest of the patch. As I said I
> am not sure this is the cause of the problem in your case.
>
> Robert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]