Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Fix jit-reader.h for multilib
Date: Mon, 12 Jan 2015 08:42:00 -0000	[thread overview]
Message-ID: <20150112084206.GA27188@host2.jankratochvil.net> (raw)
In-Reply-To: <87iogcsp6m.fsf@codesourcery.com>

On Mon, 12 Jan 2015 03:33:37 +0100, Yao Qi wrote:
> Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> > When we discuss it personally I do not think multilib should be applied to the
> > GDB package as there is nothing like /usr/lib{,64}/libgdb.so.  There is only
> > /usr/bin/gdb and that has always just one arch on one system.  So installing
> > gdb.i686 and gdb.x86_64 simultaneously does not have any benefits / makes
> > sense.  But despites this I need it for Red Hat packaging so I am fine to also
> > keep it just as a downstream patch.  OTOH I guess other OS packagers may also
> > face it so it may be easier for everyone to do it upstream.
> 
> Is multi-lib safety a Fedora/Red Hat specific packaging rule? or do
> other distributions need this too?

I do not know how other distributions do that. Debian 'gdb' does not seem to
ship jit-reader.h at all if I read Debian package listing correctly.

For other libraries Debian ships the file like Fedora does:

https://packages.debian.org/sid/amd64/libgpm-dev/filelist
	/usr/include/gpm.h
	/usr/lib/x86_64-linux-gnu/libgpm.so
https://packages.debian.org/sid/i386/libgpm-dev/filelist
	/usr/include/gpm.h
	/usr/lib/i386-linux-gnu/libgpm.so

What would happen if /usr/include/gpm.h content differs between amd64 and i386
build?  Fedora would refuse to install the second package due to conflicting
file content (sure unless forced to do so).

As I said this patch may not affect much/any other distros because
 * at least Debian does not ship jit-reader.h at all
 * other distros may not consider GDB as a multilib package


Jan


  reply	other threads:[~2015-01-12  8:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-07 17:36 Jan Kratochvil
2015-01-11 12:02 ` Yao Qi
2015-01-11 13:14   ` Jan Kratochvil
2015-01-12  2:33     ` Yao Qi
2015-01-12  8:42       ` Jan Kratochvil [this message]
2015-01-12  9:57         ` Joel Brobecker
2015-06-03 19:42       ` ping: " Jan Kratochvil

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=20150112084206.GA27188@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=yao@codesourcery.com \
    /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