Bug#494995: [uml-devel] Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

2008-08-27 Thread Graham Cobb
On Tuesday 26 August 2008 21:20:12 Jeff Dike wrote: A symbol clash between libc and the kernel. Try this: ... The patch itself didn't apply for me (probably because I copy/paste'd it from the email) but making the change by hand to the Makefile worked and fixed the problem. -- To

Bug#494995: [uml-devel] Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

2008-08-27 Thread Jeff Dike
On Wed, Aug 27, 2008 at 09:04:29AM +0100, Graham Cobb wrote: On Tuesday 26 August 2008 21:20:12 Jeff Dike wrote: A symbol clash between libc and the kernel. Try this: ... The patch itself didn't apply for me (probably because I copy/paste'd it from the email) but making the change by

Bug#494995: [uml-devel] Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

2008-08-26 Thread Jeff Dike
On Tue, Aug 19, 2008 at 08:47:04PM +0900, Mattia Dongili wrote: In short statically linking the uml kernel fails with the error below. Any idea what may be wrong? A symbol clash between libc and the kernel. Try this: Index: linux-2.6.22/arch/um/Makefile

Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

2008-08-19 Thread Mattia Dongili
Hi Jeff, I received this bug report in the Debian BTS (submitter and bug Cc-ed). The full bug report hisory is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494995 and the .config from the submitter here:

Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

2008-08-14 Thread Graham Cobb
On Wednesday 13 August 2008 23:19:05 Mattia Dongili wrote: can you try building 2.6.26 from unstable? Exactly the same problem: LD init/built-in.o LD .tmp_vmlinux1 /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/libc.a(strrchr.o): In function `rindex': (.text+0x0): multiple

Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

2008-08-14 Thread Mattia Dongili
On Thu, Aug 14, 2008 at 09:36:49AM +0100, Graham Cobb wrote: On Wednesday 13 August 2008 23:19:05 Mattia Dongili wrote: can you try building 2.6.26 from unstable? Exactly the same problem: LD init/built-in.o LD .tmp_vmlinux1

Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

2008-08-14 Thread Graham Cobb
On Thursday 14 August 2008 12:36:19 Mattia Dongili wrote: Sorry I didn't ask for this before, but can you attach your .config? Also, are you using make-kpkg, or are you rebuilding the binary package from the source (i.e.: using dpkg-buildpackage)? Or are you just using plain make? config

Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

2008-08-13 Thread Graham Cobb
Package: user-mode-linux Version: 2.6.24-1um-1 Severity: minor I was attempting to rebuild user-mode-linux from source but choosing the UML-specific kernel option to link the image statically. The build failed at the link stage with the following messages: LD init/built-in.o LD

Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

2008-08-13 Thread Mattia Dongili
On Wed, Aug 13, 2008 at 06:51:25PM +0100, Graham Cobb wrote: Package: user-mode-linux Version: 2.6.24-1um-1 Severity: minor I was attempting to rebuild user-mode-linux from source but choosing the UML-specific kernel option to link the image statically. The build failed at the link