From mint-bounce@lists.fishpool.fi Thu May 27 16:33:15 2010 Message-ID: <4BFED67C.1090409@freesbee.fr> Date: Thu, 27 May 2010 22:30:52 +0200 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] This must be an gcc / ld error! References: <6f058cd2548d6d5f3dd6be1d3e1793ba-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYAWEF3AVU6XF1YRUwLXlxYSQ==-webmailer2@server07.webmailer.hosteurope.de> In-Reply-To: <6f058cd2548d6d5f3dd6be1d3e1793ba-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYAWEF3AVU6XF1YRUwLXlxYSQ==-webmailer2@server07.webmailer.hosteurope.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o4RKXEOJ020333 Ole Loots wrote: > OK, I did that. The make file produced some test executables... any of the > produced executables throws an Illegal Instruction exception. I removed > the -O2 flag from the compiler options and I also removed the -g option. Remember, the first cause of failure on MiNT is programs with a stack size too small. Please try this: stack -S 256k someprogram or even bigger stack sizes. If it still fails, please recompile a simple testcase without -O2 but with -g, and put the resulting binary somewhere we can download it and examine it. -- Vincent Rivière