Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build opencv fault #357

Closed
sss22213 opened this issue May 13, 2021 · 2 comments
Closed

Build opencv fault #357

sss22213 opened this issue May 13, 2021 · 2 comments

Comments

@sss22213
Copy link

sss22213 commented May 13, 2021

hi here,

I got some error while build opencv.

Build Command:

bitbake opencv

Error message:

ERROR: opencv-4.5.2-r0 do_compile: Execution of '/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/temp/run.do_compile.54620' failed with exit code 1:
[1/309] /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int -DOPENCV_WITH_ITT=1 -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/include -Imodules/core -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/3rdparty/ittnotify/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/eigen3 -I. -mcpu=cortex-a72 -march=armv8-a+crc+crypto -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/include  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time  --sysroot=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0                      -fdebug-prefix-map=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0                      -fdebug-prefix-map=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -mcpu=cortex-a72 -march=armv8-a+crc+crypto -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/include  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time  --sysroot=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -DNDEBUG  -DNDEBUG -fPIC -std=c++11 -MD -MT modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o -MF modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o.d -o modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o -c /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/src/system.cpp
In file included from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:119,
                 from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/include/opencv2/core/eigen.hpp:64,
                 from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/include/opencv2/core/private.hpp:74,
                 from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/src/precomp.hpp:59,
                 from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/src/system.cpp:44:
/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h: In member function 'void Eigen::TensorEvaluator<const Eigen::TensorConvolutionOp<Dimensions, InputXprType, KernelXprType>, Device>::preloadKernel()':
/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h:527:18: warning: declaration of 'PacketAccess' shadows a member of 'Eigen::TensorEvaluator<const Eigen::TensorConvolutionOp<Dimensions, InputXprType, KernelXprType>, Device>' [-Wshadow]
  527 |       const bool PacketAccess = internal::IsVectorizable<Device, KernelArgType>::value;
      |                  ^~~~~~~~~~~~
/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h:307:5: note: shadowed declaration is here
  307 |     PacketAccess = TensorEvaluator<InputArgType, Device>::PacketAccess & TensorEvaluator<KernelArgType, Device>::PacketAccess,
      |     ^~~~~~~~~~~~
In file included from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:135,
                 from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/include/opencv2/core/eigen.hpp:64,
                 from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/include/opencv2/core/private.hpp:74,
                 from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/src/precomp.hpp:59,
                 from /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/src/system.cpp:44:
/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h: In member function 'bool Eigen::TensorEvaluator<const Eigen::TensorForcedEvalOp<ArgType, MakePointer_>, Device>::evalSubExprsIfNeeded(Eigen::TensorEvaluator<const Eigen::TensorForcedEvalOp<ArgType, MakePointer_>, Device>::CoeffReturnType*)':
/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h:129:16: warning: declaration of 'PacketAccess' shadows a member of 'Eigen::TensorEvaluator<const Eigen::TensorForcedEvalOp<ArgType, MakePointer_>, Device>' [-Wshadow]
  129 |     const bool PacketAccess = internal::IsVectorizable<Device, const ArgType>::value;
      |                ^~~~~~~~~~~~
/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h:106:5: note: shadowed declaration is here
  106 |     PacketAccess = (PacketSize > 1),
      |     ^~~~~~~~~~~~
