Linux 2.4.35.2

From: Willy Tarreau
Date: Sat Sep 08 2007 - 13:22:39 EST


I've just released Linux 2.4.35.2.

The removal of -fno-unit-at-a-time in 2.4.35.1 in order to fix build
with gcc-4.2 uncovered nasty optimization issues in the current code
under gcc-4.x. This option not only prevents gcc from reordering
sections, it also prevents it from doing a better optimization of some
inlinable functions and from stripping out static variables which
apparently never get assigned.

Since the removal of the option, some users were caught by modules
which had no symbol for certain parameters ; this is a very annoying
regression which forced them to go back to 2.4.34.x.

So I have restored -fno-unit-at-a-time for now, and yes, it *will* break
gcc-4.2. But the breakage will be detected at build time now, and people
will not get randomly working modules. I am currently exploring several
solutions to this issue, one of them consisting in fixing broken modules
since -fno-unit-at-a-time is already deprecated. If I find something
reasonably non-intrusive, I will consider it for 2.4.36-pre.

Right now, I expect 2.4.35.2 to be safe for gcc-4.1 users.

Willy
--

The patch and changelog will appear soon at the following locations:
ftp://ftp.all.kernel.org/pub/linux/kernel/v2.4/
ftp://ftp.all.kernel.org/pub/linux/kernel/v2.4/patch-2.4.35.2.bz2
ftp://ftp.all.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.35.2

Git repository:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-v2.4.35.y.git
http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-v2.4.35.y.git

Git repository through the gitweb interface:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-v2.4.35.y.git



Summary of changes from v2.4.35.1 to v2.4.35.2
============================================

Willy Tarreau (3):
i386: do_test_wp_bit() must not be inlined
restore -fno-unit-at-a-time on GCC >= 4
Change VERSION to 2.4.35.2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/