From: Vipin KUMAR <vipin.kumar@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option
Date: Thu, 15 Jul 2010 14:38:24 +0530 [thread overview]
Message-ID: <4C3ED008.1080207@st.com> (raw)
In-Reply-To: <201007151104.22596.fabio.giovagnini@aurion-tech.com>
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
>>
>
next prev parent reply other threads:[~2010-07-15 9:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=4C3ED008.1080207@st.com \
--to=vipin.kumar@st.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