|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH]: Implement bzip2 and LZMA loaders / xen-unstable
Hello again,
Stefano: Have you ever seen this kind of linking failures with
stubdoms/ioemu?
Any ideas?
-- Pasi
On Tue, Sep 01, 2009 at 10:08:55PM +0300, Pasi Kärkkäinen wrote:
>
> Attached are my current work-in-progress patches. It still doesn't link
> properly..
>
> Stefano: Would you like to take a look? The patches are against current
> xen-unstable.
>
> I'm getting weird linking error about stdin/stdout/stderr missing..
> libc (newlib) is definitely linked in, so I'm not sure what's happening..
>
> ld -nostdlib -L/root/xen-unstable.hg/stubdom/cross-root-i686/i686-xen-elf/lib
> -m elf_i386 -T arch/x86/minios-x86_32.lds
> /root/xen-unstable.hg/stubdom/mini-os-x86_32-ioemu/mini-os.o -o
> /root/xen-unstable.hg/stubdom/mini-os-x86_32-ioemu/mini-os
>
> xen-unstable.hg/stubdom/mini-os-x86_32-ioemu/mini-os.o: In function
> `bzopen_or_bzdopen':
> xen-unstable.hg/stubdom/bzip2-x86_32/bzlib.c:1411: undefined reference to
> `__ctype_b_loc'
> xen-unstable.hg/stubdom/bzip2-x86_32/bzlib.c:1447: undefined reference to
> `stdin'
> xen-unstable.hg/stubdom/bzip2-x86_32/bzlib.c:1447: undefined reference to
> `stdout'
> ...
>
> In the earlier step mini-os.o was definitely linked against -lc ..
>
> "strings /path/mini-os.o | grep -i stdin" doesn't give anything though..
> I wonder why the stuff doesn't get included there.
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH]: Implement bzip2 and LZMA loaders / xen-unstable stubdom pvgrub support,
Pasi Kärkkäinen <=
|
|
|
|
|