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

Re: [linux-lvm] (no subject)



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>

Thanks,
Heinz

On Thu, Jan 17, 2002 at 11:50:50AM +0000, Patrick Caulfield wrote:
> On Thu, Jan 17, 2002 at 11:25:04AM +0900, Sil Lee wrote:
> >    Hi.
> > 
> >    I Have a problem to use LVM on Sun Sparc 20...
> >    when I try to perform a pvcreate a segmentation fault error
> >    occur.
> > 
> 
> Hmmm, it's not getting very far. In fact it's not even getting into pvcreate at
> all - that strace output is just getting the shared libraries mapped in and
> starting libc.
> 
> I'm actually impressed you got that far - I've never managed to get Linux 2.4 to
> run successfully on a 32bit SPARC machine.
> 
> patrick
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen Sistina com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



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