From: Jim Cromie <jcromie@divsol.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] 1.0.1-rc4 and kernel 2.4.14
Date: Wed Nov 14 13:26:02 2001 [thread overview]
Message-ID: <3BF2C5C3.944FCBBE@divsol.com> (raw)
In-Reply-To: 3BF19929.959A3055@phor.com
Darin Perusich wrote:
> "lvcreate -L5G -ntestlv test", or "vgextend test
> /dev/sdd" core dump
others have recommended -g -O0
I succeeded with -O1, with rh 7.1, gcc 2.96-85, using following patch to
configure
[root@groucho 1.0.1-rc4]# diff -u configure~ configure
--- configure~ Thu Sep 6 07:02:34 2001
+++ configure Tue Nov 13 10:49:31 2001
@@ -796,18 +796,26 @@
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 -O2"
+ CFLAGS="-g -O$optimize"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
- CFLAGS="-O2"
+ CFLAGS="-O$optimize"
else
CFLAGS=
fi
[root@
prev parent reply other threads:[~2001-11-14 13:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-13 16:08 [linux-lvm] 1.0.1-rc4 and kernel 2.4.14 Darin Perusich
2001-11-13 16:14 ` Luca Berra
2001-11-14 7:28 ` Darin Perusich
2001-11-14 12:55 ` [linux-lvm] 1.0.1-rc4 and kernel 2.4.14, A different question Petro
2001-11-13 16:16 ` [linux-lvm] 1.0.1-rc4 and kernel 2.4.14 Mitchell D. Miller
2001-11-14 13:26 ` Jim Cromie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BF2C5C3.944FCBBE@divsol.com \
--to=jcromie@divsol.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox