From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8878 invoked by alias); 6 Oct 2014 08:30:46 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 8869 invoked by uid 89); 6 Oct 2014 08:30:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: BLU004-OMC1S19.hotmail.com Received: from blu004-omc1s19.hotmail.com (HELO BLU004-OMC1S19.hotmail.com) (65.55.116.30) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Mon, 06 Oct 2014 08:30:44 +0000 Received: from BLU436-SMTP110 ([65.55.116.7]) by BLU004-OMC1S19.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 6 Oct 2014 01:30:41 -0700 X-TMN: [ZzAS7m2XBT7uffv9l9D9FOj/yfI30beb] Message-ID: Date: Mon, 06 Oct 2014 08:30:00 -0000 From: Federico Terraneo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: newlib@sourceware.org Subject: Re: first post, perplexed by printf() References: <542E1B16.8050503@neurotica.com> <542E4C7D.3030500@op.pl> <5431AD5C.4040705@neurotica.com> In-Reply-To: <5431AD5C.4040705@neurotica.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014/txt/msg00476.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 05/10/2014 22:43, Dave McGuire wrote: > > Ok, I will hack on this a bit today and see how far I get. The > linker script and startup code I'm using are the ones distributed > by SiLabs for this family of processors. At first glance, your > linker script and startup code are very different from those. > Hi, This is just a guess, as I have not seen the SiLabs linker script, but have you tried if malloc works on your platform, such as trying to allocate some blocks, writing into them and seeing if it makes the system crash? I've seen some linker script in the past, provided by chip manufacturers, which fail to set up a working heap, and printf calls malloc internally. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iF4EAREIAAYFAlQyUx8ACgkQbTKLH9en/LsZ9gD/Ri+4qk3Ne20e/RSsfOQ+DNeO uycjcGKNHMZKYTyyV/sA/1EtrO02I+z+LicJT/V++fso+3wFtVSl5iCvRbZlA/3A =3XfA -----END PGP SIGNATURE-----