* [Buildroot] UBOOT 2009.08 & ARM Link Error
[not found] <A41BAEC7EC0449D8BB97311F11270777@apexjs>
@ 2009-09-10 9:06 ` Peter Korsgaard
2009-09-10 14:02 ` Shinya Kuribayashi
0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2009-09-10 9:06 UTC (permalink / raw)
To: buildroot
>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:
Sagaert> Hi Peter
Sagaert> I ran it outside buildroot to find the problem, from inside
Sagaert> buildroot same problem
Sagaert> export CROSS_COMPILE=arm-linux-
Sagaert> make clean
Sagaert> make at91sam9260ek_nandflash_config
Sagaert> make
So that sounds as if it's a problem with u-boot, and nothing to do with
buildroot.
Perhaps you could ask on the u-boot list if that's a known problem?
Sagaert> I understand, it's a huge project and i what works for one
Sagaert> target could be broken for another one. Thats the price to
Sagaert> pay when trying to use the 'latest' stuff.... :)
Yes unfortunately. Thanks a lot for doing this early testing.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] UBOOT 2009.08 & ARM Link Error
@ 2009-09-10 7:50 Sagaert Johan
2009-09-10 8:14 ` Peter Korsgaard
2009-09-14 6:02 ` Ulf Samuelsson
0 siblings, 2 replies; 7+ messages in thread
From: Sagaert Johan @ 2009-09-10 7:50 UTC (permalink / raw)
To: buildroot
Hi
Did anyone succeed in building the UBOOT 2009.08 version for ARM
(at91sam9260_config)?
I always end up with this error :
arm-linux-ld: ERROR:
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_udivsi3.o) uses hardware FP, whereas u-boot uses
software FP
arm-linux-ld: failed to merge target specific data of file
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_udivsi3.o)
arm-linux-ld: ERROR:
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_divsi3.o) uses hardware FP, whereas u-boot uses
software FP
arm-linux-ld: failed to merge target specific data of file
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_divsi3.o)
arm-linux-ld: ERROR:
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_umodsi3.o) uses hardware FP, whereas u-boot uses
software FP
arm-linux-ld: failed to merge target specific data of file
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_umodsi3.o)
arm-linux-ld: ERROR:
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_modsi3.o) uses hardware FP, whereas u-boot uses
software FP
arm-linux-ld: failed to merge target specific data of file
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_modsi3.o)
arm-linux-ld: ERROR:
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_dvmd_lnx.o) uses hardware FP, whereas u-boot uses
software FP
arm-linux-ld: failed to merge target specific data of file
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_dvmd_lnx.o)
arm-linux-ld: ERROR:
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_lshrdi3.o) uses hardware FP, whereas u-boot uses
software FP
arm-linux-ld: failed to merge target specific data of file
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_lshrdi3.o)
arm-linux-ld: ERROR:
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_ashldi3.o) uses hardware FP, whereas u-boot uses
software FP
arm-linux-ld: failed to merge target specific data of file
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_ashldi3.o)
arm-linux-ld: ERROR:
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_ashrdi3.o) uses hardware FP, whereas u-boot uses
software FP
arm-linux-ld: failed to merge target specific data of file
/home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-li
nux-uclibc/4.3.3/libgcc.a(_ashrdi3.o)
make: *** [u-boot] Error 1
The 2009.06 version does not produce this error, so i will be using this one
i guess .
I wonder if this is a toolchain issue or a uboot error .
If a recent version gets pushed into buildroot, does someone then verifies
it works ?
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090910/1472385a/attachment-0001.htm>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] UBOOT 2009.08 & ARM Link Error
2009-09-10 7:50 Sagaert Johan
@ 2009-09-10 8:14 ` Peter Korsgaard
2009-09-14 6:02 ` Ulf Samuelsson
1 sibling, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2009-09-10 8:14 UTC (permalink / raw)
To: buildroot
>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:
Hi,
Sagaert> The 2009.06 version does not produce this error, so i will be
Sagaert> using this one i guess .
Sagaert> I wonder if this is a toolchain issue or a uboot error .
Is you toolchain using hardware FPU? Can you build 2009.08 manually
outside buildroot?
Sagaert> If a recent version gets pushed into buildroot, does someone
Sagaert> then verifies it works ?
Ofcourse, but you cannot test all configurations. I mainly work on
powerpc, so that's what I tested before adding it.
As mentioned in the 2009.08 announcement, I'll work on getting buildbot
running, so we can get a bit more test coverage.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] UBOOT 2009.08 & ARM Link Error
2009-09-10 7:50 Sagaert Johan
2009-09-10 8:14 ` Peter Korsgaard
@ 2009-09-14 6:02 ` Ulf Samuelsson
2009-09-14 9:36 ` Peter Korsgaard
1 sibling, 1 reply; 7+ messages in thread
From: Ulf Samuelsson @ 2009-09-14 6:02 UTC (permalink / raw)
To: buildroot
Sagaert Johan skrev:
> Hi
>
> Did anyone succeed in building the UBOOT 2009.08 version for ARM
> (at91sam9260_config)?
>
> I always end up with this error :
>
Yes, I can build 2009.08 in my personal git tree.
git://git.busybox.net/~ulf/git/atmel-2009-08
You need some fixes, which are present there.
While I did not test the SAM9260 as such, this is a generic
problem for ARM, which gets fixed by my patches.
My git tree also contains linux-2.6.30.2 and an updated
at91bootstrap.
Still a lot of testing to be done.
Help appreciated.
> arm-linux-ld: ERROR:
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_udivsi3.o)
> uses hardware FP, whereas u-boot uses software FP
> arm-linux-ld: failed to merge target specific data of file
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_udivsi3.o)
> arm-linux-ld: ERROR:
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_divsi3.o)
> uses hardware FP, whereas u-boot uses software FP
> arm-linux-ld: failed to merge target specific data of file
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_divsi3.o)
> arm-linux-ld: ERROR:
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_umodsi3.o)
> uses hardware FP, whereas u-boot uses software FP
> arm-linux-ld: failed to merge target specific data of file
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_umodsi3.o)
> arm-linux-ld: ERROR:
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_modsi3.o)
> uses hardware FP, whereas u-boot uses software FP
> arm-linux-ld: failed to merge target specific data of file
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_modsi3.o)
> arm-linux-ld: ERROR:
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_dvmd_lnx.o)
> uses hardware FP, whereas u-boot uses software FP
> arm-linux-ld: failed to merge target specific data of file
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_dvmd_lnx.o)
> arm-linux-ld: ERROR:
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_lshrdi3.o)
> uses hardware FP, whereas u-boot uses software FP
> arm-linux-ld: failed to merge target specific data of file
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_lshrdi3.o)
> arm-linux-ld: ERROR:
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_ashldi3.o)
> uses hardware FP, whereas u-boot uses software FP
> arm-linux-ld: failed to merge target specific data of file
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_ashldi3.o)
> arm-linux-ld: ERROR:
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_ashrdi3.o)
> uses hardware FP, whereas u-boot uses software FP
> arm-linux-ld: failed to merge target specific data of file
> /home/johan/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.3.3/libgcc.a(_ashrdi3.o)
> make: *** [u-boot] Error 1
>
> The 2009.06 version does not produce this error, so i will be using this
> one i guess .
>
> I wonder if this is a toolchain issue or a uboot error .
>
> If a recent version gets pushed into buildroot, does someone then
> verifies it works ?
>
> Johan
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] UBOOT 2009.08 & ARM Link Error
2009-09-14 6:02 ` Ulf Samuelsson
@ 2009-09-14 9:36 ` Peter Korsgaard
2009-09-14 15:42 ` Ulf Samuelsson
0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2009-09-14 9:36 UTC (permalink / raw)
To: buildroot
>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson@atmel.com> writes:
Ulf> Sagaert Johan skrev:
>> Hi
>> Did anyone succeed in building the UBOOT 2009.08 version for ARM
>> (at91sam9260_config)?
>> I always end up with this error :
>>
Ulf> Yes, I can build 2009.08 in my personal git tree.
Ulf> git://git.busybox.net/~ulf/git/atmel-2009-08
Ulf> You need some fixes, which are present there.
Ulf> While I did not test the SAM9260 as such, this is a generic
Ulf> problem for ARM, which gets fixed by my patches.
Patches are welcome - Are they in upstream u-boot git?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] UBOOT 2009.08 & ARM Link Error
2009-09-14 9:36 ` Peter Korsgaard
@ 2009-09-14 15:42 ` Ulf Samuelsson
0 siblings, 0 replies; 7+ messages in thread
From: Ulf Samuelsson @ 2009-09-14 15:42 UTC (permalink / raw)
To: buildroot
>>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson@atmel.com> writes:
>
> Ulf> Sagaert Johan skrev:
> >> Hi
> >> Did anyone succeed in building the UBOOT 2009.08 version for ARM
> >> (at91sam9260_config)?
> >> I always end up with this error :
> >>
>
> Ulf> Yes, I can build 2009.08 in my personal git tree.
> Ulf> git://git.busybox.net/~ulf/git/atmel-2009-08
>
> Ulf> You need some fixes, which are present there.
> Ulf> While I did not test the SAM9260 as such, this is a generic
> Ulf> problem for ARM, which gets fixed by my patches.
>
> Patches are welcome - Are they in upstream u-boot git?
>
> --
> Bye, Peter Korsgaard
>
They were proposed and rejected because it is not needed by the ELDK
Embedded Linux Development Kit, provided by Denx.
The decision makers for U-boot, think that everyone should compile using
ELDK,
and really do not care if the Buildroot toolchain can build U-Boot or not.
This is an old problem, and if you build older u-boots for AT91
the existing patches will handle the problem
If the buildroot compiler can handle "-msoftfloat" the problem will go away
by itself.
Best Regards
Ulf Samuelsson
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-09-14 15:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <A41BAEC7EC0449D8BB97311F11270777@apexjs>
2009-09-10 9:06 ` [Buildroot] UBOOT 2009.08 & ARM Link Error Peter Korsgaard
2009-09-10 14:02 ` Shinya Kuribayashi
2009-09-10 7:50 Sagaert Johan
2009-09-10 8:14 ` Peter Korsgaard
2009-09-14 6:02 ` Ulf Samuelsson
2009-09-14 9:36 ` Peter Korsgaard
2009-09-14 15:42 ` Ulf Samuelsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox