* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
@ 2010-07-15 7:01 Vipin KUMAR
2010-07-15 8:15 ` Fabio Giovagnini
0 siblings, 1 reply; 13+ messages in thread
From: Vipin KUMAR @ 2010-07-15 7:01 UTC (permalink / raw)
To: u-boot
Hello,
While building uboot-2010.03 for any arm board, with USE_PRIVATE_LIBGCC=yes is
throwing the following errors.
Any help would be appriciated
net/libnet.a(net.o): In function `ip_to_string':
/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/net/net.c:1886: undefined reference to `__bswapsi2'
net/libnet.a(nfs.o): In function `__fswab32':
/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteorder/swab.h:113: undefined reference to `__bswapsi2'
net/libnet.a(bootp.o): In function `__fswab32':
/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteorder/swab.h:113: undefined reference to `__bswapsi2'
common/libcommon.a(cmd_bootm.o): In function `__fswab32':
/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteorder/swab.h:113: undefined reference to `__bswapsi2'
common/libcommon.a(cmd_nand.o): In function `nand_load_image':
/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/common/cmd_nand.c:542: undefined reference to `__bswapsi2'
common/libcommon.a(cmd_nvedit.o):/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/common/cmd_nvedit.c:369: more undefined references to `__bswapsi2' follow
lib/libgeneric.a(display_options.o): In function `print_size':
/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options.c:66: undefined reference to `__aeabi_uldivmod'
/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options.c:69: undefined reference to `__aeabi_uldivmod'
/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options.c:70: undefined reference to `__aeabi_uldivmod'
lib/libgeneric.a(net_utils.o): In function `string_to_ip':
/data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/net_utils.c:40: undefined reference to `__bswapsi2'
make: *** [u-boot] Error 1
Thanks in advance
Regards
Vipin
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 7:01 [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option Vipin KUMAR
@ 2010-07-15 8:15 ` Fabio Giovagnini
2010-07-15 8:59 ` Vipin KUMAR
0 siblings, 1 reply; 13+ messages in thread
From: Fabio Giovagnini @ 2010-07-15 8:15 UTC (permalink / raw)
To: u-boot
I had a similar problem with sh2a 7203 based board and gcc version 4.4.1
(Sourcery G++ Lite 4.4-206)
Verify if the undefined symbols are of libgcc.
Regards
In data gioved? 15 luglio 2010 09:01:43, Vipin KUMAR ha scritto:
: > Hello,
>
> While building uboot-2010.03 for any arm board, with USE_PRIVATE_LIBGCC=yes
> is throwing the following errors.
>
> Any help would be appriciated
>
> net/libnet.a(net.o): In function `ip_to_string':
> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/net/net.c:1886:
> undefined reference to `__bswapsi2' net/libnet.a(nfs.o): In function
> `__fswab32':
> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteor
> der/swab.h:113: undefined reference to `__bswapsi2' net/libnet.a(bootp.o):
> In function `__fswab32':
> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteor
> der/swab.h:113: undefined reference to `__bswapsi2'
> common/libcommon.a(cmd_bootm.o): In function `__fswab32':
> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteor
> der/swab.h:113: undefined reference to `__bswapsi2'
> common/libcommon.a(cmd_nand.o): In function `nand_load_image':
> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/common/cmd_nand.c:54
> 2: undefined reference to `__bswapsi2'
> common/libcommon.a(cmd_nvedit.o):/data/csd_sw/spear/drives_os/vipink/spear
> /uboot/u-boot/common/cmd_nvedit.c:369: more undefined references to
> `__bswapsi2' follow lib/libgeneric.a(display_options.o): In function
> `print_size':
> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options.
> c:66: undefined reference to `__aeabi_uldivmod'
> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options
> .c:69: undefined reference to `__aeabi_uldivmod'
> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options
> .c:70: undefined reference to `__aeabi_uldivmod'
> lib/libgeneric.a(net_utils.o): In function `string_to_ip':
> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/net_utils.c:40:
> undefined reference to `__bswapsi2' make: *** [u-boot] Error 1
>
> Thanks in advance
>
> Regards
> Vipin
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
--
Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 8:15 ` Fabio Giovagnini
@ 2010-07-15 8:59 ` Vipin KUMAR
2010-07-15 9:04 ` Fabio Giovagnini
0 siblings, 1 reply; 13+ messages in thread
From: Vipin KUMAR @ 2010-07-15 8:59 UTC (permalink / raw)
To: u-boot
Ciao Fabio,
On 7/15/2010 1:45 PM, Fabio Giovagnini wrote:
> I had a similar problem with sh2a 7203 based board and gcc version 4.4.1
> (Sourcery G++ Lite 4.4-206)
> Verify if the undefined symbols are of libgcc.
>
They must be, because I can compile the source without USE_PRIVATE_LIBGCC=yes option
But due to a few constraints, I have to compile the code with USE_PRIVATE_LIBGCC=yes
option enabled
Regards
Vipin
> Regards
>
> In data gioved? 15 luglio 2010 09:01:43, Vipin KUMAR ha scritto:
> : > Hello,
>>
>> While building uboot-2010.03 for any arm board, with USE_PRIVATE_LIBGCC=yes
>> is throwing the following errors.
>>
>> Any help would be appriciated
>>
>> net/libnet.a(net.o): In function `ip_to_string':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/net/net.c:1886:
>> undefined reference to `__bswapsi2' net/libnet.a(nfs.o): In function
>> `__fswab32':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteor
>> der/swab.h:113: undefined reference to `__bswapsi2' net/libnet.a(bootp.o):
>> In function `__fswab32':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteor
>> der/swab.h:113: undefined reference to `__bswapsi2'
>> common/libcommon.a(cmd_bootm.o): In function `__fswab32':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteor
>> der/swab.h:113: undefined reference to `__bswapsi2'
>> common/libcommon.a(cmd_nand.o): In function `nand_load_image':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/common/cmd_nand.c:54
>> 2: undefined reference to `__bswapsi2'
>> common/libcommon.a(cmd_nvedit.o):/data/csd_sw/spear/drives_os/vipink/spear
>> /uboot/u-boot/common/cmd_nvedit.c:369: more undefined references to
>> `__bswapsi2' follow lib/libgeneric.a(display_options.o): In function
>> `print_size':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options.
>> c:66: undefined reference to `__aeabi_uldivmod'
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options
>> .c:69: undefined reference to `__aeabi_uldivmod'
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options
>> .c:70: undefined reference to `__aeabi_uldivmod'
>> lib/libgeneric.a(net_utils.o): In function `string_to_ip':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/net_utils.c:40:
>> undefined reference to `__bswapsi2' make: *** [u-boot] Error 1
>>
>> Thanks in advance
>>
>> Regards
>> Vipin
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 8:59 ` Vipin KUMAR
@ 2010-07-15 9:04 ` Fabio Giovagnini
2010-07-15 9:08 ` Vipin KUMAR
0 siblings, 1 reply; 13+ messages in thread
From: Fabio Giovagnini @ 2010-07-15 9:04 UTC (permalink / raw)
To: u-boot
Ciao Vipin,
ok, so the only way is to select the source file containing the fuction from
libgcc and include at source level into your source u-boot tree.
I did the same but I started from the lib dir of linux kernel
Regards
In data gioved? 15 luglio 2010 10:59:52, Vipin KUMAR ha scritto:
: > Ciao Fabio,
>
> On 7/15/2010 1:45 PM, Fabio Giovagnini wrote:
> > I had a similar problem with sh2a 7203 based board and gcc version 4.4.1
> > (Sourcery G++ Lite 4.4-206)
> > Verify if the undefined symbols are of libgcc.
>
> They must be, because I can compile the source without
> USE_PRIVATE_LIBGCC=yes option But due to a few constraints, I have to
> compile the code with USE_PRIVATE_LIBGCC=yes option enabled
>
> Regards
> Vipin
>
> > Regards
> >
> > In data gioved? 15 luglio 2010 09:01:43, Vipin KUMAR ha scritto:
> > : > Hello,
> >>
> >> While building uboot-2010.03 for any arm board, with
> >> USE_PRIVATE_LIBGCC=yes is throwing the following errors.
> >>
> >> Any help would be appriciated
> >>
> >> net/libnet.a(net.o): In function `ip_to_string':
> >> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/net/net.c:1886:
> >> undefined reference to `__bswapsi2' net/libnet.a(nfs.o): In function
> >> `__fswab32':
> >> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byt
> >>eor der/swab.h:113: undefined reference to `__bswapsi2'
> >> net/libnet.a(bootp.o): In function `__fswab32':
> >> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byt
> >>eor der/swab.h:113: undefined reference to `__bswapsi2'
> >> common/libcommon.a(cmd_bootm.o): In function `__fswab32':
> >> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byt
> >>eor der/swab.h:113: undefined reference to `__bswapsi2'
> >> common/libcommon.a(cmd_nand.o): In function `nand_load_image':
> >> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/common/cmd_nand.c
> >>:54 2: undefined reference to `__bswapsi2'
> >>
> >> common/libcommon.a(cmd_nvedit.o):/data/csd_sw/spear/drives_os/vipink/spe
> >>ar /uboot/u-boot/common/cmd_nvedit.c:369: more undefined references to
> >> `__bswapsi2' follow lib/libgeneric.a(display_options.o): In function
> >> `print_size':
> >> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_optio
> >>ns. c:66: undefined reference to `__aeabi_uldivmod'
> >>
> >> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_optio
> >>ns .c:69: undefined reference to `__aeabi_uldivmod'
> >>
> >> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_optio
> >>ns .c:70: undefined reference to `__aeabi_uldivmod'
> >> lib/libgeneric.a(net_utils.o): In function `string_to_ip':
> >> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/net_utils.c:4
> >>0: undefined reference to `__bswapsi2' make: *** [u-boot] Error 1
> >>
> >> Thanks in advance
> >>
> >> Regards
> >> Vipin
> >> _______________________________________________
> >> U-Boot mailing list
> >> U-Boot at lists.denx.de
> >> http://lists.denx.de/mailman/listinfo/u-boot
>
--
Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 9:04 ` Fabio Giovagnini
@ 2010-07-15 9:08 ` Vipin KUMAR
2010-07-15 9:13 ` Wolfgang Denk
0 siblings, 1 reply; 13+ messages in thread
From: Vipin KUMAR @ 2010-07-15 9:08 UTC (permalink / raw)
To: u-boot
On 7/15/2010 2:34 PM, Fabio Giovagnini wrote:
> Ciao Vipin,
Ciao Again,
> ok, so the only way is to select the source file containing the fuction from
> libgcc and include at source level into your source u-boot tree.
> I did the same but I started from the lib dir of linux kernel
>
Hmmm, I was just avoiding it thinking that maybe someone somewhere would have
already done that. May be that patch can also be sent to the community
Regards
Vipin
> Regards
>
>
>
> In data gioved? 15 luglio 2010 10:59:52, Vipin KUMAR ha scritto:
> : > Ciao Fabio,
>>
>> On 7/15/2010 1:45 PM, Fabio Giovagnini wrote:
>>> I had a similar problem with sh2a 7203 based board and gcc version 4.4.1
>>> (Sourcery G++ Lite 4.4-206)
>>> Verify if the undefined symbols are of libgcc.
>>
>> They must be, because I can compile the source without
>> USE_PRIVATE_LIBGCC=yes option But due to a few constraints, I have to
>> compile the code with USE_PRIVATE_LIBGCC=yes option enabled
>>
>> Regards
>> Vipin
>>
>>> Regards
>>>
>>> In data gioved? 15 luglio 2010 09:01:43, Vipin KUMAR ha scritto:
>>> : > Hello,
>>>>
>>>> While building uboot-2010.03 for any arm board, with
>>>> USE_PRIVATE_LIBGCC=yes is throwing the following errors.
>>>>
>>>> Any help would be appriciated
>>>>
>>>> net/libnet.a(net.o): In function `ip_to_string':
>>>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/net/net.c:1886:
>>>> undefined reference to `__bswapsi2' net/libnet.a(nfs.o): In function
>>>> `__fswab32':
>>>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byt
>>>> eor der/swab.h:113: undefined reference to `__bswapsi2'
>>>> net/libnet.a(bootp.o): In function `__fswab32':
>>>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byt
>>>> eor der/swab.h:113: undefined reference to `__bswapsi2'
>>>> common/libcommon.a(cmd_bootm.o): In function `__fswab32':
>>>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byt
>>>> eor der/swab.h:113: undefined reference to `__bswapsi2'
>>>> common/libcommon.a(cmd_nand.o): In function `nand_load_image':
>>>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/common/cmd_nand.c
>>>> :54 2: undefined reference to `__bswapsi2'
>>>>
>>>> common/libcommon.a(cmd_nvedit.o):/data/csd_sw/spear/drives_os/vipink/spe
>>>> ar /uboot/u-boot/common/cmd_nvedit.c:369: more undefined references to
>>>> `__bswapsi2' follow lib/libgeneric.a(display_options.o): In function
>>>> `print_size':
>>>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_optio
>>>> ns. c:66: undefined reference to `__aeabi_uldivmod'
>>>>
>>>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_optio
>>>> ns .c:69: undefined reference to `__aeabi_uldivmod'
>>>>
>>>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_optio
>>>> ns .c:70: undefined reference to `__aeabi_uldivmod'
>>>> lib/libgeneric.a(net_utils.o): In function `string_to_ip':
>>>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/net_utils.c:4
>>>> 0: undefined reference to `__bswapsi2' make: *** [u-boot] Error 1
>>>>
>>>> Thanks in advance
>>>>
>>>> Regards
>>>> Vipin
>>>> _______________________________________________
>>>> U-Boot mailing list
>>>> U-Boot at lists.denx.de
>>>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 9:08 ` Vipin KUMAR
@ 2010-07-15 9:13 ` Wolfgang Denk
2010-07-15 9:51 ` Fabio Giovagnini
2010-07-15 11:11 ` Vipin KUMAR
0 siblings, 2 replies; 13+ messages in thread
From: Wolfgang Denk @ 2010-07-15 9:13 UTC (permalink / raw)
To: u-boot
Dear Vipin KUMAR,
In message <4C3ED008.1080207@st.com> you wrote:
>
> > ok, so the only way is to select the source file containing the fuction from
> > libgcc and include at source level into your source u-boot tree.
> > I did the same but I started from the lib dir of linux kernel
>
> Hmmm, I was just avoiding it thinking that maybe someone somewhere would have
> already done that. May be that patch can also be sent to the community
Feel free to go on - we're looking forward to seeing your patch.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Your csh still thinks true is false. Write to your vendor today and
tell them that next year Configure ought to "rm /bin/csh" unless they
fix their blasted shell. :-)
- Larry Wall in Configure from the perl distribution
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 9:13 ` Wolfgang Denk
@ 2010-07-15 9:51 ` Fabio Giovagnini
2010-07-15 10:22 ` Wolfgang Denk
2010-07-15 11:11 ` Vipin KUMAR
1 sibling, 1 reply; 13+ messages in thread
From: Fabio Giovagnini @ 2010-07-15 9:51 UTC (permalink / raw)
To: u-boot
Just for my info.
I did USE_PRIVATE_LIBGCC=yes modifing directly the makfile.
Is iot possible to specify this in board dependent config file?
I'll send my patches as soon as i'll finish the porting on my boadl called
mlcd7203
Regards
In data gioved? 15 luglio 2010 11:13:08, Wolfgang Denk ha scritto:
: > Dear Vipin KUMAR,
>
> In message <4C3ED008.1080207@st.com> you wrote:
> > > ok, so the only way is to select the source file containing the fuction
> > > from libgcc and include at source level into your source u-boot tree. I
> > > did the same but I started from the lib dir of linux kernel
> >
> > Hmmm, I was just avoiding it thinking that maybe someone somewhere would
> > have already done that. May be that patch can also be sent to the
> > community
>
> Feel free to go on - we're looking forward to seeing your patch.
>
> Best regards,
>
> Wolfgang Denk
>
--
Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 9:51 ` Fabio Giovagnini
@ 2010-07-15 10:22 ` Wolfgang Denk
2010-07-15 10:28 ` Fabio Giovagnini
0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Denk @ 2010-07-15 10:22 UTC (permalink / raw)
To: u-boot
Dear Fabio Giovagnini,
In message <201007151151.58747.fabio.giovagnini@aurion-tech.com> you wrote:
>
> I did USE_PRIVATE_LIBGCC=yes modifing directly the makfile.
> Is iot possible to specify this in board dependent config file?
Why? Just pass it on the command line, or set it as envrionment
variable.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There are very few personal problems that cannot be solved through a
suitable application of high explosives.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 10:22 ` Wolfgang Denk
@ 2010-07-15 10:28 ` Fabio Giovagnini
0 siblings, 0 replies; 13+ messages in thread
From: Fabio Giovagnini @ 2010-07-15 10:28 UTC (permalink / raw)
To: u-boot
something like
u-boot-sh$ make USE_PRIVATE_LIBGCC=yes <enter>
Right?
Ok Thanks a lot
In data gioved? 15 luglio 2010 12:22:43, Wolfgang Denk ha scritto:
: > Dear Fabio Giovagnini,
>
> In message <201007151151.58747.fabio.giovagnini@aurion-tech.com> you wrote:
> > I did USE_PRIVATE_LIBGCC=yes modifing directly the makfile.
> > Is iot possible to specify this in board dependent config file?
>
> Why? Just pass it on the command line, or set it as envrionment
> variable.
>
> Best regards,
>
> Wolfgang Denk
>
--
Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 9:13 ` Wolfgang Denk
2010-07-15 9:51 ` Fabio Giovagnini
@ 2010-07-15 11:11 ` Vipin KUMAR
2010-07-15 17:57 ` Wolfgang Denk
1 sibling, 1 reply; 13+ messages in thread
From: Vipin KUMAR @ 2010-07-15 11:11 UTC (permalink / raw)
To: u-boot
On 7/15/2010 2:43 PM, Wolfgang Denk wrote:
> Dear Vipin KUMAR,
>
Dear Wolfgang,
> In message <4C3ED008.1080207@st.com> you wrote:
>>
>>> ok, so the only way is to select the source file containing the fuction from
>>> libgcc and include at source level into your source u-boot tree.
>>> I did the same but I started from the lib dir of linux kernel
>>
>> Hmmm, I was just avoiding it thinking that maybe someone somewhere would have
>> already done that. May be that patch can also be sent to the community
>
> Feel free to go on - we're looking forward to seeing your patch.
>
The problem why I was looking for this is that the tool-chain I am using only
supports -mhard-float option and this toolchain is specifically meant for armv7
(basically Cortex-A9 with FPU enabled).
Since this option -msoft-float is passed from arch/arm/cpu/config.mk, and it
is common for all arm configurations. Is there a good way to pass -mhard-float..
Regards
Vipin
> Best regards,
>
> Wolfgang Denk
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 11:11 ` Vipin KUMAR
@ 2010-07-15 17:57 ` Wolfgang Denk
2010-07-15 18:20 ` Dennis Ruffer
0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Denk @ 2010-07-15 17:57 UTC (permalink / raw)
To: u-boot
Dear Vipin KUMAR,
In message <4C3EECDB.7000708@st.com> you wrote:
>
> Since this option -msoft-float is passed from arch/arm/cpu/config.mk, and it
> is common for all arm configurations. Is there a good way to pass -mhard-float..
Why would you want to do that? We don't use any FP code in U-Boot
anyway.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When you say "I wrote a program that crashed Windows", people just
stare at you blankly and say "Hey, I got those with the system, *for
free*". - Linus Torvalds in <3itc77$9lj@ninurta.fer.uni-lj.si>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 17:57 ` Wolfgang Denk
@ 2010-07-15 18:20 ` Dennis Ruffer
2010-07-15 18:50 ` Wolfgang Denk
0 siblings, 1 reply; 13+ messages in thread
From: Dennis Ruffer @ 2010-07-15 18:20 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: u-boot-bounces at lists.denx.de [mailto:u-boot-
> bounces at lists.denx.de] On Behalf Of Wolfgang Denk
> Sent: Thursday, July 15, 2010 10:58 AM
> To: Vipin KUMAR
> Cc: u-boot at lists.denx.de; Shiraz HASHIM
> Subject: Re: [U-Boot] u-boot-2010.03 build errors with
> USE_PRIVATE_LIBGCC=yes option
>
> Dear Vipin KUMAR,
>
> In message <4C3EECDB.7000708@st.com> you wrote:
> >
> > Since this option -msoft-float is passed from arch/arm/cpu/config.mk,
> and it
> > is common for all arm configurations. Is there a good way to pass -
> mhard-float..
>
> Why would you want to do that? We don't use any FP code in U-Boot
> anyway.
We have actually seen issues with the post memory tests using the -mfpu=neon
and -ftree-vectorize under gcc 4.4.1. So, I would be very careful with FP
flags until someone figures out how to fix the 64-bit access operators that
the memory test uses.
DaR
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> When you say "I wrote a program that crashed Windows", people just
> stare at you blankly and say "Hey, I got those with the system, *for
> free*". - Linus Torvalds in <3itc77$9lj@ninurta.fer.uni-lj.si>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
2010-07-15 18:20 ` Dennis Ruffer
@ 2010-07-15 18:50 ` Wolfgang Denk
0 siblings, 0 replies; 13+ messages in thread
From: Wolfgang Denk @ 2010-07-15 18:50 UTC (permalink / raw)
To: u-boot
Dear "Dennis Ruffer",
In message <00ba01cb244a$629a4b90$27cee2b0$@com> you wrote:
>
> > Why would you want to do that? We don't use any FP code in U-Boot
> > anyway.
>
> We have actually seen issues with the post memory tests using the -mfpu=neon
> and -ftree-vectorize under gcc 4.4.1. So, I would be very careful with FP
> flags until someone figures out how to fix the 64-bit access operators that
> the memory test uses.
Well, there _is_ a reason for using -msoft-float as we are doing in
U-Boot. Thanks for confirming this again.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Often it is fatal to live too long. - Racine
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2010-07-15 18:50 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-15 7:01 [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option Vipin KUMAR
2010-07-15 8:15 ` Fabio Giovagnini
2010-07-15 8:59 ` Vipin KUMAR
2010-07-15 9:04 ` Fabio Giovagnini
2010-07-15 9:08 ` Vipin KUMAR
2010-07-15 9:13 ` Wolfgang Denk
2010-07-15 9:51 ` Fabio Giovagnini
2010-07-15 10:22 ` Wolfgang Denk
2010-07-15 10:28 ` Fabio Giovagnini
2010-07-15 11:11 ` Vipin KUMAR
2010-07-15 17:57 ` Wolfgang Denk
2010-07-15 18:20 ` Dennis Ruffer
2010-07-15 18:50 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox