* [linux-lvm] patch to fix segfault complaints.
@ 2001-11-13 10:50 Jim Cromie
[not found] ` <20011114013315.A3564@tiger.bigcats.invalid>
0 siblings, 1 reply; 2+ messages in thread
From: Jim Cromie @ 2001-11-13 10:50 UTC (permalink / raw)
To: linux-lvm@sistina.com
others have noted various segfaults,
ex:
>>vgextend -- extending volume group "vg01" by physical volume
"/dev/hde1"
>>in kernel
>>Segmentation fault (core dumped)
This patch fixes configure script to build good (no segfault) lvm tools
for me
theres probably a more comprehensive way to do this, ymmv.
note also that Im only checking for 2.96, not 2.96-85. this may or may
not matter
[root@groucho 1.0.1-rc4]# diff -u configure configure~
--- configure Tue Nov 13 09:35:54 2001
+++ configure~ Thu Sep 6 07:02:34 2001
@@ -796,33 +796,22 @@
fi
-${CC-cc} -v 2>&1 | grep -l 2.96
-if [ $? = 0 ] ; then
- echo "this gcc version breaks with -g -O2"
- optimize=1
-else
- optimize=2
-fi
-
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
- CFLAGS="-g -O$optimize"
+ CFLAGS="-g -O2"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
- CFLAGS="-O$optimize"
+ CFLAGS="-O2"
else
CFLAGS=
fi
fi
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-14 13:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-13 10:50 [linux-lvm] patch to fix segfault complaints Jim Cromie
[not found] ` <20011114013315.A3564@tiger.bigcats.invalid>
2001-11-14 13:10 ` Jim Cromie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.