logo       

Re: [uml-user] can't compile usermode-sources 2.6.3-1: msg#00253

Subject: Re: [uml-user] can't compile usermode-sources 2.6.3-1
Try this patch or use 2.6.3-rc2 from the site against vanilla 2.6.3, since 
that patch includes this fix. Also, if it works, report to us and ask to 
Gentoo to use the same patch version. This fix (or better, the second hunk; 
the first one is non-significant, it just was there, but it does not hurt) is 
just a cleanup for some of us, but instead is required with some versions of 
binutils (i.e. the latest one).

Bye

--- linux-2.6.0/include/asm-um/common.lds.S.~1~ 2003-12-31 18:10:51.000000000 
+0100
+++ linux-2.6.0/include/asm-um/common.lds.S     2003-12-31 18:13:51.000000000 
+0100
@@ -1,6 +1,9 @@
 #include <asm-generic/vmlinux.lds.h>
 
-  .fini      : { *(.fini)    } =0x9090
+  .fini           : {
+    KEEP (*(.fini))
+  } =0x90909090
+
   _etext = .;
   PROVIDE (etext = .);
 
@@ -15,18 +18,6 @@
 
   RODATA
 
-  __start___ksymtab = .;       /* Kernel symbol table */
-  __ksymtab : { *(__ksymtab) }
-  __stop___ksymtab = .;
-
-  __start___gpl_ksymtab = .;   /* Kernel symbol table: GPL-only symbols */
-  __gpl_ksymtab : { *(__gpl_ksymtab) }
-  __stop___gpl_ksymtab = .;
-
-  __start___kallsyms = .;       /* All kernel symbols */
-  __kallsyms : { *(__kallsyms) }
-  __stop___kallsyms = .;
-
   .unprotected : { *(.unprotected) }
   . = ALIGN(4096);
   PROVIDE (_unprotected_end = .);

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click


<Prev in Thread] Current Thread [Next in Thread>