Your message dated 19 Feb 2003 21:49:21 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #176070,
regarding svgalibg1: contains non-PIC shared library
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---------------------------------------
Received: (at 176070-forwarded) by bugs.debian.org; 19 Feb 2003 19:47:29 +0000
>From [EMAIL PROTECTED] Wed Feb 19 13:47:29 2003
Return-path: <[EMAIL PROTECTED]>
Received: from jagor.srce.hr [161.53.2.130] (root)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18laBj-0000Jt-00; Wed, 19 Feb 2003 13:47:28 -0600
Received: from fuzz.uucp (cmung863.cmu.carnet.hr [193.198.131.101])
        by jagor.srce.hr (8.12.2/8.12.2) with ESMTP id h1JJkBYJ014711;
        Wed, 19 Feb 2003 20:46:12 +0100 (MET)
Received: from mvela by fuzz.uucp with local (Exim 3.36 #1 (Debian))
        id 18lb9d-0002hI-00; Wed, 19 Feb 2003 21:49:21 +0100
From: Matej Vela <[EMAIL PROTECTED]>
To: linux-svgalib@svgalib.org
Cc: [EMAIL PROTECTED]
Subject: Prelinking svgalib programs
Date: 19 Feb 2003 21:49:21 +0100
Message-ID: <[EMAIL PROTECTED]>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Matej Vela <[EMAIL PROTECTED]>
X-Virus-Scanned: by amavisd-milter at jagor.srce.hr
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-0.7 required=4.0
        tests=SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_GNUS_UA
        version=2.44
X-Spam-Level: 

Hi,

The prelink utility from <ftp://people.redhat.com/jakub/prelink/>
doesn't work for svgalib programs:

  # prelink /usr/bin/zgv
  prelink: /usr/bin/zgv: Cannot prelink against non-PIC shared library
  /usr/lib/libvga.so.1

This is caused by the following rule in src/Makefile:

  #lrmi must NOT be compiled as -fPIC
  lrmi.o: lrmi.c
          $(CC) $(CFLAGS:-fPIC=) -c -o $@ $<

There's an #ifdef __PIC__ in lrmi.c; is the above a leftover?  When I
comment it out, prelink works like a charm.

Thanks,

Matej

Reply via email to