You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] APL/CNL Build failed due to bigger SOF_SRC_HASH #3322
Describe the bug
Build failed with warnings for APL and CNL today in my local build.(I don't think this is problem only for this two) Not sure this is my environment problem. I used to build FWs without any problem.
./scripts/xtensa-build-all.sh cnl
or
./scripts/xtensa-build-all.sh apl
[ 2%] Building C object src/init/CMakeFiles/ext_manifest.dir/ext_manifest.c.o
cc1: warnings being treated as errors
/home/fredoh/work/sof/20200818/src/init/ext_manifest.c:35: warning: integer constant is too large for ‘long’ type
/home/fredoh/work/sof/20200818/src/init/ext_manifest.c:35: warning: large integer implicitly truncated to unsigned type
make[2]: *** [src/init/CMakeFiles/ext_manifest.dir/build.make:63: src/init/CMakeFiles/ext_manifest.dir/ext_manifest.c.o] Error 2
I checked SOF_SRC_HASH, it is 5 bytes, although src_hash variable is uint32_t.
Activity
fredoh9 commentedon Aug 18, 2020
Looks my case, it hit else part of below
My current build tree is based on
git worktree addand it has.gitin ROOT directory also.jdrzaszcz commentedon Aug 19, 2020
Fixed by cmake: set git hash to 8 digit #3323
cmake: set git hash to 8 digit