From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Paul.Clements@SteelEye.com (Paul Clements)
Cc: linux-kernel@vger.kernel.org
Subject: Re: gcc bug causing problem in kernel builds
Date: Thu, 23 Aug 2001 21:00:34 +0100 (BST) [thread overview]
Message-ID: <E15a0eY-0004U3-00@the-village.bc.nu> (raw)
In-Reply-To: <3B855C19.7A4233BF@SteelEye.com> from "Paul Clements" at Aug 23, 2001 03:40:09 PM
> Now, the problem is that RedHat also apparently compiles (at least its
> newer) kernels with the 2.96 gcc. Unfortunately, there appears to be a
> structure misalignment problem in gcc 2.96.
The kernel is compiled with some objects differently according to the
compiler features. In paticular we have to pad out structures with 0 length
elements in the older compilers to fix a compiler bug. You must
compile with the same precise compiler and options as the kernel itself.
> Does anyone know if the structure misalignment problem in gcc 2.96 is a
> known issue? (could this bug be induced by a RedHat-applied gcc patch,
> if there are any)
gcc 2.96-54 had plenty of bugs, 2.96-75+ should be perfectly fine for
all uses. If you have a 2.96 RH problem please report it in Red Hat
bugzilla - the gcc core folks won't be too interested as they are focused
on 2.95.4 and 3.0.1 bug fixing.
Alan
next prev parent reply other threads:[~2001-08-23 19:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-23 19:40 Paul Clements
2001-08-23 20:00 ` Alan Cox [this message]
2001-08-23 20:04 ` Paul Clements
2001-08-23 20:55 ` Jakub Jelinek
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=E15a0eY-0004U3-00@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=Paul.Clements@SteelEye.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®