Hi Michael,
[EMAIL PROTECTED] wrote:
I am compiling uclinux the newest uclinux-patch on net+arm 50. I can
compile it without any problems when
I compile without kernel debug info. But when I compile with debug info,
I get the following error:
arch/arm/mach-netarm/head.S: Assembler messages:
arch/arm/mach-netarm/head.S:779: Error: unaligned opcodes detected in
executable segment
make[2]: *** [arch/arm/mach-netarm/head.o] Fehler 1
make[1]: *** [arch/arm/mach-netarm] Fehler 2
make[1]: Leaving directory `/home/u011514/uClinux-dist/linux-2.6.x'
make: *** [linux] Fehler 1
The line 779 from head.S looks like that:
#include "../kernel/head-common-S"
But the included file exists, so I don't understand the reason for that
error.
Who can help?
Assuming that the compiler/assembler is pretty dumb in this case
then I expect that code in head-common.S is actually the cause of
the error. And there is conditional code in that file based on
CONFIG_DEBUG_LL for example.
As a quick hack I would edit your head.S and textually pull
in all of head-common.S in place of that include. Then compile,
should at least then point you at the real offending code.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev