cpp breakage in gcc cvs head

Andrew Morton akpm@osdl.org
Sun Feb 8 10:56:00 GMT 2004


I just synced with

gcc (GCC) 3.5.0 20040208 (experimental)

and the kernel won't build because cpp is emitting a seemingly-spurious
#line thingy:


mnm:/usr/src/25> /usr/local/gcc-cvs/bin/gcc -E -Wp,-MD,arch/i386/kernel/.vmlinux.lds.s.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -D__ASSEMBLY__ -Iinclude/asm-i386/mach-default -g -traditional -P -C -Ui386   arch/i386/kernel/vmlinux.lds.S | head -5 
# 1 "/usr/src/25//"
/* ld script to make i386 Linux kernel
 * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>;
 */

mnm:/usr/src/25> /usr/local/gcc-3.3/bin/gcc -E -Wp,-MD,arch/i386/kernel/.vmlinux.lds.s.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -D__ASSEMBLY__ -Iinclude/asm-i386/mach-default -g -traditional -P -C -Ui386   arch/i386/kernel/vmlinux.lds.S | head -5                                 
/* ld script to make i386 Linux kernel
 * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>;
 */


Note that current gcc-cvs emits the

	# 1 "/usr/src/25//"

line at the top of the output whereas gcc-3.3 does not.

Fixable, please?



More information about the Gcc mailing list