linux-um archives
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: jsjohn2000@yahoo.com
Subject: Re: [uml-devel] Problems with linking of 2.4.19-5um (elf-init.o symbols missing during final link)
Date: Sat, 13 Sep 2003 20:08:52 +0200	[thread overview]
Message-ID: <200309132008.52834.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <20030906143230.47744.qmail@web41607.mail.yahoo.com>

Alle 16:32, sabato 6 settembre 2003, Jason Johnson ha scritto:
> I have been experimenting with user mode linux and
> when I tried compiling against the 2.4.19 kernel I
> received the following link error
Hmmm, it seems like libc itself is wrong. Maybe you new libc is just fine but 
those symbols simply don't have to appear. Since you recompiled libc(I hope 
glibc), you should test it with a simpler program, using static linking. 
Maybe you changed something in the libc config that broke this.
If, instead, libc is good, check below for UML-related ideas.

First: what version of glibc have you got? If it's much older/newer than UML, 
it could be a problem(I remember that glibc 2.3 gave problems, fixed in 
2.3.1, with some special programs with a little stack... I'm not sure at all, 
but could be the case).
Second: try to recheck the build procedure, after a make mrproper(save your 
.config before)
(use
make menuconfig ARCH=um
make linux ARCH=um
don't forgot the ARCH=um part!)

Third: it could be a bug, maybe, but you are using a very old version! Also, 
you should at all be using something newer! 2.4.19 is very old and has 
serious bugs, too(Google ptrace 2.4.20 Linux to find news about it).

Download the needed patches from kernel.org(it won't be 30 M, much less) to go 
at least to 2.4.21(which fixes that bug), even for your host kernel, and the 
related patch from the UML site.

If you still need help, specify your distro, your libc/gcc/binutils version... 
and so on. And try to build a static program as I said above!
-- 
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
EOSIGN



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2003-09-13 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-06 14:32 [uml-devel] Problems with linking of 2.4.19-5um (elf-init.o symbols missing during final link) Jason Johnson
2003-09-13 18:08 ` BlaisorBlade [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200309132008.52834.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=jsjohn2000@yahoo.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox