Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 10 Jun 2002 10:25:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 10 Jun 2002 10:25:07 -0400 Received: from chaos.physics.uiowa.edu ([128.255.34.189]:29102 "EHLO chaos.physics.uiowa.edu") by vger.kernel.org with ESMTP id ; Mon, 10 Jun 2002 10:25:04 -0400 Date: Mon, 10 Jun 2002 09:25:04 -0500 (CDT) From: Kai Germaschewski X-X-Sender: kai@chaos.physics.uiowa.edu To: Jurriaan on Alpha cc: linux-kernel@vger.kernel.org Subject: Re: 2.5.21: fixdep starts spitting out 'unaligned traps' In-Reply-To: <20020610072331.GA12676@alpha.of.nowhere> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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"; Thanks, --Kai - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/