New issue
Advanced search Search tips
Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jan 25
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 724628



Sign in to add a comment

arc-camera3-hal-intel-ipu3 fails to biuld with libc++

Project Member Reported by manojgupta@chromium.org, Jan 24

Issue description

Nautilus is in same family as eve but this package seems to be unique for it.

https://uberchromegw.corp.google.com/i/chromeos/builders/nautilus-release/builds/311

arc-camera3-hal-intel-ipu3-0.0.1-r147: /bin/sh ./libtool  --tag=CXX   --mode=compile x86_64-cros-linux-gnu-clang++ -DHAVE_CONFIG_H -I.  -DPAGESIZE=4096 -DCAMERA_HAL_DEBUG -DDUMP_IMAGE -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIE -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -DNAMESPACE_DECLARATION=namespace\ android\ {\namespace\ camera2 -DNAMESPACE_DECLARATION_END=} -DUSING_DECLARED_NAMESPACE=using\ namespace\ android::camera2 -I/build/nautilus/usr/include/android/hardware/libhardware/include -I/build/nautilus/usr/include/android/system/core/include  -I/build/nautilus/usr/include/android  -I/build/nautilus/usr/include/android  -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/arc -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include  -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include  -I/build/nautilus/usr/include/sync  -DHAVE_JPEG  -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIE -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -I./common/platformdata/metadataAutoGen/6.0.1 -I./psl/ipu3  -I./include -I./include/ia_imaging -DCAMERA_IPU3_SUPPORT -DHAL_PIXEL_FORMAT_NV12_LINEAR_CAMERA_INTEL=0x10F -DMACRO_KBL_AIC -DREMOTE_3A_SERVER -I./psl/ipu3/ipc -I./LAL/ipu3/include/uapi -I./LAL/ipu3/include -I. -I./common -I./common/platformdata -I./common/platformdata/gc -I./common/3a -I./common/mediacontroller -I./common/v4l2dev -I./AAL -I./common/imageProcess -I./common/jpeg -I./common/gcss -I./psl/ipu3/ipc/client  -DNDEBUG  -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -c -o common/platformdata/gc/libcamerahal_la-FormatUtils.lo `test -f 'common/platformdata/gc/FormatUtils.cpp' || echo './'`common/platformdata/gc/FormatUtils.cpp
arc-camera3-hal-intel-ipu3-0.0.1-r147: libtool: compile:  x86_64-cros-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -DPAGESIZE=4096 -DCAMERA_HAL_DEBUG -DDUMP_IMAGE -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security "-DNAMESPACE_DECLARATION=namespace android {namespace camera2" "-DNAMESPACE_DECLARATION_END=}" "-DUSING_DECLARED_NAMESPACE=using namespace android::camera2" -I/build/nautilus/usr/include/android/hardware/libhardware/include -I/build/nautilus/usr/include/android/system/core/include -I/build/nautilus/usr/include/android -I/build/nautilus/usr/include/android -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/arc -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -I/build/nautilus/usr/include/sync -DHAVE_JPEG -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -I./common/platformdata/metadataAutoGen/6.0.1 -I./psl/ipu3 -I./include -I./include/ia_imaging -DCAMERA_IPU3_SUPPORT -DHAL_PIXEL_FORMAT_NV12_LINEAR_CAMERA_INTEL=0x10F -DMACRO_KBL_AIC -DREMOTE_3A_SERVER -I./psl/ipu3/ipc -I./LAL/ipu3/include/uapi -I./LAL/ipu3/include -I. -I./common -I./common/platformdata -I./common/platformdata/gc -I./common/3a -I./common/mediacontroller -I./common/v4l2dev -I./AAL -I./common/imageProcess -I./common/jpeg -I./common/gcss -I./psl/ipu3/ipc/client -DNDEBUG -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -clang-syntax -c psl/ipu3/BufferPools.cpp -fPIE -fPIE -o psl/ipu3/libcamerahal_la-BufferPools.o >/dev/null 2>&1
arc-camera3-hal-intel-ipu3-0.0.1-r147: In file included from psl/ipu3/workers/IPU3AicToFwEncoder.cpp:21:
arc-camera3-hal-intel-ipu3-0.0.1-r147: ./include/ia_imaging/KBL_AIC.h:37:31: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
arc-camera3-hal-intel-ipu3-0.0.1-r147:         static LIBEXPORT std::string GetAICVersion() { return SKYCAMAICVERSION; };
arc-camera3-hal-intel-ipu3-0.0.1-r147:                                      ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: /usr/bin/../include/c++/v1/iosfwd:193:32: note: template is declared here
arc-camera3-hal-intel-ipu3-0.0.1-r147:     class _LIBCPP_TEMPLATE_VIS basic_string;
arc-camera3-hal-intel-ipu3-0.0.1-r147:                                ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: In file included from psl/ipu3/workers/IPU3AicToFwEncoder.cpp:21:
arc-camera3-hal-intel-ipu3-0.0.1-r147: ./include/ia_imaging/KBL_AIC.h:37:56: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
arc-camera3-hal-intel-ipu3-0.0.1-r147:         static LIBEXPORT std::string GetAICVersion() { return SKYCAMAICVERSION; };
arc-camera3-hal-intel-ipu3-0.0.1-r147:                                                               ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: ./include/ia_imaging/SkyCamAICVersion.h:18:26: note: expanded from macro 'SKYCAMAICVERSION'
arc-camera3-hal-intel-ipu3-0.0.1-r147: #define SKYCAMAICVERSION "3.1.1.0"
arc-camera3-hal-intel-ipu3-0.0.1-r147:                          ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: /usr/bin/../include/c++/v1/iosfwd:193:32: note: template is declared here
arc-camera3-hal-intel-ipu3-0.0.1-r147:     class _LIBCPP_TEMPLATE_VIS basic_string;
arc-camera3-hal-intel-ipu3-0.0.1-r147:                                ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: 2 errors generated.
arc-camera3-hal-intel-ipu3-0.0.1-r147: make[1]: *** [Makefile:2313: psl/ipu3/workers/libcamerahal_la-IPU3AicToFwEncoder.lo] Error 1
arc-camera3-hal-intel-ipu3-0.0.1-r147: make[1]: *** Waiting for unfinished jobs....
arc-camera3-hal-intel-ipu3-0.0.1-r147: libtool: compile:  x86_64-cros-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -DPAGESIZE=4096 -DCAMERA_HAL_DEBUG -DDUMP_IMAGE -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security "-DNAMESPACE_DECLARATION=namespace android {namespace camera2" "-DNAMESPACE_DECLARATION_END=}" "-DUSING_DECLARED_NAMESPACE=using namespace android::camera2" -I/build/nautilus/usr/include/android/hardware/libhardware/include -I/build/nautilus/usr/include/android/system/core/include -I/build/nautilus/usr/include/android -I/build/nautilus/usr/include/android -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/arc -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -I/build/nautilus/usr/include/sync -DHAVE_JPEG -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -I./common/platformdata/metadataAutoGen/6.0.1 -I./psl/ipu3 -I./include -I./include/ia_imaging -DCAMERA_IPU3_SUPPORT -DHAL_PIXEL_FORMAT_NV12_LINEAR_CAMERA_INTEL=0x10F -DMACRO_KBL_AIC -DREMOTE_3A_SERVER -I./psl/ipu3/ipc -I./LAL/ipu3/include/uapi -I./LAL/ipu3/include -I. -I./common -I./common/platformdata -I./common/platformdata/gc -I./common/3a -I./common/mediacontroller -I./common/v4l2dev -I./AAL -I./common/imageProcess -I./common/jpeg -I./common/gcss -I./psl/ipu3/ipc/client -DNDEBUG -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -clang-syntax -c psl/ipu3/tasks/ExecuteTaskBase.cpp -fPIE -fPIE -o psl/ipu3/tasks/libcamerahal_la-ExecuteTaskBase.o >/dev/null 2>&1
arc-camera3-hal-intel-ipu3-0.0.1-r147: libtool: compile:  x86_64-cros-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -DPAGESIZE=4096 -DCAMERA_HAL_DEBUG -DDUMP_IMAGE -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security "-DNAMESPACE_DECLARATION=namespace android {namespace camera2" "-DNAMESPACE_DECLARATION_END=}" "-DUSING_DECLARED_NAMESPACE=using namespace android::camera2" -I/build/nautilus/usr/include/android/hardware/libhardware/include -I/build/nautilus/usr/include/android/system/core/include -I/build/nautilus/usr/include/android -I/build/nautilus/usr/include/android -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/arc -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -I/build/nautilus/usr/include/sync -DHAVE_JPEG -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -I./common/platformdata/metadataAutoGen/6.0.1 -I./psl/ipu3 -I./include -I./include/ia_imaging -DCAMERA_IPU3_SUPPORT -DHAL_PIXEL_FORMAT_NV12_LINEAR_CAMERA_INTEL=0x10F -DMACRO_KBL_AIC -DREMOTE_3A_SERVER -I./psl/ipu3/ipc -I./LAL/ipu3/include/uapi -I./LAL/ipu3/include -I. -I./common -I./common/platformdata -I./common/platformdata/gc -I./common/3a -I./common/mediacontroller -I./common/v4l2dev -I./AAL -I./common/imageProcess -I./common/jpeg -I./common/gcss -I./psl/ipu3/ipc/client -DNDEBUG -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -clang-syntax -c psl/ipu3/RuntimeParamsHelper.cpp -fPIE -fPIE -o psl/ipu3/libcamerahal_la-RuntimeParamsHelper.o >/dev/null 2>&1
arc-camera3-hal-intel-ipu3-0.0.1-r147: libtool: compile:  x86_64-cros-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -DPAGESIZE=4096 -DCAMERA_HAL_DEBUG -DDUMP_IMAGE -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security "-DNAMESPACE_DECLARATION=namespace android {namespace camera2" "-DNAMESPACE_DECLARATION_END=}" "-DUSING_DECLARED_NAMESPACE=using namespace android::camera2" -I/build/nautilus/usr/include/android/hardware/libhardware/include -I/build/nautilus/usr/include/android/system/core/include -I/build/nautilus/usr/include/android -I/build/nautilus/usr/include/android -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/arc -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -I/build/nautilus/usr/include/sync -DHAVE_JPEG -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -I./common/platformdata/metadataAutoGen/6.0.1 -I./psl/ipu3 -I./include -I./include/ia_imaging -DCAMERA_IPU3_SUPPORT -DHAL_PIXEL_FORMAT_NV12_LINEAR_CAMERA_INTEL=0x10F -DMACRO_KBL_AIC -DREMOTE_3A_SERVER -I./psl/ipu3/ipc -I./LAL/ipu3/include/uapi -I./LAL/ipu3/include -I. -I./common -I./common/platformdata -I./common/platformdata/gc -I./common/3a -I./common/mediacontroller -I./common/v4l2dev -I./AAL -I./common/imageProcess -I./common/jpeg -I./common/gcss -I./psl/ipu3/ipc/client -DNDEBUG -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -clang-syntax -c psl/ipu3/SyncManager.cpp -fPIE -fPIE -o psl/ipu3/libcamerahal_la-SyncManager.o >/dev/null 2>&1
arc-camera3-hal-intel-ipu3-0.0.1-r147: libtool: compile:  x86_64-cros-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -DPAGESIZE=4096 -DCAMERA_HAL_DEBUG -DDUMP_IMAGE -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security "-DNAMESPACE_DECLARATION=namespace android {namespace camera2" "-DNAMESPACE_DECLARATION_END=}" "-DUSING_DECLARED_NAMESPACE=using namespace android::camera2" -I/build/nautilus/usr/include/android/hardware/libhardware/include -I/build/nautilus/usr/include/android/system/core/include -I/build/nautilus/usr/include/android -I/build/nautilus/usr/include/android -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/arc -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -I/build/nautilus/usr/include/sync -DHAVE_JPEG -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -I./common/platformdata/metadataAutoGen/6.0.1 -I./psl/ipu3 -I./include -I./include/ia_imaging -DCAMERA_IPU3_SUPPORT -DHAL_PIXEL_FORMAT_NV12_LINEAR_CAMERA_INTEL=0x10F -DMACRO_KBL_AIC -DREMOTE_3A_SERVER -I./psl/ipu3/ipc -I./LAL/ipu3/include/uapi -I./LAL/ipu3/include -I. -I./common -I./common/platformdata -I./common/platformdata/gc -I./common/3a -I./common/mediacontroller -I./common/v4l2dev -I./AAL -I./common/imageProcess -I./common/jpeg -I./common/gcss -I./psl/ipu3/ipc/client -DNDEBUG -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -clang-syntax -c common/platformdata/gc/FormatUtils.cpp  -fPIC -DPIC -o common/platformdata/gc/.libs/libcamerahal_la-FormatUtils.o
arc-camera3-hal-intel-ipu3-0.0.1-r147: libtool: compile:  x86_64-cros-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -DPAGESIZE=4096 -DCAMERA_HAL_DEBUG -DDUMP_IMAGE -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security "-DNAMESPACE_DECLARATION=namespace android {namespace camera2" "-DNAMESPACE_DECLARATION_END=}" "-DUSING_DECLARED_NAMESPACE=using namespace android::camera2" -I/build/nautilus/usr/include/android/hardware/libhardware/include -I/build/nautilus/usr/include/android/system/core/include -I/build/nautilus/usr/include/android -I/build/nautilus/usr/include/android -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/arc -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -Wno-c++11-extensions -Wno-unused-local-typedefs -DBASE_VER=395517 -pthread -I/build/nautilus/usr/include/base-395517 -I/build/nautilus/usr/include/glib-2.0 -I/build/nautilus/usr/lib64/glib-2.0/include -I/build/nautilus/usr/include/nss -I/build/nautilus/usr/include/nspr -I/build/nautilus/usr/include/dbus-1.0 -I/build/nautilus/usr/lib64/dbus-1.0/include -I/build/nautilus/usr/include/sync -DHAVE_JPEG -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-value -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -I./common/platformdata/metadataAutoGen/6.0.1 -I./psl/ipu3 -I./include -I./include/ia_imaging -DCAMERA_IPU3_SUPPORT -DHAL_PIXEL_FORMAT_NV12_LINEAR_CAMERA_INTEL=0x10F -DMACRO_KBL_AIC -DREMOTE_3A_SERVER -I./psl/ipu3/ipc -I./LAL/ipu3/include/uapi -I./LAL/ipu3/include -I. -I./common -I./common/platformdata -I./common/platformdata/gc -I./common/3a -I./common/mediacontroller -I./common/v4l2dev -I./AAL -I./common/imageProcess -I./common/jpeg -I./common/gcss -I./psl/ipu3/ipc/client -DNDEBUG -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -clang-syntax -c psl/ipu3/tasks/JpegEncodeTask.cpp -fPIE -fPIE -o psl/ipu3/tasks/libcamerahal_la-JpegEncodeTask.o >/dev/null 2>&1
arc-camera3-hal-intel-ipu3-0.0.1-r147: In file included from psl/ipu3/SkyCamProxy.cpp:23:
arc-camera3-hal-intel-ipu3-0.0.1-r147: ./include/ia_imaging/KBL_AIC.h:37:31: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
arc-camera3-hal-intel-ipu3-0.0.1-r147:         static LIBEXPORT std::string GetAICVersion() { return SKYCAMAICVERSION; };
arc-camera3-hal-intel-ipu3-0.0.1-r147:                                      ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: /usr/bin/../include/c++/v1/iosfwd:193:32: note: template is declared here
arc-camera3-hal-intel-ipu3-0.0.1-r147:     class _LIBCPP_TEMPLATE_VIS basic_string;
arc-camera3-hal-intel-ipu3-0.0.1-r147:                                ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: In file included from psl/ipu3/SkyCamProxy.cpp:23:
arc-camera3-hal-intel-ipu3-0.0.1-r147: ./include/ia_imaging/KBL_AIC.h:37:56: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
arc-camera3-hal-intel-ipu3-0.0.1-r147:         static LIBEXPORT std::string GetAICVersion() { return SKYCAMAICVERSION; };
arc-camera3-hal-intel-ipu3-0.0.1-r147:                                                               ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: ./include/ia_imaging/SkyCamAICVersion.h:18:26: note: expanded from macro 'SKYCAMAICVERSION'
arc-camera3-hal-intel-ipu3-0.0.1-r147: #define SKYCAMAICVERSION "3.1.1.0"
arc-camera3-hal-intel-ipu3-0.0.1-r147:                          ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: /usr/bin/../include/c++/v1/iosfwd:193:32: note: template is declared here
arc-camera3-hal-intel-ipu3-0.0.1-r147:     class _LIBCPP_TEMPLATE_VIS basic_string;
arc-camera3-hal-intel-ipu3-0.0.1-r147:                                ^
arc-camera3-hal-intel-ipu3-0.0.1-r147: 2 errors generated.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 24

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/arc-camera/+/bdcd418c1d93e5cc146f4a518cabdb9093e21323

commit bdcd418c1d93e5cc146f4a518cabdb9093e21323
Author: Manoj Gupta <manojgupta@google.com>
Date: Wed Jan 24 23:19:01 2018

arc-camera: Include <string> header file.

Including <string> header is required to use std::string.
Fixes build errors in arc-camera3-hal-intel-ipu3.

BUG= chromium:805657 
TEST=emerge-nautilus arc-camera3-hal-intel-ipu3 works.

Change-Id: Icc3a9619491d2626334e8b7e675f29c02af8fda2
Reviewed-on: https://chromium-review.googlesource.com/884565
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Trybot-Ready: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Luis Lozano <llozano@chromium.org>

[modify] https://crrev.com/bdcd418c1d93e5cc146f4a518cabdb9093e21323/hal/intel/include/ia_imaging/KBL_AIC.h

Status: Verified (was: Untriaged)

Sign in to add a comment