All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislav Brabec <utx@penguin.cz>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [RFC] AMD64 and multilib support
Date: Wed, 15 Apr 2009 16:23:54 +0200	[thread overview]
Message-ID: <1239805434.21612.128.camel@hammer.suse.cz> (raw)
In-Reply-To: <200904151752.13116.khimov@altell.ru>

Roman I Khimov wrote:
> On Wednesday 15 April 2009 17:32:56 Stanislav Brabec wrote:

> > Both 32 bit and 64 bit libfoo will use this helper.
> 
> Given the nature of libexec dir that might be nice to have, so we wouldn't 
> override libexecdir but just not package it for 32-bit arch.

Exactly. Cross-arch exec() is possible.

Just for your info. openSUSE makes bi-arch in following way:

- Compile everything for i586 (in i586 build environment)

- Compile everything for x86_64 (in x86_64 build environment)

- Run baselibs utility, on i586 packages and extract libraries and
  possible extra stuff to -32bit packages. Baselibs utility can be
  configured per package.

- Make single repository from the stuff above.

The same works for ppc/ppc64 and s390/s390x.

> Just one thing - couldn't there be any situation where libexec program output 
> would be different for primary and supplementary architectures?

Yes, it can happen, but I am not aware of any real example.

But arch-dependent include files are not rare. Hopefully, most upstream
developers are aware of bi-arch problem and package platform specific
includes to libdir instead of includedir.

Example:
/usr/lib64/glib-2.0/include/glibconfig.h

You need extra rule for packaging of such stuff. Also glibc-dev would
need extra rules.

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: sbrabec@suse.cz
Lihovarská 1060/12           tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                                    http://www.suse.cz/




  reply	other threads:[~2009-04-15 14:27 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 12:33 [RFC] AMD64 and multilib support Roman I Khimov
2009-04-15 12:35 ` [PATCH 01/11] Add x86_64-generic machine Roman I Khimov
2009-04-15 12:35   ` [PATCH 02/11] binutils: add binutils-x86_64_i386_biarch.patch Roman I Khimov
2009-04-15 12:35     ` [PATCH 03/11] linux-libc-headers 2.6.23: fix amd64 headers Roman I Khimov
2009-04-15 12:35       ` [PATCH 04/11] gcc 4.2.4: add gcc-multilib64dir.patch Roman I Khimov
2009-04-15 12:35         ` [PATCH 05/11] gcc-cross-initial: add multilib overrides Roman I Khimov
2009-04-15 12:35           ` [PATCH 06/11] gcc-cross-intermediate: " Roman I Khimov
2009-04-15 12:35             ` [PATCH 07/11] gcc-cross: " Roman I Khimov
2009-04-15 12:35               ` [PATCH 08/11] glibc: move get_glibc_fpu_setting to glibc.inc Roman I Khimov
2009-04-15 12:35                 ` [PATCH 09/11] glibc: add initial-multilib Roman I Khimov
2009-04-15 12:35                   ` [PATCH 10/11] glibc: add multilib glibc Roman I Khimov
2009-04-15 12:36                     ` [PATCH 11/11] package.bbclass: add multilib libdir to search path Roman I Khimov
2009-04-15 19:28                 ` [PATCH 08/11] glibc: move get_glibc_fpu_setting to glibc.inc Khem Raj
2009-04-15 19:37                   ` Roman I Khimov
2009-04-15 19:23         ` [PATCH 04/11] gcc 4.2.4: add gcc-multilib64dir.patch Khem Raj
2009-04-15 19:31           ` Roman I Khimov
2009-04-16 22:10         ` Tom Rini
2009-04-17  4:35           ` Roman I Khimov
2009-04-17 17:59             ` Tom Rini
2009-04-15 19:09       ` [PATCH 03/11] linux-libc-headers 2.6.23: fix amd64 headers Khem Raj
2009-04-15 19:25         ` Roman I Khimov
2009-04-16  7:12           ` Khem Raj
2009-04-18 19:54             ` Roman I Khimov
2009-04-15 19:25     ` [PATCH 02/11] binutils: add binutils-x86_64_i386_biarch.patch Khem Raj
2009-04-16  5:28       ` Roman I Khimov
2009-04-16  7:14         ` Khem Raj
2009-04-16  8:47           ` Roman I Khimov
2009-04-17 22:37             ` [PATCH 02/11] binutils: add?binutils-x86_64_i386_biarch.patch Khem Raj
2009-04-18 15:44               ` Roman I Khimov
2009-04-21 20:22                 ` Roman I Khimov
2009-04-23  4:42                   ` [PATCH 02/11] binutils:?add?binutils-x86_64_i386_biarch.patch Khem Raj
2009-04-23  9:37                     ` Roman I Khimov
2009-04-27 10:28                       ` Roman I Khimov
2009-04-28 20:02                         ` [PATCH 02/11]?binutils:?add?binutils-x86_64_i386_biarch.patch Khem Raj
2009-04-15 13:01 ` [RFC] AMD64 and multilib support Stanislav Brabec
2009-04-15 13:32   ` Stanislav Brabec
2009-04-15 13:52     ` Roman I Khimov
2009-04-15 14:23       ` Stanislav Brabec [this message]
2009-04-15 14:55         ` Roman I Khimov
2009-04-15 16:03           ` Stanislav Brabec
2009-04-16 22:11 ` Tom Rini
2009-04-17  5:05   ` Roman I Khimov

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=1239805434.21612.128.camel@hammer.suse.cz \
    --to=utx@penguin.cz \
    --cc=openembedded-devel@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 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.