<div dir="ltr">Hallo,<br><br>I am working on a MinGW SDK layer for OpenEmbedded. At this point, I got to the <br>point where the "gcc-crosssdk" package builds successfully. <br><br>My next target is to build the "nativesdk-libgcc" package. But the <br>
"nativesdk-eglibc-initial package" is getting in the way. As one can see from <br>the log output below, eglibc, it complains that the mingw32 environment is not <br>supported.<br><br>So I switched TCLIBC in local.conf to "uclibc" in the hope that it would do better, <br>
but same error message. Same package gets built.<br><br>Also there is a BitBake warning about multiple package that provides the same libc-for-gcc package. But when I run gcc-crosssdk, there is no such clash.<br><br>Thus my question is, where does the eglibc package get included in the dependency <br>
tree? I worked through the package-depends.dot file to try and find what is <br>referencing this package but with no luck.<br><br>Cheers<br> Francois<br><br>ps. My MinGW work is captured in this git repository:<br> <a href="https://github.com/fgretief/meta-mingw.git">https://github.com/fgretief/meta-mingw.git</a><br>
<br><span style="font-family:courier new,monospace">$ SDKMACHINE=x86_64-mingw32 bitbake nativesdk-libgcc -c compile<br><br>Build Configuration:<br>BB_VERSION = "1.19.1"<br>BUILD_SYS = "x86_64-linux"<br>
NATIVELSBSTRING = "Fedora-19"<br>TARGET_SYS = "arm-oe-linux-uclibceabi"<br>MACHINE = "qemuarm"<br>DISTRO_VERSION = "oe-core.0"<br>TUNE_FEATURES = "armv5 thumb dsp"<br>
TARGET_FPU = "soft"<br>meta-mingw = "master:018333e3c2fd77bdf0a21c042cbc6b28c6eeb42f"<br>meta = "master:f192c444c2d88c49738bea4ff4c3af0cc72916de"<br><br>Other variables: (from -e output)<br>
TCLIBC = "uclibc"<br>SDK_PREFIX = "x86_64-oesdk-mingw32-"<br>TARGET_PREFIX = "x86_64-oesdk-mingw32-"<br><br>NOTE: Resolving any missing task queue dependencies<br>NOTE: Preparing runqueue<br>
ERROR: Multiple .bb files are due to be built which each provide virtual/nativesdk-x86_64-oesdk-mingw32-libc-for-gcc <br>(virtual:nativesdk:/opt/core-oe/sources/openembedded-core/meta/recipes-core/eglibc/<a href="http://eglibc_2.18.bb">eglibc_2.18.bb</a> <br>
virtual:nativesdk:/opt/core-oe/sources/meta-mingw/recipes-devtools/mingw-w64/<a href="http://mingw-w64-runtime_2.0.8.bb">mingw-w64-runtime_2.0.8.bb</a>).<br> This usually means one provides something the other doesn't and should.<br>
NOTE: Executing SetScene Tasks<br>NOTE: Executing RunQueue Tasks<br>ERROR: Function failed: do_configure (log file is located at /opt/core-oe/tmp-uclibc/work/x86_64-nativesdk-oesdk-mingw32/nativesdk-eglibc-initial/2.18-r0/temp/log.do_configure.23538)<br>
ERROR: Logfile of failure stored in: /opt/core-oe/tmp-uclibc/work/x86_64-nativesdk-oesdk-mingw32/nativesdk-eglibc-initial/2.18-r0/temp/log.do_configure.23538<br>Log data follows:<br>| DEBUG: Executing python function sysroot_cleansstate<br>
| DEBUG: Python function sysroot_cleansstate finished<br>| DEBUG: SITE files ['endian-little', 'common-mingw', 'bit-64', 'x86_64-mingw32', 'common']<br>| DEBUG: Executing shell function autotools_preconfigure<br>
| DEBUG: Shell function autotools_preconfigure finished<br>| DEBUG: Executing shell function do_configure<br>| aclocal.m4:5: error: Exactly version 2.68 of Autoconf is required but you have 2.69<br>| aclocal.m4:5: the top level<br>
| autom4te: m4 failed with exit status: 63<br>| checking build system type... x86_64-pc-linux-gnu<br>| checking host system type... x86_64-oesdk-mingw32<br>| checking for x86_64-oesdk-mingw32-gcc... x86_64-oesdk-mingw32-gcc --sysroot=/opt/core-oe/tmp-uclibc/sysroots/x86_64-nativesdk-oesdk-mingw32<br>
| checking for suffix of object files... o<br>| checking whether we are using the GNU C compiler... yes<br>| checking whether x86_64-oesdk-mingw32-gcc --sysroot=/opt/core-oe/tmp-uclibc/sysroots/x86_64-nativesdk-oesdk-mingw32 accepts -g... yes<br>
| checking for gcc... gcc<br>| checking whether we are using the GNU C++ compiler... yes<br>| checking whether x86_64-oesdk-mingw32-g++ --sysroot=/opt/core-oe/tmp-uclibc/sysroots/x86_64-nativesdk-oesdk-mingw32 accepts -g... yes<br>
| checking for x86_64-oesdk-mingw32-readelf... x86_64-oesdk-mingw32-readelf<br>| checking for sysdeps preconfigure fragments... x86_64 checking whether x86_64-oesdk-mingw32-gcc --sysroot=/opt/core-oe/tmp-uclibc/sysroots/x86_64-nativesdk-oesdk-mingw32 compiles in -mx32 mode by default... no<br>
| <br>| configure: running configure fragment for add-on libidn<br>| configure: running configure fragment for add-on nptl<br>| checking add-on ports for preconfigure fragments... aarch64 alpha am33 arm hppa ia64 m68k microblaze mips powerpc tile<br>
| checking for assembler and linker STT_GNU_IFUNC support... no<br>| checking whether .text pseudo-op must be used... yes<br>|<br>| checking sysdep dirs... configure: error: Operating system mingw32 is not supported.<br>|<br>
| ERROR: Function failed: do_configure (log file is located at /opt/core-oe/tmp-uclibc/work/x86_64-nativesdk-oesdk-mingw32/nativesdk-eglibc-initial/2.18-r0/temp/log.do_configure.23538)<br>ERROR: Task 235 (virtual:nativesdk:/opt/core-oe/sources/openembedded-core/meta/recipes-core/eglibc/<a href="http://eglibc-initial_2.18.bb">eglibc-initial_2.18.bb</a>, do_configure) failed with exit code '1'<br>
NOTE: Tasks Summary: Attempted 602 tasks of which 595 didn't need to be rerun and 1 failed.<br>Waiting for 0 running tasks to finish:<br><br>Summary: 1 task failed:<br> virtual:nativesdk:/opt/core-oe/sources/openembedded-core/meta/recipes-core/eglibc/<a href="http://eglibc-initial_2.18.bb">eglibc-initial_2.18.bb</a>, do_configure<br>
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.<br></span><br></div>