[linux-lvm] (no subject)

Patrick Caulfield caulfield at sistina.com
Thu Jan 17 11:22:02 UTC 2002


On Thu, Jan 17, 2002 at 06:01:11PM +0100, Heinz J . Mauelshagen wrote:
> On Thu, Jan 17, 2002 at 03:19:36PM +0000, Patrick Caulfield wrote:
> > 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:
> > > 
> > > <begin chris input>
> > > 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.
> > > <end chris input>
> > 
> > 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.
> 
> Could you tweak configure for 1.0.2 then, please?

It's already gone. I see no reason to generate profiling code on users machines. 

patrick





More information about the linux-lvm mailing list