public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: "Michał Górny" <mgorny@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] crossdev and multilib interference
Date: Fri, 28 Mar 2014 02:33:09 -0400	[thread overview]
Message-ID: <2318673.p2B772y41A@vapier> (raw)
In-Reply-To: <20140327153131.3601bf01@pomiot.lan>

[-- Attachment #1: Type: text/plain, Size: 3208 bytes --]

On Thu 27 Mar 2014 15:31:31 Michał Górny wrote:
> Dnia 2014-03-27, o godz. 10:23:30 Mike Frysinger napisał(a):
> > On Thu 27 Mar 2014 10:10:07 Michał Górny wrote:
> > > Dnia 2014-03-27, o godz. 03:18:31 Mike Frysinger napisał(a):
> > > > On Thu 27 Mar 2014 07:51:32 Michał Górny wrote:
> > > > > Dnia 2014-03-27, o godz. 02:13:52 Mike Frysinger napisał(a):
> > > > > > On Wed 26 Mar 2014 01:17:14 Mike Frysinger wrote:
> > > > > > > (2) use tuples with loaded vendor fields to reduce the chance of
> > > > > > > collisions. e.g. having an ABI=amd64 system use
> > > > > > > i686-gentoo%multilib-linux-gnu instead of i686-pc-linux-gnu
> > > > > > > would
> > > > > > > defeat any automatic path searches.
> > > > > > 
> > > > > > this patch keeps the status quo.  although the status quo is
> > > > > > broken,
> > > > > > but
> > > > > > we
> > > > > > can sort that out independently.
> > > > > 
> > > > > Except that it breaks stuff that is installed at the point and comes
> > > > > with no plan of cleaning up the resulting mess.
> > > > 
> > > > such as ... ?  vague statements can't be addressed.
> > > 
> > > Such as all the builds that use ${CHOST}-foo currently. If you change
> > > CHOST, our users will have to find and rebuild all packages that
> > > install ${CHOST}-foos or otherwise random breakage will happen.
> > 
> > again, please give a concrete example
> 
> glib -- ${CHOST}-gdk-pixbuf-query-loaders (used in gnome2-utils.eclass)
> gpg-error -- ${CHOST}-gpg-error-config
> libgcrypt -- ${CHOST}-libgcrypt-config
> llvm -- ${CHOST}-llvm-config
> pango -- ${CHOST}-pango-querymodules
> 
> If you change CHOST, all invocations of those tools will fail randomly
> until the respective packages are rebuilt. In some cases it will call
> the wrong variant (resulting in borked output), in other it will call
> non-existing tool.

so the *-config scripts.  we already know these are broken, not only from a 
conceptual pov, but from real world too -- it relies on CHOST being unique.  
but this needs to be sorted out anyways since the current system isn't working 
(independent of crossdev usage), and perhaps that means breaking now so things 
are cleaner in the future.

for the gnupg projects, we've already disabled -L paths from being emitted, so 
the variants will still work (gpg-error-config will give the same answer as 
$CHOST-gpg-error-config wrt --libs and such).

the llvm/gdk/pango logic would probably break.  we had been looking at 
rewriting the gdk/pango stuff to not require direct execution (since this 
logic completely fails when cross-compiling) in Chromium OS, but that's been 
on the back burner for a while.  instead, we hand generate/mung the pango 
modules cache file, and we've punted gtk/gdk from the image, so we don't care 
it is broken.

the pango stuff is also broken because it uses /etc/pango/$CHOST in an attempt 
to get an ABI unique path.  we probably should change that to /etc/pango/$ABI 
or /etc/pango/$(get_libdir) or move it the multilib dir like the gdk cache 
does.  the gnome guys would know best.

the llvm impact doesn't look terribly big as very few things use it.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2014-03-28  6:33 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 15:46 [gentoo-dev] crossdev and multilib interference hasufell
2014-03-12 16:06 ` Alexandre Rostovtsev
2014-03-12 18:56   ` Alexis Ballier
2014-03-16 11:50   ` Greg Turner
2014-03-26  6:07     ` Mike Frysinger
2014-03-26 12:25       ` [gentoo-dev] " Steven J. Long
2014-03-26 16:12         ` Mike Frysinger
2014-03-26 16:23           ` Ian Stakenvicius
2014-03-27  2:41             ` Mike Frysinger
2014-03-27  4:41               ` Alexandre Rostovtsev
2014-03-27  6:07                 ` Mike Frysinger
2014-03-27  6:31                   ` Alexandre Rostovtsev
2014-03-27  6:41                     ` Mike Frysinger
2014-03-27  6:51                       ` Michał Górny
2014-03-27  7:23                         ` Mike Frysinger
2014-03-27  6:58                       ` Samuli Suominen
2014-03-27  8:41           ` [gentoo-dev] " Steven J. Long
2014-03-28  6:36             ` Mike Frysinger
2014-03-30  9:53               ` [gentoo-dev] " Steven J. Long
2014-06-15 20:35                 ` hasufell
2014-06-15 20:43                   ` Chí-Thanh Christopher Nguyễn
2014-06-16 13:37                     ` hasufell
2014-06-16 18:42                       ` Steev Klimaszewski
2014-06-16 19:31                         ` hasufell
2014-06-16 19:42                           ` Jeroen Roovers
2014-06-16 19:47                             ` hasufell
2014-06-16 20:05                               ` Joshua Kinard
2014-06-16 20:24                                 ` hasufell
2014-06-16 20:59                                   ` Joshua Kinard
2014-06-16 22:10                                     ` hasufell
2014-06-16 23:38                                       ` Joshua Kinard
2014-06-17  1:47                                         ` hasufell
2014-06-17  2:17                                           ` Joshua Kinard
2014-06-17 12:30                                             ` hasufell
2014-06-17 12:49                                               ` Rich Freeman
2014-06-17 13:53                                                 ` hasufell
2014-06-17 14:17                                                 ` Joshua Kinard
2014-06-17 14:56                                                   ` Alexandre Rostovtsev
2014-06-17 15:10                                                     ` Michał Górny
2014-06-18 15:24                                                       ` Peter Stuge
2014-06-19  7:58                                                         ` Michał Górny
2014-06-17 15:20                                                     ` Joshua Kinard
2014-06-18  5:08                                                       ` Alexandre Rostovtsev
2014-06-18  6:24                                                         ` Joshua Kinard
2014-06-18 14:18                                                           ` Ian Stakenvicius
2014-06-19 21:20                                                     ` [gentoo-dev] " Steven J. Long
2014-06-20 20:10                                                       ` [gentoo-dev] " Ian Stakenvicius
2014-06-21 10:31                                                         ` Greg Turner
2014-06-21 20:47                                                           ` Michał Górny
2014-08-01  9:05                                                         ` Steven J. Long
2014-08-01 14:36                                                           ` Ian Stakenvicius
2014-08-01 18:17                                                             ` [gentoo-dev] " Steven J. Long
2014-06-18  4:29                                                   ` [gentoo-dev] " Ryan Hill
2014-06-17 14:04                                               ` [gentoo-dev] Re: " Joshua Kinard
2014-06-17 14:38                                                 ` hasufell
2014-06-17 15:02                                                   ` Joshua Kinard
2014-06-17 15:18                                                     ` hasufell
2014-06-17 15:37                                                     ` hasufell
2014-06-17 12:48                                             ` hasufell
2014-06-17 14:31                                               ` Joshua Kinard
2014-06-17 13:25                                         ` Ian Stakenvicius
2014-06-17 14:22                                           ` Michał Górny
2014-06-17 14:34                                             ` Joshua Kinard
2014-06-16 23:25                                   ` Patrick Lauer
2014-06-16 20:27                                 ` Ian Stakenvicius
2014-06-16 21:42                                   ` [gentoo-dev] " Jeroen Roovers
2014-06-17  0:03                                     ` Joshua Kinard
2014-06-16 20:25                         ` [gentoo-dev] Re: Re: " hasufell
2014-06-16  2:24                   ` [gentoo-dev] " Ryan Hill
2014-06-16 13:27                     ` hasufell
2014-06-17  4:52                       ` Ryan Hill
2014-06-17 12:29                         ` hasufell
2014-03-29  1:21       ` [gentoo-dev] " Maciej Mrozowski
2014-03-16 12:01   ` Greg Turner
2014-03-13  8:55 ` Michał Górny
2014-03-13 12:20   ` Alexandre Rostovtsev
2014-03-26  5:17   ` Mike Frysinger
2014-03-27  6:13     ` Mike Frysinger
2014-03-27  6:51       ` Michał Górny
2014-03-27  7:18         ` Mike Frysinger
2014-03-27  9:10           ` Michał Górny
2014-03-27 14:23             ` Mike Frysinger
2014-03-27 14:31               ` Michał Górny
2014-03-28  6:33                 ` Mike Frysinger [this message]
2014-03-29 21:39                   ` Michał Górny

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=2318673.p2B772y41A@vapier \
    --to=vapier@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=mgorny@gentoo.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