From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26501 invoked by alias); 18 Jun 2008 10:07:36 -0000 Received: (qmail 26492 invoked by uid 22791); 18 Jun 2008 10:07:36 -0000 X-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,KAM_STOCKTIP X-Spam-Check-By: sourceware.org Received: from atlantis.wh2.tu-dresden.de (HELO atlantis.wh2.tu-dresden.de) (141.30.228.39) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 18 Jun 2008 10:07:13 +0000 Received: from [141.76.92.86] (unknown [141.76.92.86]) by atlantis.wh2.tu-dresden.de (Postfix) with ESMTP id E51A31F63; Wed, 18 Jun 2008 12:07:10 +0200 (CEST) Cc: ecos-devel@ecos.sourceware.org Message-Id: <38B53518-83B4-47A6-A64D-FC8266DB0602@wh2.tu-dresden.de> From: Lars Poeschel To: Andrew Lunn In-Reply-To: <20080618095232.GA10893@lunn.ch> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-77--746771880" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Subject: Re: Strange buildsystem behaviour Date: Wed, 18 Jun 2008 10:07:00 -0000 References: <92187523-464B-4EFE-A03F-AA54E4AD3E6A@wh2.tu-dresden.de> <20080618095232.GA10893@lunn.ch> X-Pgp-Agent: GPGMail d51 (Leopard) X-Mailer: Apple Mail (2.924) X-Virus-Checked: Checked by ClamAV on sourceware.org X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-06/txt/msg00023.txt.bz2 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-77--746771880 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Content-length: 925 >> Does anybody have a hint for me ? How can I get the code linked >> when it >> is in platform.S ? > > The dependancy rules don't always work for some special files, eg > vectors.S. However, if the object file is getting into libtarget.a, it > should all work. The only exception would be if nothing actually uses > symbols you added, then the linker is expected not to link your > code.... I read about this and added a KEEP() around the regarding input sections, but it should not matter in this case, because for the variant.S file it works. > Is this really reproducible? If you rm -fr your work tree and build > everything from clean, can you reproduce the problem? Yes, I can reproduce it. Just now it did 2 tests: rm -rf * ecosconfig new skmb91302 redboot ecosconfig tree make Code is in when it is in variant.S, after that the same procedure with the code in platform.S and the code is not there. Lars --Apple-Mail-77--746771880 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit Content-length: 194 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkhY3k0ACgkQ3m3cZ1XsbwfO4QCfV91Rv47/CDBqASQqV6nR9BuK HGgAni/Jh75CN3qzywIETaSQGc2Tcna5 =6UGB -----END PGP SIGNATURE----- --Apple-Mail-77--746771880--