Skip to contentSkip to conversation

do staging failed while building eglibc

DISCUSSION Ahsan Khawaja 3 participants 5 messages Nov 19, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

i am using openembedded to build my develoment system for bare metal. I changed the TARGET _OS to arm-none-eabi. while building the system the eglibc gets error during staging process. Error description is to confusing. Please help me in resolving this issue.

thanks.

Regards,
Noor

#1 lore raw

Hello,

Quoted 7 lines · Ahsan Khawaja

Hello,

i am using openembedded to build my develoment system for bare metal. I changed the TARGET _OS to arm-none-eabi. while building the system the eglibc gets error during staging process. Error description is to confusing. Please help me in resolving this issue.

Hmm, do we support building a bare metal (i.e. no target operating system) toolchain?

Also, I doubt (e)glibc supports that at all.

Maybe someone can confirm/correct me.

For just a bare metal toolchain only, I'ld go with crosstool-ng or similar projects.

Regards,

Signature · 1 line
Leon
#2 lore raw
Quoted 6 lines · Leon Woestenberg

Hmm, do we support building a bare metal (i.e. no target operating system) toolchain?

Also, I doubt (e)glibc supports that at all.

Maybe someone can confirm/correct me.

I don't think there is a great deal of specific support for bare metal environments in OE right now, but there is no reason you couldn't use OE to build either the toolchains or indeed the complete binary images for such environments. In some ways it would be nice to see OE become a little bit Linux-centric.

As for glibc itself, it did use to support ARM bare metal back in the day and, if glibc is not rejecting that target at configure time, it probably is still supported to at least some extent today. That said, this is certainly not one of glibc's core competencies and I personally would probably use something like newlib in a bare metal environment.

p.

#3 lore raw
In reply to Ahsan Khawaja

Hello Ahsan,

Quoted 6 lines · Ahsan Khawaja

i am using openembedded to build my develoment system for bare metal. I changed the TARGET _OS to arm-none-eabi. while building the system the eglibc gets error during staging process. Error description is to confusing. Please help me in resolving this issue.

For what machine and/or architecture?

Regards,

Signature · 1 line
Leon
#4 lore raw

Hello,

Architecture : ARM
Machine: imx31

I am unable to understand the error. Can you explain to me why staging phase is failing. it just says

make -r PARALLELMFLAGS="" CVSOPTS="" -C /opt/embeddedalley/freescale_mx31pdk/src/devsys/build_mx31pdk_debug_rebuild001/work/armv6-none-eabi/eglibc-initial-2.9-r4/eglibc-2_9/libc objdir=pwd csu/subdir_lib
make[1]: Entering directory `/opt/embeddedalley/freescale_mx31pdk/src/devsys/build_mx31pdk_debug_rebuild001/work/armv6-none-eabi/eglibc-initial-2.9-r4/eglibc-2_9/libc' make subdir=csu -C csu ..=../ subdir_lib
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/opt/embeddedalley/freescale_mx31pdk/src/devsys/build_mx31pdk_debug_rebuild001/work/armv6-none-eabi/eglibc-initial-2.9-r4/eglibc-2_9/libc'
make: *** [csu/subdir_lib] Error 2
FATAL: oe_runmake failed

there is no clue that what went wrong

Regards,
Noor

Quoted 22 lines · Leon Woestenberg

Hello Ahsan,

Quoted 4 lines · Ahsan Khawaja

i am using openembedded to build my develoment system for bare metal. I changed the TARGET _OS to arm-none-eabi. while building the system the eglibc gets error during staging process. Error description is to

confusing.

Quoted 2 lines

Please help me in resolving this issue.

For what machine and/or architecture?

Regards,
--
Leon

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel