From: Patrick Caulfield Subject: Re: [linux-lvm] (no subject) Message-Id: <20020117151936.GF1066@tykepenguin.com> References: <200201170225.g0H2P4805926@kebi.com> <20020117115050.GD1066@tykepenguin.com> <20020117151328.A26850@sistina.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20020117151328.A26850@sistina.com> Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Thu Jan 17 09:20:02 2002 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@sistina.com On Thu, Jan 17, 2002 at 03:13:28PM +0100, Heinz J . Mauelshagen wrote: > > Patrick, > > could you proove what Chris pointed out in this thread: > > > All of the lvm10 utilities segfault on sparc. The root cause of the > problem is that the shared library is compiled with both -fPIC and -pg. On > sparc, this results in gcc outputting: > > cc1: warning: -fPIC and profiling conflict: disabling -fPIC > > This can be seen in the buildd logs: > http://buildd.debian.org/fetch.php?&pkg=lvm10&ver=1.0.1release-1&arch=sparc&stamp=1007871077&file=log&as=raw > > Removing the -pg from the CFLAGS definition on line 73 of make.tmpl fixed > the problem -- all LVM utilities worked fine. > I can confirm that this is true on my box. I removed -pg from make.tmpl.in some time ago (probably in response to a similar bug report!) but not early enough to reach 1.0.1. patrick