From: Mikael Pettersson Date: Wed, 04 Apr 2007 07:23:07 +0000 Subject: gcc-4.2.0 20070316 (prerelease) miscompiles sparc64 kernel Message-Id: <200704040723.l347N7ks017930@harpo.it.uu.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org The 2.6.21-rc5 kernel compiled with gcc-4.2.0 20070316 boots ok but is thrown into an infinite loop by `hdparm -Tt /dev/hda'. Sysrq-P tells me that the call chain in the loop is: __up_read or __handle_mm_fault [varies] do_sparc64_fault sparc64_realfault_common compat_sys_shmat The kernel works when built with gcc-3.4.6, 4.0.4, or 4.1.2. I'll do some more debugging next week, if I have time. /Mikael