Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267841AbUJSCVw (ORCPT ); Mon, 18 Oct 2004 22:21:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267979AbUJSCVw (ORCPT ); Mon, 18 Oct 2004 22:21:52 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:42113 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S267841AbUJSCVn (ORCPT ); Mon, 18 Oct 2004 22:21:43 -0400 Message-ID: <41747A28.2000101@pobox.com> Date: Mon, 18 Oct 2004 22:21:28 -0400 From: Jeff Garzik User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Haverkamp CC: Linux Kernel Subject: [PATCH] Re: Weird... 2.6.9 kills FC2 gcc References: <4174697B.90306@pobox.com> <1098150587.1384.0.camel@peabody> In-Reply-To: <1098150587.1384.0.camel@peabody> Content-Type: multipart/mixed; boundary="------------060108020407020707050806" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2171 Lines: 74 This is a multi-part message in MIME format. --------------060108020407020707050806 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Mark Haverkamp wrote: > On Mon, 2004-10-18 at 18:10, Jeff Garzik wrote: > >>The following appears in 2.6.9 release kernel, building with stock FC2 >>gcc on x86, but does not appear in 2.6.9-final: >> >> >>> AS arch/i386/kernel/vsyscall.o >>>cc1: internal compiler error: Segmentation fault >>>Please submit a full bug report, >>>with preprocessed source if appropriate. >>>See for instructions. >>>make[1]: *** [arch/i386/kernel/vsyscall.o] Error 1 >>>make: *** [arch/i386/kernel] Error 2 >> >> >> >>This is 100% reproducible, at the same location (vsyscall), which is >>strange because vsyscall didn't change AFAICS. >> >>I'll build a gcc 3.4.2 without Fedora Core patches and see if the >>behavior persists. >> >>But in the meantime, if anybody else knows what line of code causes this >>segfault, please speak up :) > > > As an experiment, I commented out the include of init.h and replaced the > __INITDATA and __FINIT with the .section and .previous. It then > compiled OK. Yep, the same fix (patch attached) works for me. Jeff --------------060108020407020707050806 Content-Type: text/plain; name="patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch" ===== arch/i386/kernel/vsyscall.S 1.1 vs edited ===== --- 1.1/arch/i386/kernel/vsyscall.S 2003-04-22 22:14:57 -04:00 +++ edited/arch/i386/kernel/vsyscall.S 2004-10-18 22:20:32 -04:00 @@ -1,6 +1,5 @@ -#include -__INITDATA +.section ".init.data","aw" .globl vsyscall_int80_start, vsyscall_int80_end vsyscall_int80_start: @@ -12,4 +11,4 @@ .incbin "arch/i386/kernel/vsyscall-sysenter.so" vsyscall_sysenter_end: -__FINIT +.previous --------------060108020407020707050806-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/