Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261277AbUKHWao (ORCPT ); Mon, 8 Nov 2004 17:30:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261275AbUKHWan (ORCPT ); Mon, 8 Nov 2004 17:30:43 -0500 Received: from mailout.stusta.mhn.de ([141.84.69.5]:9999 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S261278AbUKHWaZ (ORCPT ); Mon, 8 Nov 2004 17:30:25 -0500 Date: Mon, 8 Nov 2004 23:29:52 +0100 From: Adrian Bunk To: linux-os@analogic.com Cc: Pawe?? Sikora , Linux kernel Subject: Re: [2.6 patch] kill IN_STRING_C Message-ID: <20041108222952.GJ15077@stusta.de> References: <20041107142445.GH14308@stusta.de> <20041108161935.GC2456@wotan.suse.de> <20041108163101.GA13234@stusta.de> <200411081904.13969.pluto@pld-linux.org> <20041108183120.GB15077@stusta.de> <20041108212713.GH15077@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1401 Lines: 51 On Mon, Nov 08, 2004 at 05:15:14PM -0500, linux-os wrote: > >... > >Are you using exactly my example file? > >Are you using the complete gcc command line as shown by "make V=1"? > >Which gcc 3.3.3 are you using? > > > > No, I am using (no headers): > ------------------- > extern int sprintf(char *, const char *,...); > extern int puts(const char *); > static const char hello[]="Hello"; > int xxx(void); > int xxx(){ > char buf[0x100]; > sprintf(buf, "%s", hello); > puts(buf); > return 0; > } > -------------------- > > Compiled as: > > gcc -O2 -Wall -S -o xxx xxx.c >... If you don't compile the code as it would be compiled inside the kernel, that's your fault... Please reply only if you can reproduce this with #include , #include _and_ a gcc command line as it would be in the kernel - everything else is useless. > Cheers, > Dick Johnson cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - 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/