Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 4 Nov 2012 23:21:42 +0400
From: Vasily Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: glibc

On Wed, Oct 31, 2012 at 22:55 +0400, Dmitry V. Levin wrote:
> The first one already contains references to getenv, and it goes to libc.a
> anyway, so this is not an issue.
> 
> The second one comes from elf/rtld.c that had no references to
> getenv before.

Sure.

> The following patch fixes the linking problem by replacing __strncmp_ia32
> with strncmp and removing __GI_strncmp in rtld-strncmp-c.os:

This works, thanks!  I see you've added it to your git tree only now,
did it work before or you just haven't tested the tree on i686?

> --- a/sysdeps/i386/i686/multiarch/strncmp-c.c
> +++ b/sysdeps/i386/i686/multiarch/strncmp-c.c
> @@ -1,4 +1,4 @@
> -#ifdef SHARED
> +#if defined SHARED && !defined NOT_IN_libc
>  # define STRNCMP __strncmp_ia32
>  # undef libc_hidden_builtin_def
>  # define libc_hidden_builtin_def(name)  \

-- 
Vasiliy

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.