Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e6deb71e-a8ad-0d62-1af0-bc562fd2d3ff@linaro.org>
Date: Thu, 23 Dec 2021 08:46:25 -0300
From: Adhemerval Zanella <adhemerval.zanella@...aro.org>
To: musl@...ts.openwall.com, Farid Zakaria <fmzakari@...c.edu>
Cc: "Scogland, Tom" <scogland1@...l.gov>, Carlos Maltzahn <carlosm@...c.edu>
Subject: Re: Dynamic linking of NEEDED with absolute path differs than
 that of glibc



On 21/12/2021 15:56, Farid Zakaria wrote:
> ```
> 
> glibc seems to happily link this and the executable runs.
> ```
> ldd ./tests/scratch/replace-add-needed/simple
> linux-vdso.so.1 (0x00007ffc98d98000)
> /some-fixed-path/libbar.so (0x00007f269b6d3000)
> /some-fixed-path/llibfoo.so (0x00007f269b6ce000)
> /lib/x86_64-linux-gnu/libc.so.6 (0x00007f269b509000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f269c6e3000)
> ```
> 

Not sure if this is what you are doing here, but keep in mind that
mixing glibc dynamic loader and libc with different versions is not
supported and can break any time.

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.