From: Blaisorblade <blaisorblade@yahoo.it>
To: i.r.wezeman@hetnet.nl
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Partial fix! - Was: Re: [BUG report] UML linux-2.6 latest BK doesn't compile
Date: Sat, 9 Sep 2006 17:30:02 +0200 [thread overview]
Message-ID: <200609091730.02654.blaisorblade@yahoo.it> (raw)
In-Reply-To: <EBD0B8CF381E8B44BB99E8EA137E27C0021AD015@CPEXBE-EML06.kpnsp.local>
On Saturday 09 September 2006 15:39, i.r.wezeman@hetnet.nl wrote:
> The 'Try removing' will not work.
In all these cases you get a message about `get_safe_registers', i.e. another
error; do you get the error about __bb_init_func with the "try removing"
thing?
Also, it should compile by disabling CONFIG_GCOV (as you know probably), and
this option is only for debugging - if it does not compile in that case
there's something _very_ strange going on (like if `get_safe_registers' had
been removed by hand-editing); anyway this discussion is useful to find the
fix to the bug.
> So have do the 'Better yet ' with make
> clean, make distclean, make allmodconfig ARCH=um and make linux ARCH=um
>
> Now got the same error after 'Better yet':
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/um/os-Linux/built-in.o: In function `do_syscall_stub':
> arch/um/os-Linux/skas/mem.c:63: undefined reference to `get_safe_registers'
> arch/um/os-Linux/built-in.o: In function `copy_context_skas0':
> arch/um/os-Linux/skas/process.c:333: undefined reference to
> `get_safe_registers' collect2: ld returned 1 exit status
> KSYM .tmp_kallsyms1.S
> nm: '.tmp_vmlinux1': No such file
> No valid symbol.
> make: *** [.tmp_kallsyms1.S] Error 1
>
> error, do: #CONFIG_MODE_TT=y
> make clean and make linux ARCH=um
>
> Now got the same error as with 'Better yet'
>
> error, do: CONFIG_STATIC_LINK=y
> make clean and make linux ARCH=um
>
> Same error as with 'Better yet'
>
> error, do: CONFIG_GPROF=y
> make clean and make linux ARCH=um
>
> Same error as with 'Better yet'
>
> TODO: get_safe_register should be undefined only
> because of the previous failure.
>
> In which to undefine?
No, don't undefine it. I was talking about this error message, which I can't
explain - I thought it was just a conseguence of the error above.
> > arch/um/os-Linux/built-in.o: In function `do_syscall_stub':
> > arch/um/os-Linux/skas/mem.c:63: undefined reference to
> > `get_safe_registers'
> > arch/um/os-Linux/built-in.o: In function `copy_context_skas0':
> > arch/um/os-Linux/skas/process.c:333: undefined reference to
> > `get_safe_registers'
since get_safe_registers is defined in arch/um/os-Linux/sys-i386/registers.c,
this error does not make a lot of sense. Make sure you haven't removed the
definition by mistake - the other possibility is that file is not linked with
the rest, but this would cause also other "undefined reference" errors.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2006-09-09 15:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1107857395.15872.2.camel@imp.csi.cam.ac.uk>
2005-02-08 10:22 ` [uml-devel] Re: [BUG report] UML linux-2.6 latest BK doesn't compile Blaisorblade
2005-02-08 10:40 ` Anton Altaparmakov
2005-02-08 17:48 ` Blaisorblade
2005-02-08 22:21 ` Jeff Dike
[not found] ` <200502081829.j18ITAs0003968@ccure.user-mode-linux.org>
2005-02-08 17:37 ` Blaisorblade
2005-02-08 22:22 ` Jeff Dike
2005-02-14 11:35 ` [uml-devel] Partial fix! - Was: " Anton Altaparmakov
2005-02-16 18:27 ` Blaisorblade
2005-03-05 19:45 ` [uml-devel] " Jeff Dike
2005-03-05 18:31 ` Adrian Bunk
2005-03-07 19:44 ` Blaisorblade
2005-03-08 0:10 ` Jeff Dike
2005-03-13 20:06 ` Blaisorblade
2006-09-08 22:25 ` [uml-devel] " i.r.wezeman
2006-09-09 9:31 ` Blaisorblade
[not found] ` <EBD0B8CF381E8B44BB99E8EA137E27C0021AD015@CPEXBE-EML06.kpnsp.local>
2006-09-09 15:30 ` Blaisorblade [this message]
2006-09-11 15:27 ` Jeff Dike
2006-09-17 18:04 ` Blaisorblade
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=200609091730.02654.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=i.r.wezeman@hetnet.nl \
--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