Re: 2.5.21: fixdep starts spitting out 'unaligned traps'

From: Kai Germaschewski (
Date: Mon Jun 10 2002 - 09:25:04 EST

On Mon, 10 Jun 2002, Jurriaan on Alpha wrote:

> Program received signal SIGBUS, Bus error.
> 0x120001d48 in traps () at scripts/fixdep.c:364
> 364 if (*(int *)test != INT_CONF) {
> (gdb) bt
> #0 0x120001d48 in traps () at scripts/fixdep.c:364
> #1 0x120001de8 in main (argc=10, argv=0x11ffffc58) at scripts/fixdep.c:375
> (gdb)

Yeah, makes sense, that's a bug trap to test if we guessed endianness
right. Could you try to just comment out the call to traps() in main()?

The rest of the code should be safe. If commenting out fixes the problem,
could you try to replace

- char *test = "CONF";
+ static char __attribute__((aligned(8))) test[] = "CONF";



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:18 EST