Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/2] uclibc.inc: uclibc rtld does support GNU_HASH
Date: Wed, 9 May 2012 09:49:57 -0500	[thread overview]
Message-ID: <4FAA8415.40006@windriver.com> (raw)
In-Reply-To: <CAMKF1sp0-We3JrGue+J-scDv0JCOHg5O44G9AZaPO3xfzNO2AQ@mail.gmail.com>

On 5/8/12 9:09 PM, Khem Raj wrote:
> On Tue, May 8, 2012 at 6:53 PM, Marko Lindqvist<cazfi74@gmail.com>  wrote:
>> On 9 May 2012 04:36, Khem Raj<raj.khem@gmail.com>  wrote:
>>> On Tue, May 8, 2012 at 5:59 PM, Marko Lindqvist<cazfi74@gmail.com>  wrote:
>>>>
>>>>
>>>>   You should know that I'm just figuring out what to do with
>>>> "rtld(GNU_HASH)" that already exist for eglibc. When building
>>>> deb-packets based image, that results in:
>>>> "reference to 'rtld': error in version: version number does not start
>>>> with digit"
>>>>
>>>>   I've confirmed that error message is caused by this by simply
>>>> removing "(GNU_HASH)" ->  eglibc build success
>>>
>>> yeah this is rpm brain damage actually that we are dealing with here.
>>> I think rpm should be fixed for this. I am not entirely sure why this
>>> would be needed on current OE-Core lets say if its needed it should then
>>> be made specific when someone is using rpm for packaging.
>>
>>   I've not yet figured out what all this tries to achieve, but are you
>> saying that it might be acceptable solution for eglibc too to simply
>> remove "(GNU_HASH)" if nobody from rpm world vetoes such patch?
>
> yes. We need to find why this PROVIDE is needed at all in current OE

The per-file "advanced" dependencies, which are not yet being used by ipkg or 
deb, include a marker for rtld support.  The libc on the system needs to have a 
provide that it supports GNU_HASH, otherwise a missing dependency occurs and the 
system knows the package and libc has a mismatch.

IPKG works with this, but apparently DEB does not.  We have two solutions that I 
see.

If the format of the RPROVIDE is legal in OE, then the DEB package solution 
needs to transform the provide into something that is legal for debian style 
packages.

If the format of the RPROVIDE is illegal in OE (and just happens to work), then 
the RPM package manager needs to transform the provide...

RPM is already doing a number of transforms to change from OE format to RPM 
format, I would expect the same behavior from other package managers -- assuming 
that the RPROVIDE is legal.

Who can definitively state what the legal RPROVIDE format is in OE?

--Mark

> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




  reply	other threads:[~2012-05-09 14:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09  0:43 [PATCH 0/2] Let uclibc provide rtld(GNU_HASH) Khem Raj
2012-05-09  0:43 ` [PATCH 1/2] uclibc.inc: uclibc rtld does support GNU_HASH Khem Raj
2012-05-09  0:59   ` Marko Lindqvist
2012-05-09  1:36     ` Khem Raj
2012-05-09  1:53       ` Marko Lindqvist
2012-05-09  2:09         ` Khem Raj
2012-05-09 14:49           ` Mark Hatle [this message]
2012-05-09 15:46             ` Marko Lindqvist
2012-05-09 23:57               ` Marko Lindqvist
2012-05-09 15:47             ` Khem Raj
2012-05-09 15:55               ` Mark Hatle
2012-05-09  0:43 ` [PATCH 2/2] classes/mirrors.bbclass: Point snapshot.debian.org mirror to working location Khem Raj
2012-05-16 18:02   ` Saul Wold
2012-05-11 17:36 ` [PATCH 0/2] Let uclibc provide rtld(GNU_HASH) Saul Wold
2012-05-11 19:09   ` Khem Raj
2012-05-16 22:37     ` Scott Garman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FAA8415.40006@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox