From: Mike Frysinger Date: Fri, 19 Mar 2010 12:59:42 -0400 Subject: [U-Boot] uboot on microblaze, compilation error In-Reply-To: <4BA325E4.4090006@monstr.eu> References: <001701cac601$5a380c50$c801a8c0@xeon> <201003182111.28112.vapier@gentoo.org> <4BA325E4.4090006@monstr.eu> Message-ID: <201003191259.48272.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 19 March 2010 03:21:08 Michal Simek wrote: > Mike Frysinger wrote: > > On Thursday 18 March 2010 05:29:19 Michal Simek wrote: > >> Mike Frysinger wrote: > >>> On Wednesday 17 March 2010 14:36:38 Horst Gall wrote: > >>>> I try to compile an actual version of u-boot for xilinx microblaze. > >>>> > >>>> The linker ends with the error-message: > >>>> ... mb-ld.real:u-boot.lds:1: parse error > >>>> > >>>> In u-boot main-directory I found the file 'u-boot.lds': > >>>> OUTPUT_ARCH(1) > >>>> ENTRY(_start) > >>>> ... > >>>> cpu/1/start.o (.text) > >>>> ... > >>>> > >>>> When I change the "1" to "microblaze" it works: > >>>> OUTPUT_ARCH(microblaze) > >>>> ENTRY(_start) > >>>> ... > >>>> cpu/microblaze/start.o (.text) > >>>> ... > >>>> > >>>> After "make ...config" my modification is overwritten. > >>>> How can I fix this problem? > >>> > >>> add "#undef microblaze" to the top of > >>> board/xilinx/microblaze-generic/u- boot.lds > >> > >> Mike is right. I expect you are using toolchain from EDK where the > >> problem is. Linux toolchain are ok. > > > > i dont think the toolchain is broken. this is standard gcc behavior for > > all arches. i would check the microblaze gcc port, but it doesnt seem > > to be mainlined at gcc.gnu.org, so ive lost interest. > > Michael Eager takes care about. There is official updated branch at > http://gcc.gnu.org/viewcvs/branches/microblaze/ > He is trying to add it to mainline repo but AFAIF he wasn't successful > yet. I don't know how gcc community works but it seems to me a little > closed. a quick glance shows that it no longer defines "microblaze" ... or i missed it -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20100319/de20be99/attachment.pgp