From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20708 invoked by alias); 2 Aug 2004 10:07:34 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 20674 invoked from network); 2 Aug 2004 10:07:32 -0000 Received: from unknown (HELO anchor-post-30.mail.demon.net) (194.217.242.88) by sourceware.org with SMTP; 2 Aug 2004 10:07:32 -0000 Received: from calivar.demon.co.uk ([83.104.54.243] helo=xl5.calivar.com) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 1BrZit-000JXr-0U; Mon, 02 Aug 2004 10:07:15 +0000 Received: from xl5.calivar.com (localhost [127.0.0.1]) by xl5.calivar.com (Postfix) with ESMTP id DC8F9DD83; Mon, 2 Aug 2004 11:07:04 +0100 (BST) To: Rycerz Roman-G11565 Cc: "Ecos-Discuss@Sources. Com (ecos-discuss@sources.redhat.com)" References: <5D454811D0A1D711A12A00065BF36FAD08B9E034@il06exm11> From: Nick Garnett Original-Sender: nickg@ecoscentric.com Date: Mon, 02 Aug 2004 10:07:00 -0000 In-Reply-To: <5D454811D0A1D711A12A00065BF36FAD08B9E034@il06exm11> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [ECOS] HAL startup help. X-SW-Source: 2004-08/txt/msg00009.txt.bz2 Rycerz Roman-G11565 writes: > I am hoping someone can help me. I have a rather strange problem that comes and goes for reasons that so far escape me. > While I am not sure what makes this situation appear and disappear, maybe this behavior will ring some bells. > > > When the ecos world is happy, the routine "cyg_hal_invoke_constructors" executes, behaves nicely and executes a list of constructors. > such as > Global_I10100_diag_write_char > Global_I11000_cyg_scheduler_sched_lock > Global_I12000_ZB13cyg_Interrupt15.... > > > When ecos is unhappy "cyg_hal_invoke_constructors" actually executes a list of destructors > > Global_D14000...... > Global_D15000....... > > > Anyone know what might cause this ???? I am sure its something I am doing, but so far I have no clue.... Cannot help you specifically, but in the past when I have seen things like this happening, it has often been an alignment issue. It appears and disappears as changing sizes of text and data change the alignment of later data items. Check that the alignment requirements in your linker script are correct. If you try single stepping through cyg_hal_invoke_constructors() when it is misbehaving you should be able to work out what is going wrong. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com/ The eCos and RedBoot experts -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss