* [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0
@ 2011-09-22 8:47 Andrew Holt
2011-09-22 10:09 ` Stefano Babic
2011-09-22 13:49 ` Wolfgang Denk
0 siblings, 2 replies; 8+ messages in thread
From: Andrew Holt @ 2011-09-22 8:47 UTC (permalink / raw)
To: u-boot
Hi,
I am building u-boot for the TI da850_omapl138_evm using the Current CodeSourcery toolchain.
The final link, where it produces u-boot and u-boot.map failed with the following error:
/usr/local/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/libgcc.a(_bswapsi2.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
make: *** [u-boot] Error 1
I have seen reference to a patch, if this is true could somebody indicate which patch will fix this ?
Thanks,
Andrew
=============================
Andrew Holt
Email: andrew.holt at 4asolutions.co.uk
De Omnibus Dubitandum
=============================
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0
2011-09-22 8:47 [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0 Andrew Holt
@ 2011-09-22 10:09 ` Stefano Babic
2011-09-22 11:16 ` Andrew Holt
2011-09-22 13:49 ` Wolfgang Denk
1 sibling, 1 reply; 8+ messages in thread
From: Stefano Babic @ 2011-09-22 10:09 UTC (permalink / raw)
To: u-boot
On 09/22/2011 10:47 AM, Andrew Holt wrote:
> Hi,
>
> I am building u-boot for the TI da850_omapl138_evm using the Current CodeSourcery toolchain.
This board is *not* in u-boot mainline. We have da850_evm, and this
compiles fine.
Configuring for da850evm board...
text data bss dec hex filename
158556 3276 53936 215768 34ad8 ./u-boot
--------------------- SUMMARY ----------------------------
Boards compiled: 1
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0
2011-09-22 10:09 ` Stefano Babic
@ 2011-09-22 11:16 ` Andrew Holt
2011-09-22 13:58 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: Andrew Holt @ 2011-09-22 11:16 UTC (permalink / raw)
To: u-boot
Hi,
I performed >
make clean && make da850_evm_config && make
And still get the same error :(
Andrew
On 22 Sep 2011, at 11:09, Stefano Babic wrote:
> On 09/22/2011 10:47 AM, Andrew Holt wrote:
>> Hi,
>>
>> I am building u-boot for the TI da850_omapl138_evm using the Current CodeSourcery toolchain.
>
> This board is *not* in u-boot mainline. We have da850_evm, and this
> compiles fine.
>
> Configuring for da850evm board...
> text data bss dec hex filename
> 158556 3276 53936 215768 34ad8 ./u-boot
>
> --------------------- SUMMARY ----------------------------
> Boards compiled: 1
>
> Best regards,
> Stefano Babic
>
> --
> =====================================================================
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
> =====================================================================
>
=============================
Andrew Holt
Email: andrew.holt at 4asolutions.co.uk
De Omnibus Dubitandum
=============================
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0
2011-09-22 8:47 [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0 Andrew Holt
2011-09-22 10:09 ` Stefano Babic
@ 2011-09-22 13:49 ` Wolfgang Denk
1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2011-09-22 13:49 UTC (permalink / raw)
To: u-boot
Dear Andrew Holt,
In message <F12E3690-2491-4098-9678-471A34C87AA0@4asolutions.co.uk> you wrote:
>
> I am building u-boot for the TI da850_omapl138_evm using the Current CodeSourcery toolchain.
>
> The final link, where it produces u-boot and u-boot.map failed with the following error:
>
> /usr/local/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/libgcc.a(_bswapsi2.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> make: *** [u-boot] Error 1
>
> I have seen reference to a patch, if this is true could somebody indicate which patch will fix this ?
Probably a fix to your tool chain...
...or you don't use the compiler provided libgcc, and rather the
routines that come with U-Boot.
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
The only way you could make a happy marriage is by cuttin' their
heads off as soon as they say `I do', yes? You can't make happi-
ness... - Terry Pratchett, _Witches Abroad_
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0
2011-09-22 11:16 ` Andrew Holt
@ 2011-09-22 13:58 ` Wolfgang Denk
2011-09-22 14:13 ` Stefano Babic
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2011-09-22 13:58 UTC (permalink / raw)
To: u-boot
Dear Andrew Holt,
In message <12376E4F-F4C4-4069-899A-B15FF575447A@4asolutions.co.uk> you wrote:
>
> I performed >
...
> And still get the same error :(
I bet you are still using the same tool chain?
Guess where the error is?
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
It is more rational to sacrifice one life than six.
-- Spock, "The Galileo Seven", stardate 2822.3
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0
2011-09-22 13:58 ` Wolfgang Denk
@ 2011-09-22 14:13 ` Stefano Babic
2011-09-22 19:05 ` Andrew Holt
0 siblings, 1 reply; 8+ messages in thread
From: Stefano Babic @ 2011-09-22 14:13 UTC (permalink / raw)
To: u-boot
On 09/22/2011 03:58 PM, Wolfgang Denk wrote:
> Dear Andrew Holt,
>
> In message <12376E4F-F4C4-4069-899A-B15FF575447A@4asolutions.co.uk> you wrote:
>>
>> I performed >
> ...
>> And still get the same error :(
Last CodeSourcery uses a gcc 4.5 compiler (from website). I have tried
to compile the board with a gcc-4.5.1 (gcc version 4.5.1 (GCC),
ELDK-5.0), no problem at all.
Maybe something gone wrong when you installed the toolchain ?
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0
2011-09-22 14:13 ` Stefano Babic
@ 2011-09-22 19:05 ` Andrew Holt
2011-09-22 22:02 ` stefano babic
0 siblings, 1 reply; 8+ messages in thread
From: Andrew Holt @ 2011-09-22 19:05 UTC (permalink / raw)
To: u-boot
Hi,
I have latest (from website) installed on Ubuntu 11.04. I have built over things, including the linux distro build root without problems. I?ll investigate but I?m not sure where to look.
Andrew
On 22 Sep 2011, at 15:13, Stefano Babic wrote:
> On 09/22/2011 03:58 PM, Wolfgang Denk wrote:
>> Dear Andrew Holt,
>>
>> In message <12376E4F-F4C4-4069-899A-B15FF575447A@4asolutions.co.uk> you wrote:
>>>
>>> I performed >
>> ...
>>> And still get the same error :(
>
> Last CodeSourcery uses a gcc 4.5 compiler (from website). I have tried
> to compile the board with a gcc-4.5.1 (gcc version 4.5.1 (GCC),
> ELDK-5.0), no problem at all.
>
> Maybe something gone wrong when you installed the toolchain ?
>
> Best regards,
> Stefano Babic
>
> --
> =====================================================================
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
> =====================================================================
>
=============================
Andrew Holt
Email: andrew.holt at 4asolutions.co.uk
De Omnibus Dubitandum
=============================
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0
2011-09-22 19:05 ` Andrew Holt
@ 2011-09-22 22:02 ` stefano babic
0 siblings, 0 replies; 8+ messages in thread
From: stefano babic @ 2011-09-22 22:02 UTC (permalink / raw)
To: u-boot
Am 22/09/2011 21:05, schrieb Andrew Holt:
> Hi,
>
> I have latest (from website) installed on Ubuntu 11.04. I have built over things, including the linux distro build root without problems. I?ll investigate but I?m not sure where to look.
>
With last CodeSourcery - gcc version 4.5.2 (Sourcery G++ Lite
2011.03-42) - the board is built on Ubuntu Natty without errors. I see
only a few warnings due to the libgcc of the toolchain, for example:
arm-none-eabi-ld: warning:
/home/opt/tools/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.5.2/libgcc.a(_bswapsi2.o)
uses variable-size enums yet the output is to use 32-bit enums; use of
enum values across objects may fail
However, everything is built successfully.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-09-22 22:02 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 8:47 [U-Boot] Compile error undefined reference to `__aeabi_unwind_cpp_pr0 Andrew Holt
2011-09-22 10:09 ` Stefano Babic
2011-09-22 11:16 ` Andrew Holt
2011-09-22 13:58 ` Wolfgang Denk
2011-09-22 14:13 ` Stefano Babic
2011-09-22 19:05 ` Andrew Holt
2011-09-22 22:02 ` stefano babic
2011-09-22 13:49 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.