All of lore.kernel.org
 help / color / mirror / Atom feed
From: Detlef Vollmann <dv@vollmann.ch>
To: openembedded-devel@openembedded.org
Subject: Re: BB_STAMP_POLICY
Date: Mon, 02 Jun 2008 12:35:02 +0200	[thread overview]
Message-ID: <4843CCD6.8070601@vollmann.ch> (raw)
In-Reply-To: <g1jlpn$f7f$1@ger.gmane.org>

Koen Kooi wrote:
> 11:37:33 Koen: is BB_STAMP_POLICY documented somewhere?
> 11:37:47 Richard Purdie: Not really
> 11:38:03 Richard Purdie: Takes the values "file" "whitelist" or "full"
> 11:38:35 Richard Purdie: "file" is the traditional behaviour with stamps 
> just checked within a given recipe
> 11:38:46 Richard Purdie: "full" checks all the dependencies are consistent
> 11:39:12 Richard Purdie: "whitelist" allows some packages to be excluded 
> from the stamp checking basically so packages staging can work
Just for info: I've tested "whitelist" pretty extensivly over the past
few weeks and I'm pretty confident that all the bugs are fixed now.

But I've run into a fundamental problem with dependency checking:
for one of our projects we're changing frequently between NPTL
and linuxthreads for glibc (we'd like to use NPTL for the features,
but run again and again into problems with NPTL).
Normally, this change is just a flip of GLIBC_ADDONS in the distro
config file.  But of course the value of this specific variable
is not tracked by the dependency checking (which is IMHO correct).
So what I did is to split the glibc recipes into a linuxthreads
one and an NPTL one (which was quite some exercise).
Now I face the problem to separate glibc between "--with-tls"
and "--without-tls", which would be a change for
EXTRA_OECONF_glibc-linuxthreads in my distro conf file, but
again this defeats dependency tracking.  So I would have to
split glibc(-linuxthreads) again, but I'm a bit reluctant
to do so...

One solution for that would be to introduce something like
use flags, which could be included into the stamp information
and used for dependency checking.  But there were a number
of discussions about use flags on this list and there was
quite some opposition.
IIRC, this opposition was mainly against the cross-package
nature of use flags, but we don't need this for dependency
checking.  What we need is a naming scheme that the dependency
checker knows about so that it can include specific variables
into the stamp information, something like
USE_glibc_ADDONS = "nptl"
USE_glibc_EXTRA_OECONF = "--with-tls --with-__thread"

What do people think about this, or is there a completely
different way to solve the underlying problem?

   Detlef




  reply	other threads:[~2008-06-02 10:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28 13:13 BB_STAMP_POLICY Koen Kooi
2008-06-02 10:35 ` Detlef Vollmann [this message]
2008-06-02 11:07   ` BB_STAMP_POLICY Richard Purdie
2008-06-02 22:09     ` BB_STAMP_POLICY Detlef Vollmann
2008-06-02 23:45       ` BB_STAMP_POLICY Richard Purdie
2008-06-03  5:05         ` BB_STAMP_POLICY Detlef Vollmann

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=4843CCD6.8070601@vollmann.ch \
    --to=dv@vollmann.ch \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.