All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mitch Miller" <mitch@mdmiller.com>
To: linux-lvm@sistina.com
Subject: RE: [linux-lvm] LVM and 2.4.13
Date: Tue Oct 30 13:43:02 2001	[thread overview]
Message-ID: <000601c1617b$96dfde10$0101a8c0@mdmiller.com> (raw)
In-Reply-To: <JLEILPHBKFODIOEDIAKMGEKLCHAA.jamesk@ashlandagency.com>

James,

> When I try to create the logical volume,
> I get a Seg Fault and core dump.

Take a look at Sistina's web page, and search Bugzilla for core dump.  There
is a documented issue with the version of GCC you are using, which is
happening because of broken compiler optimizations.  As I recall, there are
two workarounds.  First, you can edit your make file, and change -O2 to -O
or you can edit the source and add a printf() statement inside the function
which the compiler is to optimize by making it an inline function.

I chose the 2nd fix so I didn't have to get rid of all optimizations, but
that fix has to be applied in a number of places to make sure that all
command line tools get fixed appropriately.  The first fix has the benefit
of being changed in one place, and the entire works after recompilation, at
the cost of compiler optimization.

-- Mitch

P.S.  Seems like there is also another version of GCC which you can use, but
I don't know which one.

  parent reply	other threads:[~2001-10-30 13:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-30 13:30 [linux-lvm] LVM and 2.4.13 James Kelty
2001-10-30 13:38 ` Patrick Boutilier
2001-10-30 13:40   ` James Kelty
2001-10-30 13:43 ` Mitch Miller [this message]
2001-10-30 15:25   ` James Kelty
  -- strict thread matches above, loose matches on Subject: below --
2001-10-31  1:03 Jean-Eric Cuendet

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='000601c1617b$96dfde10$0101a8c0@mdmiller.com' \
    --to=mitch@mdmiller.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 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.