[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#176070: marked as forwarded (svgalibg1: contains non-PIC shared library)



Your message dated 19 Feb 2003 21:49:21 +0100
with message-id <87znosm1wu.fsf@fuzz.uucp>
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) linux-svgalib@svgalib.org.

(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 mvela@public.srce.hr Wed Feb 19 13:47:29 2003
Return-path: <mvela@public.srce.hr>
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 <vela@debian.org>
To: linux-svgalib@svgalib.org
Cc: 176070-forwarded@bugs.debian.org
Subject: Prelinking svgalib programs
Date: 19 Feb 2003 21:49:21 +0100
Message-ID: <87znosm1wu.fsf@fuzz.uucp>
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 <mvela@public.srce.hr>
X-Virus-Scanned: by amavisd-milter at jagor.srce.hr
Delivered-To: 176070-forwarded@bugs.debian.org
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 to: