* Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
@ 2007-07-29 9:01 Farhad Rahimi
2007-07-29 11:25 ` Dirk Behme
2007-07-29 16:04 ` Woodruff, Richard
0 siblings, 2 replies; 9+ messages in thread
From: Farhad Rahimi @ 2007-07-29 9:01 UTC (permalink / raw)
To: linux-omap-open-source
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
2007-07-29 9:01 Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0 Farhad Rahimi
@ 2007-07-29 11:25 ` Dirk Behme
2007-07-29 12:19 ` Farhad Rahimi
2007-07-29 16:04 ` Woodruff, Richard
1 sibling, 1 reply; 9+ messages in thread
From: Dirk Behme @ 2007-07-29 11:25 UTC (permalink / raw)
To: Farhad Rahimi; +Cc: linux-omap-open-source
Farhad Rahimi wrote:
Empty mail?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
2007-07-29 11:25 ` Dirk Behme
@ 2007-07-29 12:19 ` Farhad Rahimi
2007-07-29 13:15 ` Dirk Behme
0 siblings, 1 reply; 9+ messages in thread
From: Farhad Rahimi @ 2007-07-29 12:19 UTC (permalink / raw)
To: dirk.behme; +Cc: linux-omap-open-source
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
2007-07-29 12:19 ` Farhad Rahimi
@ 2007-07-29 13:15 ` Dirk Behme
0 siblings, 0 replies; 9+ messages in thread
From: Dirk Behme @ 2007-07-29 13:15 UTC (permalink / raw)
To: Farhad Rahimi; +Cc: linux-omap-open-source
Farhad Rahimi wrote:
> I found a patch which suppose to fix the problem, but I am wonder how to
> use the patch,
Check if
http://wiki.davincidsp.com/index.php?title=Working_with_Linux_patches#Applying_a_patch
can help you.
Dirk
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
2007-07-29 9:01 Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0 Farhad Rahimi
2007-07-29 11:25 ` Dirk Behme
@ 2007-07-29 16:04 ` Woodruff, Richard
2007-07-29 17:32 ` Farhad Rahimi
1 sibling, 1 reply; 9+ messages in thread
From: Woodruff, Richard @ 2007-07-29 16:04 UTC (permalink / raw)
To: Farhad Rahimi, linux-omap-open-source
There are 2 fixes for this.
Early GCC3.4 had a bug which the patch you are looking at is for
(patching and rebuilding your tool chain). Next you can build u-boot
with out issue.
Later GCC version fixes this so no patch should be necessary.
It seems like the very latest u-boot sources may not have this issue as
someone had went though code and change function usage to try and avoid
functions which result in this. The ports likely haven't been refreshed
to make use of this. Using a CodeSourcry tool chain direcly is likely
the easiest thing to do.
Regards,
Richard W.
> -----Original Message-----
> From: linux-omap-open-source-bounces@linux.omap.com
[mailto:linux-omap-
> open-source-bounces@linux.omap.com] On Behalf Of Farhad Rahimi
> Sent: Sunday, July 29, 2007 4:01 AM
> To: linux-omap-open-source@linux.omap.com
> Subject: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
>
>
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
2007-07-29 16:04 ` Woodruff, Richard
@ 2007-07-29 17:32 ` Farhad Rahimi
2007-07-30 11:43 ` Woodruff, Richard
0 siblings, 1 reply; 9+ messages in thread
From: Farhad Rahimi @ 2007-07-29 17:32 UTC (permalink / raw)
To: r-woodruff2, linux-omap-open-source
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
2007-07-29 17:32 ` Farhad Rahimi
@ 2007-07-30 11:43 ` Woodruff, Richard
2007-07-30 18:10 ` Farhad Rahimi
0 siblings, 1 reply; 9+ messages in thread
From: Woodruff, Richard @ 2007-07-30 11:43 UTC (permalink / raw)
To: Farhad Rahimi, linux-omap-open-source
Hi,
That is good. Hope it will boot.
Which chip are you compiling for anyway? Seems like you need to compile for at least ARMv5 (something which supports the bx instruction) to get the warnings away in the configuration they provide.
Regards,
Richard W.
________________________________
From: Farhad Rahimi [mailto:frk85@hotmail.com]
Sent: Sunday, July 29, 2007 12:32 PM
To: Woodruff, Richard; linux-omap-open-source@linux.omap.com
Subject: RE: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
Hi Richard,
I found it, it was in the Makefile, under ARM ARCH, I was grep the whole "arm-linux-gcc", which I should only search for "arm-linux-".
PS, why there are so much warning, that "target CPU does not suppost interworking" ?
Regards
Farhad
________________________________
From: "Woodruff, Richard" <r-woodruff2@ti.com>
To: "Farhad Rahimi" <frk85@hotmail.com>, <linux-omap-open-source@linux.omap.com>
Subject: RE: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
Date: Sun, 29 Jul 2007 11:04:24 -0500
>There are 2 fixes for this.
>
>Early GCC3.4 had a bug which the patch you are looking at is for
>(patching and rebuilding your tool chain). Next you can build u-boot
>with out issue.
>
>Later GCC version fixes this so no patch should be necessary.
>
>It seems like the very latest u-boot sources may not have this issue as
>someone had went though code and change function usage to try and avoid
>functions which result in this. The ports likely haven't been refreshed
>to make use of this. Using a CodeSourcry tool chain direcly is likely
>the easiest thing to do.
>
>Regards,
>Richard W.
>
> > -----Original Message-----
> > From: linux-omap-open-source-bounces@linux.omap.com
>[mailto:linux-omap-
> > open-source-bounces@linux.omap.com] On Behalf Of Farhad Rahimi
> > Sent: Sunday, July 29, 2007 4:01 AM
> > To: linux-omap-open-source@linux.omap.com
> > Subject: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
> >
> >
> > _______________________________________________
> > Linux-omap-open-source mailing list
> > Linux-omap-open-source@linux.omap.com
> > http://linux.omap.com/mailman/listinfo/linux-omap-open-source
________________________________
Ta' på udsalg året rundt på MSN Shopping <http://g.msn.com/8HMAENDK/2755??PS=47575> hvor du altid finder de bedste priser
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
2007-07-30 11:43 ` Woodruff, Richard
@ 2007-07-30 18:10 ` Farhad Rahimi
2007-07-30 18:38 ` Woodruff, Richard
0 siblings, 1 reply; 9+ messages in thread
From: Farhad Rahimi @ 2007-07-30 18:10 UTC (permalink / raw)
To: r-woodruff2, linux-omap-open-source
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0
2007-07-30 18:10 ` Farhad Rahimi
@ 2007-07-30 18:38 ` Woodruff, Richard
0 siblings, 0 replies; 9+ messages in thread
From: Woodruff, Richard @ 2007-07-30 18:38 UTC (permalink / raw)
To: Farhad Rahimi, linux-omap-open-source
> Well, I am using omap5912. I changed to the gcc4.1.1 and the warnings are
> gone now.
If you go to cpu/arm926ejs/config.mk and switch the type from armv4 to armv5 it will likely be fine.
Regards,
Richard W.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-07-30 18:38 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-29 9:01 Das u-boot : relocation truncated to fit: R_ARM_PLT32 __div0 Farhad Rahimi
2007-07-29 11:25 ` Dirk Behme
2007-07-29 12:19 ` Farhad Rahimi
2007-07-29 13:15 ` Dirk Behme
2007-07-29 16:04 ` Woodruff, Richard
2007-07-29 17:32 ` Farhad Rahimi
2007-07-30 11:43 ` Woodruff, Richard
2007-07-30 18:10 ` Farhad Rahimi
2007-07-30 18:38 ` Woodruff, Richard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox