low-level-can-service dab branch fails to build

Description

In file included from /mnt/ssd/mranostay/m3ulcb-dab/tmp/work/aarch64-agl-linux/low-level-can-service/4.0+gitAUTOINC+caff40b454-r0/git/libs/bitfield-c/src/bitfield/bitfield.h:4:0,                                                                                     from /mnt/ssd/mranostay/m3ulcb-dab/tmp/work/aarch64-agl-linux/low-level-can-service/4.0+gitAUTOINC+caff40b454-r0/git/libs/bitfield-c/src/bitfield/8byte.c:1:                                                                         /mnt/ssd/mranostay/m3ulcb-dab/tmp/sysroots/x86_64-linux/usr/lib/aarch64-agl-linux/gcc/aarch64-agl-linux/6.2.0/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory                                                                  # include_next <stdint.h>                                                                                                                           ^                                                                                                compilation terminated.

 

Commit HEAD for dab ->cfefec3991f272f5eaaa3f909f0f4f402ea5b04f  fails to build

Environment

None

Activity

Show:

Romain Forlot August 10, 2017 at 8:55 AM

Romain Forlot August 10, 2017 at 8:54 AM

: We do not use -isystem flags AFAIK, maybe Yocto but I doubt. Debug led me to conflict to specify compilation flags with the ones from Yocto that take precedence over those from project and failed consequently... This is wrong usage of cmake variable that raise the issue which is fix now

Thanks for the links, it is good to know and I did not find it.

Romain Forlot August 10, 2017 at 8:50 AM

Forgot to mention this SPEC in gerrit review that fix this issue : https://gerrit.automotivelinux.org/gerrit/#/c/10561/

 

 

Martin Kelly August 8, 2017 at 7:09 PM

Looks a lot like this bug, which broke a lot of things when GCC 6 came out:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129

Romain Forlot August 8, 2017 at 8:34 AM

Sure. I look at it now and trying to reproduce.

It is a problem with compile flag when built with Yocto. You must use a certain commit in submodule app-templates that fix this.

 

WIP

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Priority

Created August 8, 2017 at 12:20 AM
Updated September 18, 2017 at 11:40 AM
Resolved August 10, 2017 at 8:55 AM