[libcamera-devel] [PATCH 0/2] libcamera: Fix compilation with gcc 8.3.0

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sun Oct 9 06:44:38 CEST 2022


Hello,

It is with great sadness that I have to announce the removal of
utils::defopt. This feature causes compilation failures with gcc 8.0.0
to 8.3.0 due to (I believe) a gcc bug ([1]), and I haven't been able to
find a suitable workaround. Debian 10 ships gcc 8.3.0, and it has LTS
support until June 2024, making it an important target.

I'm sure nobody but me will miss utils::defopt, so I'll get over it.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521

Laurent Pinchart (2):
  ipa: rkisp1: Drop use of utils::defopt
  libcamera: base: utils: Drop defopt

 include/libcamera/base/utils.h    | 14 --------
 src/ipa/rkisp1/algorithms/dpf.cpp |  6 ++--
 src/ipa/rkisp1/algorithms/gsl.cpp |  8 ++---
 src/ipa/rkisp1/algorithms/lsc.cpp |  4 +--
 src/libcamera/base/utils.cpp      | 21 ------------
 test/utils.cpp                    | 53 -------------------------------
 6 files changed, 9 insertions(+), 97 deletions(-)


base-commit: 4bf68fdbe1493e57118dad4e94c2a46c50a9c402
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list