From: Arjan van de Ven <arjanv@redhat.com>
To: devnetfs <devnetfs@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: compiling modules with gcc 3.2
Date: 25 Apr 2003 11:06:24 +0200 [thread overview]
Message-ID: <1051261584.1391.4.camel@laptop.fenrus.com> (raw)
In-Reply-To: <20030425063147.9206.qmail@web20421.mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
On Fri, 2003-04-25 at 08:31, devnetfs wrote:
> Hello,
>
> Will kernel modules compiled with gcc 3.2 load in kernel compiled with
> gcc 2.96 (RH system)? The RH 8.0 release notes state that 2.96
> compiled modules can't be loaded on RH8.0 (as its compiled using gcc
> 3.2). So
> does the reverse also hold true?
yes
> Either way why is this so? AFAIK gcc 3.2 has abi incompatiblities
> w.r.t. C++ and not C (which the kernel+modules are written in).
there are some cornercase C ABI changes but nobody except DAC960 will
ever hit those. The more serious change is that the kernel contains
workarounds for older compilers (the test used is major < 3) that
changes the size of structures etc etc, and that breaks the module
stuff.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-04-25 8:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-25 6:31 devnetfs
2003-04-25 9:06 ` Arjan van de Ven [this message]
2003-04-25 10:46 ` devnetfs
2003-04-25 10:59 ` 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=1051261584.1391.4.camel@laptop.fenrus.com \
--to=arjanv@redhat.com \
--cc=devnetfs@yahoo.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®