From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] nds32: toolchains for building ?
Date: Fri, 4 Nov 2011 19:20:10 -0400 [thread overview]
Message-ID: <201111041920.11508.vapier@gentoo.org> (raw)
In-Reply-To: <201111041822.33640.vapier@gentoo.org>
On Friday 04 November 2011 18:22:32 Mike Frysinger wrote:
> On Friday 04 November 2011 04:24:51 ??? wrote:
> > It's pity that only you can found the toolchain with full source from
> > public is very old.
> > I can give you the url as follows.
> > http://osdk.andestech.com/
>
> yes, i d/l-ed that monster of a .rar (which contains .tar.gz which
> themselves contain .tar.gz .....), but the linker in there segfaults for
> me :(
seems to partially be due to the nds32 u-boot.lds not handling .data.rel
sections which a few objects have, so the linker just arbitrarily appends
them. you should probably tweak the linker script, perhaps like so:
--- a/arch/nds32/cpu/n1213/u-boot.lds
+++ b/arch/nds32/cpu/n1213/u-boot.lds
@@ -41,7 +41,7 @@ SECTIONS
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
. = ALIGN(4);
- .data : { *(.data) }
+ .data : { *(.data*) }
. = ALIGN(4);
fixing that though just gets me a diff bug:
nds32le-linux-ld: BFD 2.16.91 internal error, aborting at ../../bfd/section.c
line 1229 in bfd_map_over_sections
nds32le-linux-ld: Please report this bug.
-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/20111104/a33bc1c3/attachment.pgp
next prev parent reply other threads:[~2011-11-04 23:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 17:58 [U-Boot] nds32: toolchains for building ? Mike Frysinger
2011-11-04 8:24 ` 馬克泡
2011-11-04 22:22 ` Mike Frysinger
2011-11-04 23:20 ` Mike Frysinger [this message]
2011-11-05 1:35 ` 馬克泡
2011-11-05 17:04 ` Mike Frysinger
2011-11-10 6:22 ` Macpaul Lin
2011-11-10 16:28 ` Mike Frysinger
2011-11-10 17:01 ` Macpaul Lin
2011-11-10 17:12 ` Mike Frysinger
2011-11-11 2:01 ` Macpaul Lin
2011-11-11 2:08 ` Macpaul Lin
2011-11-11 2:42 ` Mike Frysinger
2011-11-11 2:53 ` Macpaul Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201111041920.11508.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.