From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot build failes with armv5tel-reghat-linux-gnueabi-gcc (4.1.2)
Date: Wed, 19 Nov 2008 13:06:13 +0100 [thread overview]
Message-ID: <20081119120613.GA30468@game.jcrosoft.org> (raw)
In-Reply-To: <914A49A27B87C143AC977D773E7E79B791BDE2@msiexch01.marvell.com>
On 03:10 Wed 19 Nov , Prafulla Wadaskar wrote:
> Hi
> I am using u-boot-1.1.6 and building u-boot from my new board which includes nand flash support
>
> If I build using armv5tel-reghat-linux-gnueabi-gcc (4.1.2) toolchain it gives build failure with below log
>
> --start-group lib_generic/libgeneric.a board/Marvell/rd6281/librd6281.a cpu/arm926ejs/libarm926ejs.a cpu/arm926ejs/feroceon/libferoceon.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2 -lgcc \
> -Map u-boot.map -o u-boot
> /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_divdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> make: *** [u-boot] Error 1
>
> Whereas,
> If I build the same code using codesoucery toolchain (arm2008q1) release (gcc ver 4.2.3) the build is sucessfull.
>
> I want to go ahead with armv5tel-reghat-linux-gnueabi-gcc (4.1.2)
> Can someone suggest what is problem and how should I proceed?
update the divdi3 and _udivdi3 implementation
I'll said
so please try this patch
please note I've just test it on one board
Best Regards,
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-update-asm-implementation-and-remove-lgcc-from.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20081119/bae3daed/attachment-0001.patch
next prev parent reply other threads:[~2008-11-19 12:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 11:10 [U-Boot] U-boot build failes with armv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
2008-11-19 12:06 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2008-11-23 0:27 ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-11 10:07 ` [U-Boot] U-boot build failes witharmv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
2008-12-11 13:30 ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-11 14:02 ` [U-Boot] U-boot build faileswitharmv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
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=20081119120613.GA30468@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox