Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

ARC not compiling #29

Closed
kenchris opened this issue Jul 1, 2016 · 4 comments
Closed

ARC not compiling #29

kenchris opened this issue Jul 1, 2016 · 4 comments

Comments

@kenchris
Copy link
Contributor

kenchris commented Jul 1, 2016

Still having issues

arc (master)$ make BOARD=arduino_101_sss_factory
Using /home/kenneth/repo/zephyr.js/deps/zephyr/boards/arduino_101_sss/arduino_101_sss_factory_defconfig as base
Merging /home/kenneth/repo/zephyr.js/deps/zephyr/kernel/configs/nano.config
Merging prj.conf
#
# configuration written to .config
#
make[1]: Entering directory '/home/kenneth/repo/zephyr.js/deps/zephyr'
make[2]: Entering directory '/home/kenneth/repo/zephyr.js/arc/outdir'
  GEN     ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
  Using /home/kenneth/repo/zephyr.js/deps/zephyr as source for kernel
  GEN     ./Makefile
  CHK     include/generated/version.h
  CHK     misc/generated/configs.c
  UPD     misc/generated/configs.c
  CHK     include/generated/offsets.h
  CC      misc/generated/configs.o
  LD      misc/generated/built-in.o
  LD      misc/built-in.o
  CC      boards/arduino_101_sss/board.o
  LD      boards/arduino_101_sss/built-in.o
  LD      boards/built-in.o
  CC      src/../../src/zjs_ipm.o
/home/kenneth/repo/zephyr.js/arc/src/../../src/zjs_ipm.c:4:30: fatal error: ipm/ipm_quark_se.h: No such file or directory
 #include <ipm/ipm_quark_se.h>
                              ^
compilation terminated.
/home/kenneth/repo/zephyr.js/deps/zephyr/scripts/Makefile.build:182: recipe for target 'src/../../src/zjs_ipm.o' failed
make[3]: *** [src/../../src/zjs_ipm.o] Error 1
/home/kenneth/repo/zephyr.js/deps/zephyr/Makefile:884: recipe for target '/home/kenneth/repo/zephyr.js/arc/src' failed
make[2]: *** [/home/kenneth/repo/zephyr.js/arc/src] Error 2
make[2]: Leaving directory '/home/kenneth/repo/zephyr.js/arc/outdir'
Makefile:173: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/kenneth/repo/zephyr.js/deps/zephyr'
/home/kenneth/repo/zephyr.js/deps/zephyr/Makefile.inc:74: recipe for target 'all' failed
make: *** [all] Error 2
@grgustaf
Copy link
Contributor

grgustaf commented Jul 1, 2016

Yeah, this is a new problem that comes from an update in Zephyr tree. I don't think us tracking the tips of JerryScript and Zephyr randomly is very smart. In my "overlay" patch recently I added the ability for us to choose a particular commit for each to work with, and then we could advance that as we ensure compatibility to make our build more stable.

@jimmy-huang, can you please add your fix here too?

@kenchris
Copy link
Contributor Author

kenchris commented Jul 1, 2016

That is how Chromium works. It has a DEPS file and the tool, fetching with these known-to-work hashes

Example: https://chromium.googlesource.com/chromium/src/+/lkgr/DEPS

(not saying that we have to duplicate what they do - we can make something much simpler :-))

@grgustaf
Copy link
Contributor

grgustaf commented Jul 1, 2016

Yeah my version looks like this in repos.txt:
jerryscript https://github.com/Samsung/jerryscript.git master

So master can be replaced with ba55f154 and such.

Actually, this is already in the tree, not part of the pending overlay patch.

I think we'll just directly commit updates to those commit ids rather than submit PRs, to avoid confusion as to what code we're building against. We could even have jsrunner verify that you're on the right commits in your deps to avoid issues due to mismatches.

@jimmy-huang
Copy link
Contributor

Submitted pr #32

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants