View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013808 | CMake | CCMake | public | 2012-12-21 07:57 | 2013-05-06 09:32 | ||||
Reporter | Riku Voipio | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | 64-Bit ARM (Aarch64) | OS | Linux | OS Version | 3.7 | ||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | CMake 2.8.11 | Fixed in Version | CMake 2.8.11 | ||||||
Summary | 0013808: Please add 64-Bit ARM endianness defines to cmake | ||||||||
Description | When building for 64-Buit ARM (officially known as Aarch64), cmake will fail to build due unknown byte order. In file included from /data/oe/build/tmp-eglibc/work/aarch64-oe-linux/cmake/2.8.10.1-r0.0/cmake-2.8.10.1/Utilities/KWIML/test/test_ABI_C.c:13:0: /data/oe/build/tmp-eglibc/work/aarch64-oe-linux/cmake/2.8.10.1-r0.0/cmake-2.8.10.1/Utilities/cmIML/ABI.h:419:3: error: #error "Byte order of target CPU unknown." With the attached patch, cmake tests pass on the ARMv8 Foundation model simulator. | ||||||||
Steps To Reproduce | mkdir oe cd oe git clone git://git.linaro.org/openembedded/meta-aarch64.git [^] # the last commit has already the attached patch, so rewind from head git checkout 54d06ed77b0cc11ac1e260ee0ab9751f9ed2c4ed # this will clone and install a lot of stuff - debian/ubuntu expected. bash meta-aarch64/scripts/init.sh cd openembedded-core . oe-init-build-env ../build bitbake cmake The bitbake command will take a long while, as it will compile the crosscompiler and all tools first. This instruction is based upon the following page: https://wiki.linaro.org/HowTo/ARMv8/OpenEmbedded [^] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | 0001-Add-Aarch64-support.patch [^] (1,783 bytes) 2012-12-21 07:57 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0031937) Brad King (manager) 2012-12-21 08:37 |
Thanks! Both KWIML and KWSys are shared with other projects so the entry point for changes is not through CMake. I've split your patch into one for each of the two projects. The KWIML one is here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=34916522 [^] I'll report back again once the KWSys commit is ready. |
(0031940) Brad King (manager) 2012-12-22 09:55 |
Here is the commit in KWSys: http://public.kitware.com/gitweb?p=KWSys.git;a=commitdiff;h=8ce09af5 [^] and the commit bringing it into CMake: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=567e7d94 [^] |
(0032992) Robert Maynard (manager) 2013-05-06 09:32 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-12-21 07:57 | Riku Voipio | New Issue | |
2012-12-21 07:57 | Riku Voipio | File Added: 0001-Add-Aarch64-support.patch | |
2012-12-21 08:35 | Brad King | Assigned To | => Brad King |
2012-12-21 08:35 | Brad King | Status | new => assigned |
2012-12-21 08:37 | Brad King | Note Added: 0031937 | |
2012-12-21 08:37 | Brad King | Target Version | => CMake 2.8.11 |
2012-12-22 09:55 | Brad King | Note Added: 0031940 | |
2012-12-22 09:55 | Brad King | Status | assigned => resolved |
2012-12-22 09:55 | Brad King | Resolution | open => fixed |
2012-12-22 09:55 | Brad King | Fixed in Version | => CMake 2.8.11 |
2013-05-06 09:32 | Robert Maynard | Note Added: 0032992 | |
2013-05-06 09:32 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |