2.6.26-rc5-mm1: uml link error

From: Miklos Szeredi
Date: Mon Jun 09 2008 - 16:42:43 EST


I get this error on linking uml:

/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld:arch/um/kernel/vmlinux.lds:267: syntax error

Reverting 'kernel-call-constructors.patch' fixes it.

> diff -u arch/um/kernel/vmlinux.lds.bad arch/um/kernel/vmlinux.lds
--- arch/um/kernel/vmlinux.lds.bad 2008-06-09 22:35:57.000000000 +0200
+++ arch/um/kernel/vmlinux.lds 2008-06-09 22:36:07.000000000 +0200
@@ -264,7 +264,7 @@
*(.data.init_irqstack)
*(.data) *(.data.init.refok) *(.ref.data) *(.devinit.data) *(.devexit.data) . = ALIGN(8); __start___markers = .; *(__markers) __stop___markers = .;
*(.data.* .gnu.linkonce.d.*)
- SORT(__ctor_start = .; *(.ctors) __ctor_end = .;)
+ SORT(CONSTRUCTORS)
}
.data1 : { *(.data1) }
.tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }

Unintended macro substitution?

Thanks,
Miklos
--
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/