This service is available only in Japanese-language.
UBNTUの仮想PCでRZ/G1Cの評価ボード用の環境を構築したいのですが、
ソフトウェアマニュアル内のbitbake core-image-westonを実行すると
エラーが発生してしまします。内容から解消方法をご教示いただけますと幸いです。
bitbake core-image-weston
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 1222 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "i586-poky-linux"
MACHINE = "qemux86"
DISTRO = "poky"
DISTRO_VERSION = "1.6.1"
TUNE_FEATURES = "m32 i586"
TARGET_FPU = ""
meta
meta-yocto
meta-yocto-bsp = "tmp:c4f1f0f491f988901bfd6965f7d10f60cb94a76f"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /home/protec/iwg23s-release-bsp/build/tmp/work/x86_64-linux/gmp-native/5.1.1-r0/temp/log.do_compile.3493)
ERROR: Logfile of failure stored in: /home/protec/iwg23s-release-bsp/build/tmp/work/x86_64-linux/gmp-native/5.1.1-r0/temp/log.do_compile.3493
Log data follows:
省略
| /usr/bin/ld: mpn/.libs/invert_limb.o: relocation R_X86_64_PC32 against protected symbol `__gmpn_invert_limb_table' can not be used when making a shared object
| /usr/bin/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
| Makefile:836: recipe for target 'libgmp.la' failed
| make[2]: *** [libgmp.la] Error 1
| make[2]: Leaving directory '/home/protec/iwg23s-release-bsp/build/tmp/work/x86_64-linux/gmp-native/5.1.1-r0/build'
| Makefile:926: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory '/home/protec/iwg23s-release-bsp/build/tmp/work/x86_64-linux/gmp-native/5.1.1-r0/build'
| Makefile:744: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/protec/iwg23s-release-bsp/build/tmp/work/x86_64-linux/gmp-native/5.1.1-r0/temp/log.do_compile.3493)
ERROR: Task 1935 (virtual:native:/home/protec/iwg23s-release-bsp/poky/meta/recipes-support/gmp/gmp_5.1.1.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 61 tasks of which 60 didn't need to be rerun and 1 failed.
No currently running tasks (61 of 3253)
Summary: 1 task failed:
virtual:native:/home/protec/iwg23s-release-bsp/poky/meta/recipes-support/gmp/gmp_5.1.1.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
yakuhito
2021/1/21 (木) 13:08
開発ホストのOSがサポート外となっています。
当該バージョンに関して、Ububtu14.04 にて構築した経験があります。
bitbake実行時のログで表示される
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "i586-poky-linux"
MACHINE = "qemux86"
DISTRO = "poky"
DISTRO_VERSION = "1.6.1"
から、ベースとなるpoky のバージョンは。1.6.1 となっています。
Yocto1.6.1向けのマニュアルのサポートするDistributionを御参照ください。
https://www.yoctoproject.org/docs/1.6.1/mega-manual/mega-manual.html#det...
Ubuntu14.04 の仮想マシンであれば、構築可能かと。
koni
2021/1/25 (月) 10:04
ご回答ありがとうございます
ご教示いただいた方法でbitbake core-image-westonの実行が行えました。
誠にありがとうございました。