Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMSMCxn5GOs0Q8oouN13vhQEN1qoo5aM_OO_wouC9rZ4z9cAcQ@mail.gmail.com>
Date: Thu, 2 Apr 2015 14:08:08 -0700
From: Nathan McSween <nwmcsween@...il.com>
To: musl@...ts.openwall.com
Subject: Re: perl native musl, ldd

Analyse the source, if you can't do that analyse the binary. This is a big
project though, assuming apis are the same (no runtime tests) a
sufficiently useful package manager would be able to find packages that
could say work with a partial compat api and those that could not. The
alternative is to have the gentoo style 1000 monkeys.
On Apr 2, 2015 1:41 PM, "Jean-Marc Pigeon" <jmp@...e.ca> wrote:

> On 04/02/2015 02:48 PM, u-wsnj@...ey.se wrote:
> > On Thu, Apr 02, 2015 at 02:17:36PM -0400, Jean-Marc Pigeon wrote:
> >>>> bash-4.3# ldd SysV.so
> >>>>    ldd (0x7f5d60dd2000)
> >>>>    libc.so => ldd (0x7f5d60dd2000)
> >>>> Error relocating SysV.so: Perl_croak: symbol not found
> >>>> Error relocating SysV.so: Perl_sv_setiv: symbol not found
> >>>> Error relocating SysV.so: Perl_sv_2pv_flags: symbol not found
> >>>> Error relocating SysV.so: Perl_av_store: symbol not found
> >>>> etc.
> >
> >> I am using a packager using ldd to establish
> >> dependencies list.
> >
> > I would not say reporting the symbols is a bug, rather that the packager
> > is kind of relying on UB. Is there a specification of how a program
> called
> > "ldd" shall format its output and which data shall be present?
> >
> > Rune
> >
> Packager Relying on ldd UB, sure!.
> Using ldd was the best way I found to list one package all
> dependencies (looking at ELF file type ans searching for
> required external components).
> If you have a better way (more standard) to propose not using
> ldd that will be a good thing. idea?
>
>
> --
>
> A bientôt
> ===========================================================
> Jean-Marc Pigeon                        E-Mail: jmp@...e.ca
> SAFE Inc.                             Phone: (514) 493-4280
>   Clement, 'a kiss solution' to get rid of SPAM (at last)
>      Clement' Home base <"http://www.clement.safe.ca">
> ===========================================================
>
>

Content of type "text/html" skipped

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.