Debian Bug report logs - #543601
prelink compiles on all architectures

Package: buildd.debian.org; Maintainer for buildd.debian.org is Debian Buildd Team <wb-team@buildd.debian.org>;

Reported by: Kees Cook <kees@debian.org>

Date: Wed, 26 Aug 2009 01:45:08 UTC

Severity: normal

Tags: patch

Done: Kurt Roeckx <kurt@roeckx.be>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Buildd Team <wb-team@buildd.debian.org>:
Bug#543601; Package buildd.debian.org. (Wed, 26 Aug 2009 01:45:12 GMT) (full text, mbox, link).


Acknowledgement sent to Kees Cook <kees@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Buildd Team <wb-team@buildd.debian.org>. (Wed, 26 Aug 2009 01:45:12 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Kees Cook <kees@debian.org>
To: Debian Bugs <submit@bugs.debian.org>
Subject: prelink compiles on all architectures
Date: Tue, 25 Aug 2009 18:36:52 -0700
[Message part 1 (text/plain, inline)]
Package: buildd.debian.org
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Hello,

In Packages-arch-specific, please remove any limits for "prelink", as it
is arch-agnostic (it is an ELF parser).  Attached is a patch...

Thanks,

-Kees

-- 
Kees Cook                                            @debian.org
[drop-prelink.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Buildd Team <wb-team@buildd.debian.org>:
Bug#543601; Package buildd.debian.org. (Wed, 26 Aug 2009 12:45:47 GMT) (full text, mbox, link).


Acknowledgement sent to Kurt Roeckx <kurt@roeckx.be>:
Extra info received and forwarded to list. Copy sent to Debian Buildd Team <wb-team@buildd.debian.org>. (Wed, 26 Aug 2009 12:45:47 GMT) (full text, mbox, link).


Message #10 received at 543601@bugs.debian.org (full text, mbox, reply):

From: Kurt Roeckx <kurt@roeckx.be>
To: Kees Cook <kees@debian.org>, 543601@bugs.debian.org
Cc: aroldan@debian.org
Subject: Re: Bug#543601: prelink compiles on all architectures
Date: Wed, 26 Aug 2009 14:07:52 +0200
On Tue, Aug 25, 2009 at 06:36:52PM -0700, Kees Cook wrote:
> Package: buildd.debian.org
> Severity: normal
> Tags: patch
> User: ubuntu-devel@lists.ubuntu.com
> Usertags: origin-ubuntu karmic ubuntu-patch
> 
> Hello,
> 
> In Packages-arch-specific, please remove any limits for "prelink", as it
> is arch-agnostic (it is an ELF parser).  Attached is a patch...

As far as I know, it does need to know arch specific things.  It
needs to know about the different relocation types which depend
on the arch.  It seems to have those files in the src/ dir:
-rw-r--r-- 1 kurt kurt 13514 Mar 10 18:53 arch-alpha.c
-rw-r--r-- 1 kurt kurt 22973 Mar 10 18:53 arch-arm.c
-rw-r--r-- 1 kurt kurt 10669 Mar 10 18:54 arch-cris.c
-rw-r--r-- 1 kurt kurt 28465 Mar 10 18:54 arch-i386.c
-rw-r--r-- 1 kurt kurt 13604 Mar 10 18:54 arch-ia64.c
-rw-r--r-- 1 kurt kurt 31290 Mar 10 18:54 arch-mips.c
-rw-r--r-- 1 kurt kurt 30357 Mar 10 18:56 arch-ppc.c
-rw-r--r-- 1 kurt kurt 23600 Mar 10 18:55 arch-ppc64.c
-rw-r--r-- 1 kurt kurt 13578 Mar 10 18:56 arch-s390.c
-rw-r--r-- 1 kurt kurt 16388 Mar 10 18:56 arch-s390x.c
-rw-r--r-- 1 kurt kurt 11531 Mar 10 18:56 arch-sh.c
-rw-r--r-- 1 kurt kurt 17928 Mar 10 18:57 arch-sparc.c
-rw-r--r-- 1 kurt kurt 24368 Mar 10 18:56 arch-sparc64.c
-rw-r--r-- 1 kurt kurt 14460 Mar 10 18:57 arch-x86_64.c

But I don't know if all those arches have been tested and
work properly.  It's also missing support for hppa.

The source also contains:
Architecture: alpha amd64 i386 powerpc ppc64

So you would atleast need to change that first.  There is atleast
an open bug for mips/mipsel (#497328) for it.


Kurt





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Buildd Team <wb-team@buildd.debian.org>:
Bug#543601; Package buildd.debian.org. (Wed, 26 Aug 2009 17:51:18 GMT) (full text, mbox, link).


Acknowledgement sent to Kees Cook <kees@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Buildd Team <wb-team@buildd.debian.org>. (Wed, 26 Aug 2009 17:51:18 GMT) (full text, mbox, link).


Message #15 received at 543601@bugs.debian.org (full text, mbox, reply):

From: Kees Cook <kees@debian.org>
To: Kurt Roeckx <kurt@roeckx.be>
Cc: 543601@bugs.debian.org, aroldan@debian.org
Subject: Re: Bug#543601: prelink compiles on all architectures
Date: Wed, 26 Aug 2009 10:42:38 -0700
Hi,

On Wed, Aug 26, 2009 at 02:07:52PM +0200, Kurt Roeckx wrote:
> As far as I know, it does need to know arch specific things.  It
> needs to know about the different relocation types which depend
> on the arch.  It seems to have those files in the src/ dir:
> -rw-r--r-- 1 kurt kurt 13514 Mar 10 18:53 arch-alpha.c
> -rw-r--r-- 1 kurt kurt 22973 Mar 10 18:53 arch-arm.c
> -rw-r--r-- 1 kurt kurt 10669 Mar 10 18:54 arch-cris.c
> -rw-r--r-- 1 kurt kurt 28465 Mar 10 18:54 arch-i386.c
> -rw-r--r-- 1 kurt kurt 13604 Mar 10 18:54 arch-ia64.c
> -rw-r--r-- 1 kurt kurt 31290 Mar 10 18:54 arch-mips.c
> -rw-r--r-- 1 kurt kurt 30357 Mar 10 18:56 arch-ppc.c
> -rw-r--r-- 1 kurt kurt 23600 Mar 10 18:55 arch-ppc64.c
> -rw-r--r-- 1 kurt kurt 13578 Mar 10 18:56 arch-s390.c
> -rw-r--r-- 1 kurt kurt 16388 Mar 10 18:56 arch-s390x.c
> -rw-r--r-- 1 kurt kurt 11531 Mar 10 18:56 arch-sh.c
> -rw-r--r-- 1 kurt kurt 17928 Mar 10 18:57 arch-sparc.c
> -rw-r--r-- 1 kurt kurt 24368 Mar 10 18:56 arch-sparc64.c
> -rw-r--r-- 1 kurt kurt 14460 Mar 10 18:57 arch-x86_64.c

Ah, very true, sorry I missed that.

> But I don't know if all those arches have been tested and
> work properly.  It's also missing support for hppa.

I've tested that at least execstack works on armel.

> The source also contains:
> Architecture: alpha amd64 i386 powerpc ppc64

Since it has an explicit Arch list, it seems to make sense to drop prelink
from P-a-s?

-- 
Kees Cook                                            @debian.org




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Buildd Team <wb-team@buildd.debian.org>:
Bug#543601; Package buildd.debian.org. (Wed, 26 Aug 2009 20:57:05 GMT) (full text, mbox, link).


Acknowledgement sent to Kurt Roeckx <kurt@roeckx.be>:
Extra info received and forwarded to list. Copy sent to Debian Buildd Team <wb-team@buildd.debian.org>. (Wed, 26 Aug 2009 20:57:05 GMT) (full text, mbox, link).


Message #20 received at 543601@bugs.debian.org (full text, mbox, reply):

From: Kurt Roeckx <kurt@roeckx.be>
To: Kees Cook <kees@debian.org>
Cc: 543601@bugs.debian.org, aroldan@debian.org
Subject: Re: Bug#543601: prelink compiles on all architectures
Date: Wed, 26 Aug 2009 22:50:27 +0200
On Wed, Aug 26, 2009 at 10:42:38AM -0700, Kees Cook wrote:
> > The source also contains:
> > Architecture: alpha amd64 i386 powerpc ppc64
> 
> Since it has an explicit Arch list, it seems to make sense to drop prelink
> from P-a-s?

Please update the package first.  Then we can arrange that it
gets built everywhere except hppa.


Kurt





Bug 543601 cloned as bug 557240. Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Fri, 20 Nov 2009 16:48:09 GMT) (full text, mbox, link).


Added blocking bug(s) of 543601: 557240 Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Fri, 20 Nov 2009 16:48:13 GMT) (full text, mbox, link).


Reply sent to Kurt Roeckx <kurt@roeckx.be>:
You have taken responsibility. (Wed, 24 Feb 2010 22:36:18 GMT) (full text, mbox, link).


Notification sent to Kees Cook <kees@debian.org>:
Bug acknowledged by developer. (Wed, 24 Feb 2010 22:36:18 GMT) (full text, mbox, link).


Message #29 received at 543601-done@bugs.debian.org (full text, mbox, reply):

From: Kurt Roeckx <kurt@roeckx.be>
To: debian-wb-team@lists.debian.org
Subject: [p-a-s/sid] prelink is now supported on most arches
Date: Wed, 24 Feb 2010 22:28:19 +0000
[Debian bug #543601]

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
---
 Packages-arch-specific |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Packages-arch-specific b/Packages-arch-specific
index 684335b..77d2e2d 100644
--- a/Packages-arch-specific
+++ b/Packages-arch-specific
@@ -283,7 +283,7 @@ pnputils: i386 amd64						      # x86 specific, needs a PnP-BIOS
 powerpc-ibm-utils: powerpc					      # powerpc specific
 powerpc-utils: powerpc						      # powerpc specific
 %prctl: hppa ia64 alpha						      # ANAIS based on syscall availability
-%prelink: alpha amd64 i386 lpia powerpc				      # No upstream support for others
+%prelink: !hppa							      # No upstream support
 primaxscan: i386 kfreebsd-i386 amd64 kfreebsd-amd64		      # [?]
 %proll: sparc							      # Build-deps sparc-utils
 %ps3-utils: powerpc						      # powerpc specific
-- 
1.5.6.5


-- 
To UNSUBSCRIBE, email to debian-wb-team-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/E1NkPis-0000ne-O4@cimarosa.debian.org





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 25 Mar 2010 07:30:36 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 7 23:41:29 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.