On Fri, Jun 01, 2007 at 08:26:20AM +0200, Sébastien Bernard wrote:
>Package: portmap
>Version: 6.0-0
>Followup-For: Bug #424029

Bug report: http://bugs.debian.org/424029

>I identified the problem as a -pie link which seems to be broken.

Thank you!

>The folowing lines explains the problem :
>---------------
>hp$ cat hello.c
>#include <stdio.h>
>
>int main( void ) {
>        printf("hello world !\n");
>        return 0;
>}
>hp$ gcc -fpie hello.c -o hello
>hp$ ./hello
>hello world !
>hp$ gcc -pie -fpie hello.c -o hello
>hp$ ./hello
>Segmentation fault
>hp$
>---------------
>Do we really neeed the portmap to be pie ?

Neil, I'll build portmap without "-pie" unless you have any
objection.

>Feel free to forward the problem if you can identify the problem.
>I already opened a problem (#426889) with the binutils but I'm not
>sure they are related.
>It could be a dynamic linker bug or a gcc bug.
>
>-- System Information:
>Debian Release: lenny/sid
>  APT prefers unstable
>  APT policy: (500, 'unstable')
>Architecture: hppa (parisc64)
>
>Kernel: Linux 2.6.18-4-parisc64
>Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
>Shell: /bin/sh linked to /bin/dash
>
>Versions of packages portmap depends on:
>ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
>ii  libc6                         2.5-9      GNU C Library: Shared libraries
>ii  libwrap0                      7.6.dbs-13 Wietse Venema's TCP wrappers libra
>ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip
>
>portmap recommends no packages.
>
>-- debconf information:
>* portmap/loopback: false

Aníbal Monsalve Salazar
-- 
http://v7w.com/anibal

Attachment: signature.asc
Description: Digital signature

Reply via email to