cmake: byte order unknown

Bug #1092136 reported by Riku Voipio on 2012-12-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro AArch64 cross-distro work
Fix Released

Bug Description

cmake build fails with:

[ 0%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_C.c.o
cd /data/oe/build/tmp-eglibc/work/aarch64-oe-linux/cmake/ && /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-gcc -DKWIML_LANGUAGE_C -DKWIML_LANGUAGE_CXX -DKWIML_NAMESPACE=cmIML --sysroot=/data/oe/build/tmp-eglibc/sysroots/genericarmv8 -Wno-format -I/data/oe/build/tmp-eglibc/work/aarch64-oe-linux/cmake/ -I/data/oe/build/tmp-eglibc/work/aarch64-oe-linux/cmake/ -o CMakeFiles/cmIML_test.dir/test_ABI_C.c.o -c /data/oe/build/tmp-eglibc/work/aarch64-oe-linux/cmake/
In file included from /data/oe/build/tmp-eglibc/work/aarch64-oe-linux/cmake/
/data/oe/build/tmp-eglibc/work/aarch64-oe-linux/cmake/ error: #error "Byte order of target CPU unknown."

This is relatively high priority as cmake is used low in build dependencies.

Changed in linaro-aarch64:
status: New → Fix Committed
importance: Undecided → Medium
Riku Voipio (riku-voipio) wrote :

The following patch make cmake compile succeed. Testing was done by running

 ctest --force-new-ctest-process -E CTestTestUpload -j1

In a foundation model in the cmake source directory compiled by OE.

Changed in cmake:
status: Unknown → New
Changed in cmake:
status: New → In Progress
Changed in cmake:
status: In Progress → Fix Released
Fathi Boudra (fboudra) on 2013-03-29
Changed in linaro-aarch64:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.