From: Adrian Bunk <bunk@stusta.de>
To: Willy Tarreau <wtarreau@hera.kernel.org>
Cc: linux-kernel@vger.kernel.org, mtosatti@redhat.com,
Mikael Pettersson <mikpe@it.uu.se>
Subject: Re: Linux 2.4.34-pre1
Date: Thu, 17 Aug 2006 01:54:59 +0200 [thread overview]
Message-ID: <20060816235459.GM7813@stusta.de> (raw)
In-Reply-To: <20060816223633.GA3421@hera.kernel.org>
On Wed, Aug 16, 2006 at 10:36:33PM +0000, Willy Tarreau wrote:
> Hi !
Hi Willy!
>...
> I've been reluctant at first for the usual reasons : "who has a 2.4
> distro with gcc4 ?", and after recalling all the trouble Marcelo
> had to deal with during the gcc3 update. But after discussion with
> some people, I realized that the problem is not here, it's for the
> kernels those people have to maintain for other systems (eg: servers,
> firewalls, etc...) and which they suddenly cannot build anymore after
> they have updated the distro on their desktop PC.
>...
> Since most of them were sleeping bugs waiting for someone to wake
> them up, I considered it was worth merging them provided that we
> observe no regression. So I have created a separate tree for it
> that I will merge into mainline in a few pre-releases if we don't
> encounter any problem.
>...
My points against allowing to compile kernel 2.4 with gcc 4 are:
- There isn't much testing coverage - and will never be much testing
coverage - of using a kernel 2.4 compiled with gcc 4.
We've already seen several cases where only some compiler versions
caused miscompilations or exposed a runtime bug in the kernel.
Since there shouldn't be any reason for still using a 2.4 kernel
except for "never change a running system", I don't see a good
reason for allowing such an untested gcc/kernel combination.
- Even if your distribution does no longer ship any gcc 3, it's
easy building and using your own gcc 3.4.6:
wget ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-3.4.6.tar.bz2
tar xjf gcc-3.4.6.tar.bz2
mkdir build-gcc
cd build-gcc
../gcc-3.4.6/configure --enable-languages=c --prefix=/usr/local/gcc-3.4.6
make bootstrap
make install
# change HOSTCC and CC in the toplevel Makefile of the kernel:
# HOSTCC = /usr/local/gcc-3.4.6/bin/gcc
# CC = /usr/local/gcc-3.4.6/bin/gcc
> Regards,
> Willy
>...
cu
Adrian
--
Gentoo kernels are 42 times more popular than SUSE kernels among
KLive users (a service by SUSE contractor Andrea Arcangeli that
gathers data about kernels from many users worldwide).
There are three kinds of lies: Lies, Damn Lies, and Statistics.
Benjamin Disraeli
next prev parent reply other threads:[~2006-08-16 23:55 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-16 22:36 Linux 2.4.34-pre1 Willy Tarreau
2006-08-16 23:54 ` Adrian Bunk [this message]
2006-08-17 5:16 ` Willy Tarreau
2006-08-17 6:48 ` Arjan van de Ven
2006-08-17 8:35 ` Andreas Steinmetz
2006-08-17 8:50 ` Mikael Pettersson
2006-08-17 12:48 ` Adrian Bunk
2006-08-17 20:43 ` Willy Tarreau
2006-08-17 23:41 ` Gerd v. Egidy
2006-08-18 4:40 ` Willy Tarreau
2006-08-21 0:56 ` Adrian Bunk
2006-08-17 9:06 ` Adrian Bunk
2006-08-17 9:16 ` Andreas Steinmetz
2006-08-18 23:25 ` Adrian Bunk
2006-08-19 1:20 ` Grant Coady
2006-08-20 17:27 ` Adrian Bunk
2006-08-19 4:45 ` Willy Tarreau
2006-08-21 0:35 ` Adrian Bunk
2006-08-21 0:41 ` Willy Tarreau
2006-08-21 1:07 ` Adrian Bunk
2006-08-17 8:37 ` Willy Tarreau
2006-08-17 9:12 ` Thomas Voegtle
2006-08-18 22:48 ` Solar Designer
2006-08-18 23:11 ` Adrian Bunk
2006-08-18 23:27 ` Solar Designer
-- strict thread matches above, loose matches on Subject: below --
2006-08-17 7:57 Chris Rankin
2006-08-17 9:16 ` Thomas Backlund
2006-08-18 4:47 ` Willy Tarreau
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=20060816235459.GM7813@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@it.uu.se \
--cc=mtosatti@redhat.com \
--cc=wtarreau@hera.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