FAILED: modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o 
/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dopencv_python3_EXPORTS -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/python/python3/include -Imodules/python3 -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/core/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/flann/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/imgproc/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/intensity_transform/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/ml/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/phase_unwrapping/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/photo/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/plot/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/quality/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/reg/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/surface_matching/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/xphoto/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/alphamat/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/features2d/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/fuzzy/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/hfs/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/img_hash/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/imgcodecs/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/line_descriptor/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/saliency/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/videoio/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/calib3d/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/datasets/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/highgui/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/objdetect/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/rapid/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/rgbd/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/shape/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/structured_light/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/video/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/videostab/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/xfeatures2d/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/ximgproc/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/xobjdetect/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/aruco/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/bgsegm/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/bioinspired/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/ccalib/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/dpm/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/face/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/gapi/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/optflow/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/sfm/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/stitching/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/superres/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/tracking/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/contrib/modules/stereo/include -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/python/src2 -Imodules/python_bindings_generator -I. -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/include/python3.9 -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot/usr/lib/python3.9/site-packages/numpy/core/include -mcpu=cortex-a72 -march=armv8-a+crc+crypto -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/include  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time  --sysroot=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0                      -fdebug-prefix-map=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0                      -fdebug-prefix-map=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -mcpu=cortex-a72 -march=armv8-a+crc+crypto -I/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/include  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time  --sysroot=/home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/recipe-sysroot   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual -Wno-undef -DNDEBUG  -DNDEBUG -fPIC -std=c++11 -MD -MT modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o -MF modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o.d -o modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o -c /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/git/modules/python/src2/cv2.cpp
{standard input}: Assembler messages:
{standard input}:9053748: Warning: end of file not at end of a line; newline inserted
{standard input}:9055134: Error: unknown pseudo-op: `.byt'
aarch64-poky-linux-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/sss22213/poky/rpi-build/tmp/work/cortexa72-poky-linux/opencv/4.5.2-r0/temp/log.do_compile.54620
NOTE: recipe opencv-4.5.2-r0: task do_compile: Failed
ERROR: Task (/home/sss22213/poky/meta-openembedded/meta-oe/recipes-support/opencv/opencv_4.5.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3803 tasks of which 3802 didn't need to be rerun and 1 failed.
Build Configuration:
BB_VERSION           = "1.51.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "raspberrypi4-64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.3+snapshot-bb490c7ea9170fc1b3c2dd15466daf6a9fad735c"
TUNE_FEATURES        = "aarch64 armv8a crc crypto cortexa72"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "master:bb490c7ea9170fc1b3c2dd15466daf6a9fad735c"
meta-raspberrypi     = "master:d4d1441bd217f1a3dc353a6c20eadceb819c8e37"
meta-oe              
meta-multimedia      
meta-networking      
meta-python          = "master:3c259f977e8647ac9c54097d0faab70719a5553e"
meta-qt5             = "master:a2882fecc96019781880c38fc6a81a9b71c944ad"

Thanks in advance.

@kraj
Copy link
Contributor

kraj commented May 13, 2021

aarch64-poky-linux-g++: fatal error: Killed signal terminated program cc1plus

this tells me that your system ran out of memory. So lower your parallelism or add more RAM to your build system.

@sss22213
Copy link
Author

sss22213 commented May 13, 2021

hi kraj,

Thank you for your solution.

I solve the problem.

kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Feb 16, 2023
0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch
removed since it's included in 2.1.8.

0001-Makefile-Do-not-set-Werror.patch
refreshed for 2.1.8

Changelog:
===========
 make: avoid hard-coding path to sed (openembedded#357)
 etc: install system unit with without executable bit (openembedded#354)
 Add ability for MGMT IPC to check UID only
 Use config for iscsistart and iscsiadm fw login
 iscsiuio: Use pthread_t for INVALID_THREAD (openembedded#363)
 Add a 'distclean' Makefile top-level target
 Cleanup fwparam makefile (openembedded#360)
 Small bug fixes (openembedded#364)
 Use meson as the main build system (openembedded#365)
 libopeniscsiusr: cleanup recent reallocarray->realloc change (openembedded#369)
 Added examples in man file for iscsiadm session commands.
 iscsid: fix logout pdu send failure handling
 Update README's error handler/timeout section
 iscsiuio: fix LDADD
 libopeniscsiusr: use realloc instead of reallocarray (openembedded#368)
 iscsiadm: enable specify iface name-value parameters when creating iface
 Fix a possible passing null pointer in usr/iface.c (openembedded#356)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Feb 17, 2023
0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch
removed since it's included in 2.1.8.

0001-Makefile-Do-not-set-Werror.patch
refreshed for 2.1.8

Changelog:
===========
 make: avoid hard-coding path to sed (openembedded#357)
 etc: install system unit with without executable bit (openembedded#354)
 Add ability for MGMT IPC to check UID only
 Use config for iscsistart and iscsiadm fw login
 iscsiuio: Use pthread_t for INVALID_THREAD (openembedded#363)
 Add a 'distclean' Makefile top-level target
 Cleanup fwparam makefile (openembedded#360)
 Small bug fixes (openembedded#364)
 Use meson as the main build system (openembedded#365)
 libopeniscsiusr: cleanup recent reallocarray->realloc change (openembedded#369)
 Added examples in man file for iscsiadm session commands.
 iscsid: fix logout pdu send failure handling
 Update README's error handler/timeout section
 iscsiuio: fix LDADD
 libopeniscsiusr: use realloc instead of reallocarray (openembedded#368)
 iscsiadm: enable specify iface name-value parameters when creating iface
 Fix a possible passing null pointer in usr/iface.c (openembedded#356)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Apr 29, 2023
…325338b6e7b3d42de)

Drop patches now part of new upstream release:
- 0001-Fix-memory-leak.patch
- 0001-cmake-Link-with-libatomic-on-rv32-rv64.patch
- 0001-dlt-system-Fix-buffer-overflow-detection-on-32bit-ta.patch

Cherry-pick and propose upstream two patches to fix build failures with security hardening flags enabled
and with some systemd configuration (underlink)
- 481.patch
- 482.patch

Add new dlt-adaptor-stdin cmake optional flag
Drop PV variable, not needed anymore
Drop latomic manual added flag, upstream code changed to avoid its need
See: COVESA/dlt-daemon#433 and COVESA/dlt-daemon@2224cdd
(changed from atomic_bool to atomic_int, the latter doesn't require manual atomic library link since
it can be optimized properly by the compiler on riscv platforms)

What's Changed:

    dlt-system: fix a libc buffer overflow detection on 32bit targets by @mtitinger in openembedded#337
    dlt-daemon: create sockets using "android way" by @sebastienraillet in openembedded#333
    fixes compilation issue with clang by @sebastienraillet in openembedded#339
    dlt-daemon: Only create directories if they do not exist yet by @alexmohr in openembedded#340
    dlt-system : fix invalid free with ConfigurationFileName by @mtitinger in openembedded#342
    fix for the issue openembedded#341 by @rvalovyi in openembedded#347
    Forcibly the severity level set by @dhnatiuk1 in openembedded#346
    fix -Wformat issues reported by clang by @sebastienraillet in openembedded#349
    dlt-system: fix invalid free by removing unused TempDir by @andreirusu96 in openembedded#350
    Support for Cygwin toolchain. by @DoctorNoobingstoneIPresume in openembedded#351
    filetransfer: Return error if no free space by @ssugiura in openembedded#354
    lib: Correct VARI usage in dlt_user_log_write_uint by @ssugiura in openembedded#356
    Fix DLT User/Client tests by @andreirusu96 in openembedded#357
    tests: Deplicate unused files and variables by @ssugiura in openembedded#359
    Fix the target name in documentation by @mawillers in openembedded#372
    cmake: Add option to enable each adaptor by itself by @alexmohr in openembedded#364
    cmake: Add options to enable/disable each dlt console tool by @alexmohr in openembedded#363
    filetransfer: Fix getFileCreationDate2 stat check by @andreirusu96 in openembedded#361
    dlt_config_file_parser.c:Fix a pointer release bug in the file。 by @Leslie-bcy in openembedded#376
    Update workflow by @thanhbnq in openembedded#389
    README: Update link to github actions by @ssugiura in openembedded#392
    Fix handle returned value by @thanhbnq in openembedded#384
    systemd: install adaptor-udp service for adaptor=on by @danielweber2018 in openembedded#393
    automotive-dlt.pc: add the path to find the static library by @zeerd in openembedded#387
    enforce-trace-limit: ContextLogLevel is now enforced in the daemon by @alexmohr in openembedded#382
    dlt-daemon-connection: Start up even if not all bindings are valid by @alexmohr in openembedded#380
    dlt_common.c: Change default logging_mode by @wusto in openembedded#406
    logstorage: Truncate ECUid in Logstorage filter to prevent crash by @andreirusu96 in openembedded#402
    Update dlt_for_developers.md by @marques-bruno in openembedded#405
    dlt-gateway: Fix crash on invalid ip by @alexmohr in openembedded#381
    dlt_client:Block in connect() by @thanhbnq in openembedded#409
    dlt_daemon_client: Fix change loglevel of application by @lti9hc in openembedded#408
    Update maintainer by @thanhbnq in openembedded#410
    systemd: add support for socket activation via systemd by @alexmohr in openembedded#401
    internal-logging: Fix issues with file logging by @alexmohr in openembedded#378
    dlt_common: change output of message for log initialization by @lti9hc in openembedded#412
    Avoid memory corruption behind buffer wp in function dlt_getloginfo_conv_ascii_to_id by @michael-methner in openembedded#411
    dlt_daemon_client: Fix Control Msg ECUId comparison with active Gateway by @andreirusu96 in openembedded#414
    Fix for Resource and Memory Leak by @lti9hc in openembedded#418
    dlt-receive: set host interface and allow multiple udp multicast addresses by @thanhbnq in openembedded#420
    dlt-system: Fix buffer overflow detection on 32bit targets by @sandy-lcq in openembedded#398
    cmake: network trace enable toggle by @danielweber2018 in openembedded#424
    client: Fix Get Log Info response conversion method by @andreirusu96 in openembedded#422
    filetransfer: fix filesize divisible by blocksize case by @danielweber2018 in openembedded#383
    Updates for Coding Styles by @thanhbnq in openembedded#425
    gateway: Fix Node handling and ECUid checks by @andreirusu96 in openembedded#429
    Update contacts and removed mailing lists by @michael-methner in openembedded#431
    dlt-user: Fix crashes in dlt_free during dlt_init by @alexmohr in openembedded#362
    dlt-convert: Fix memory leak by calling dlt_file_free by @lvklevankhanh in openembedded#434
    dlt-user: fix potential non closed socket in init/free by @alexmohr in openembedded#435
    Check for negative index in dlt_file_message by @michael-methner in openembedded#437
    Fix memory leak by @lvklevankhanh in openembedded#441
    dlt-connection: add socket timeout by @alexmohr in openembedded#439
    Installs dlt.conf on android by @sebastienraillet in openembedded#446
    This changes a mispatch from fcb676a to install udp binary correctly by @smooge in openembedded#449
    logfile: exhance internal dlt logging by introducing size limits by @danielweber2018 in openembedded#369
    dlt-logd-converter: fixes android 12 compilation by @sebastienraillet in openembedded#445
    dlt-logd-converter: Fix getting log level from log msg by @RobinChenJP in openembedded#456
    house-keeper: remove infinite wait by @alexmohr in openembedded#438
    cmake: remove duplicated option message by @minminlittleshrimp in openembedded#454
    Android: Add new feature in Android bp by @minminlittleshrimp in openembedded#461
    dlt_multiple_files: remove superfluous mode bits and add header file to header list by @minminlittleshrimp in openembedded#462
    dlt-user: fix crash with certain strings by @alexmohr in openembedded#463

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants