On Wed, Mar 07, 2007 at 11:24:43AM -0700, Dave Jiang wrote:
> In x86_64-lite.patch, the modification to asm-x86_64/system.h causes kernel
> build failure for me.
>
> CC kernel/sched.o
> {standard input}: Assembler messages:
> {standard input}:5127: Error: junk `__switch_to_end' after expression
> {standard input}:5127: Error: suffix or operands invalid for `popf'
> make[1]: *** [kernel/sched.o] Error 1
> make: *** [kernel] Error 2
It sounds like either your assembler has become more strict, or
something like a '\' got lost in your tree, to keep that in the macro.
> Has anyone experienced that? Also, __switch_to_begin and __switch_to_end does
> not seem to be used anywhere.....
They aren't referenced directly but rather exist to show you where
threads are when the system is stopped and something like 'info threads'
is issued. However, with a modern toolchain and kernel it is possible
that all of the CFI stuff that does now exist means that GDB can tell
where they are without these annotations.
--
Tom Rini
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport