From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.10]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RsGyn-0001it-Vm for ptxdist@pengutronix.de; Tue, 31 Jan 2012 17:54:51 +0100 Received: from localhost ([127.0.0.1] helo=idefix.lespocky.dyndns.org) by idefix.lespocky.dyndns.org with esmtpa (Exim 4.77) (envelope-from ) id 1RsGyf-00051G-A3 for ptxdist@pengutronix.de; Tue, 31 Jan 2012 17:54:43 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_384cdd8f8304940bd2584e17a70e88d2" Date: Tue, 31 Jan 2012 17:54:41 +0100 From: Alexander Dahl In-Reply-To: <20120130142015.GF31245@pengutronix.de> References: <1327590294-13263-1-git-send-email-post@lespocky.de> <20120126153627.GA25996@pengutronix.de> <20120130142015.GF31245@pengutronix.de> Message-ID: <19561ec9a868fab957c3ca64a164602e@idefix.lespocky.dyndns.org> Subject: Re: [ptxdist] [PATCH] add patch for building at91bootstrap with gcc 4.6.x Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --=_384cdd8f8304940bd2584e17a70e88d2 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Hei Michael, Am 30.01.2012 15:20, schrieb Michael Olbrich: >> See my mail from January 13th, where I described the problem. It occurs >> with the OSELAS toolchain 2011.11.0 compiling for arm-v5te. > > Yes, I tried that and didn't get any build error. Which at91bootstrap > config do I select to this error? Okay I try to give some more information. Meanwhile I switched to the 2011.11.1 toolchain, but the error can be reproduced with this: arm-v5te-linux-gnueabi-gcc -nostartfiles -nostdlib -Wl,-Map=nandflash_at91sam9g20ek.map,--cref -T ./../../elf32-littlearm.lds -Ttext 0x200000 -n -o nandflash_at91sam9g20ek.elf crt0_gnu.o at91sam9g20ek.o main.o gpio.o pmc.o debug.o sdramc.o nandflash.o _udivsi3.o _umodsi3.o div0.o udiv.o string.o /home/adahl/opt/OSELAS.Toolchain-2011.11.1/arm-v5te-linux-gnueabi/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/bin/../lib/gcc/arm-v5te-linux-gnueabi/4.6.2/../../../../arm-v5te-linux-gnueabi/bin/ld: section .text.startup loaded at [00200e84,00200eab] overlaps section data loaded at [00200e84,00200f47] collect2: ld returned 1 exit status You see the toolchain is for arm-v5te-linux-gnueabi and uses gcc 4.6, it's the toolchain build from the tag v2011.11.1 from the git repo http://git.pengutronix.de/?p=OSELAS.Toolchain.git;a=summary and the toolchain is built on the same up-to-date i686 Debian Squeeze VMware virtual machine where I try to compile the at91bootstrap. In the platformconfig I chose this: % grep -irn bootstrap configs configs/arm-ncl/platformconfig:124:PTXCONF_AT91BOOTSTRAP=y configs/arm-ncl/platformconfig:125:PTXCONF_AT91BOOTSTRAP_VERSION="1.16" configs/arm-ncl/platformconfig:126:PTXCONF_AT91BOOTSTRAP_MD5="2d222312cf0af81c56db8747d6a38c7c" configs/arm-ncl/platformconfig:127:PTXCONF_AT91BOOTSTRAP_CONFIG="at91sam9g20ek" configs/arm-ncl/platformconfig:128:# PTXCONF_AT91BOOTSTRAP_BOOT_DATAFLASH is not set configs/arm-ncl/platformconfig:129:PTXCONF_AT91BOOTSTRAP_BOOT_NAND=y configs/arm-ncl/platformconfig:130:# PTXCONF_AT91BOOTSTRAP2 is not set I did a `ptxdist clean at91bootstrap` before and made sure there are no customized rules or patches used, it's at91bootstrap as it comes with ptxdist 2012.01.0, which is the version I use for testing this. Do you need any more information to reproduce this? I attached the platformconfig, hope this is helpful somehow. Greets Alex -- »With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 *** --=_384cdd8f8304940bd2584e17a70e88d2 Content-Transfer-Encoding: base64 Content-Type: text/plain; name=platformconfig Content-Disposition: attachment; filename=platformconfig IwojIEF1dG9tYXRpY2FsbHkgZ2VuZXJhdGVkIG1ha2UgY29uZmlnOiBkb24ndCBlZGl0CiMgUFRY ZGlzdCAyMDEyLjAxLjAKIwpQVFhDT05GX1BMQVRGT1JNQ09ORklHX1ZFUlNJT049IjIwMTIuMDEu MCIKUFRYQ09ORl9fcGxhdGZvcm1jb25maWdfTUFHSUNfXz15CgojCiMgLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tCiMKCiMKIyBUYXJnZXQgUGxhdGZvcm0gQ29uZmlndXJhdGlv biAKIwoKIwojIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQojClBUWENPTkZf UExBVEZPUk09ImF0OTFzYW05ZzIwbmNsIgpQVFhDT05GX1BMQVRGT1JNX1ZFUlNJT049IjEiCgoj CiMgYXJjaGl0ZWN0dXJlICAgICAgICAgICAgICAgICAgCiMKIyBQVFhDT05GX0FSQ0hfQUxQSEEg aXMgbm90IHNldAojIFBUWENPTkZfQVJDSF9BVlIzMiBpcyBub3Qgc2V0CiMgUFRYQ09ORl9BUkNI X0FWUiBpcyBub3Qgc2V0ClBUWENPTkZfQVJDSF9BUk09eQojIFBUWENPTkZfQVJDSF9CTEFDS0ZJ TiBpcyBub3Qgc2V0CiMgUFRYQ09ORl9BUkNIX1g4NiBpcyBub3Qgc2V0CiMgUFRYQ09ORl9BUkNI X01JTkdXIGlzIG5vdCBzZXQKIyBQVFhDT05GX0FSQ0hfUFBDIGlzIG5vdCBzZXQKIyBQVFhDT05G X0FSQ0hfTTY4SyBpcyBub3Qgc2V0CiMgUFRYQ09ORl9BUkNIX1NQQVJDIGlzIG5vdCBzZXQKIyBQ VFhDT05GX0FSQ0hfTUlDUk9CTEFaRSBpcyBub3Q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AojIFBUWENPTkZfSE9TVF9HRU5FWFQyRlMgaXMgbm90 IHNldAojIFBUWENPTkZfSE9TVF9HRU5QQVJUIGlzIG5vdCBzZXQKIyBQVFhDT05GX0hPU1RfR0VU VEVYVCBpcyBub3Qgc2V0CiMgUFRYQ09ORl9IT1NUX0xJQkJMS0lEIGlzIG5vdCBzZXQKIyBQVFhD T05GX0hPU1RfTElCQloyIGlzIG5vdCBzZXQKIyBQVFhDT05GX0hPU1RfTElCQ0FQIGlzIG5vdCBz ZXQKUFRYQ09ORl9IT1NUX0xJQkxaTz15ClBUWENPTkZfSE9TVF9MSUJVVUlEPXkKIyBQVFhDT05G X0hPU1RfTFpPUCBpcyBub3Qgc2V0CiMgUFRYQ09ORl9IT1NUX01LRUxGSU1BR0UgaXMgbm90IHNl dApQVFhDT05GX0hPU1RfTVREX1VUSUxTPXkKIyBQVFhDT05GX0hPU1RfTVRPT0xTIGlzIG5vdCBz ZXQKIyBQVFhDT05GX0hPU1RfT1BFTlNTTCBpcyBub3Qgc2V0CiMgUFRYQ09ORl9IT1NUX1NRVUFT SEZTX1RPT0xTIGlzIG5vdCBzZXQKUFRYQ09ORl9IT1NUX1VNS0lNQUdFPXkKUFRYQ09ORl9IT1NU X1VUSUxfTElOVVhfTkc9eQojIFBUWENPTkZfSE9TVF9YTF9UT09MUyBpcyBub3Qgc2V0CiMgUFRY Q09ORl9IT1NUX1haIGlzIG5vdCBzZXQKUFRYQ09ORl9IT1NUX1pMSUI9eQo= --=_384cdd8f8304940bd2584e17a70e88d2 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --=_384cdd8f8304940bd2584e17a70e88d2--