"Fossies" - the Fresh Open Source Software Archive

Member "buildroot-2021.05/package/libcamera/0001-libcamera-add-dependencies-to-libcamera_dep.patch" (6 Jun 2021, 3175 Bytes) of package /linux/privat/buildroot-2021.05.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 From 1a2fd4526e0858827f47a7e9359df34f0d0e3108 Mon Sep 17 00:00:00 2001
    2 From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
    3 Date: Thu, 27 May 2021 21:00:21 +0200
    4 Subject: [PATCH] libcamera: add dependencies to libcamera_dep
    5 
    6 Add dependencies to libcamera_dep to avoid the following build failure
    7 with qcam on sparc v8 which is raised since commit
    8 a8310248fc26cc1e1b791af5e9394c1d20bee269:
    9 
   10 FAILED: src/qcam/qcam
   11 /srv/storage/autobuild/run/instance-0/output-1/host/bin/sparc-linux-g++  -o src/qcam/qcam src/qcam/qcam.p/meson-generated_.._qt5-feathericons_qrc.cpp.o src/qcam/qcam.p/meson-generated_moc_main_window.cpp.o src/qcam/qcam.p/meson-generated_moc_viewfinder_qt.cpp.o src/qcam/qcam.p/.._cam_options.cpp.o src/qcam/qcam.p/.._cam_stream_options.cpp.o src/qcam/qcam.p/format_converter.cpp.o src/qcam/qcam.p/main.cpp.o src/qcam/qcam.p/main_window.cpp.o src/qcam/qcam.p/message_handler.cpp.o src/qcam/qcam.p/viewfinder_qt.cpp.o src/qcam/qcam.p/dng_writer.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wshadow -include config.h '-Wl,-rpath,$ORIGIN/../libcamera' -Wl,-rpath-link,/srv/storage/autobuild/run/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/build/src/libcamera -Wl,--start-group src/libcamera/libcamera.so /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libQt5Core.so /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libQt5Gui.so /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libQt5Widgets.so /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libtiff.so -Wl,--end-group
   12 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/9.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/qcam/qcam.p/main_window.cpp.o: undefined reference to symbol '__atomic_fetch_add_4@@LIBATOMIC_1.0'
   13 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/9.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line
   14 
   15 Fixes:
   16  - http://autobuild.buildroot.org/results/d0726b2253f1f3d006e057f3b32c646c4b9b5f7a
   17 
   18 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
   19 [Upstream status: https://bugs.libcamera.org/show_bug.cgi?id=39]
   20 ---
   21  src/libcamera/meson.build | 1 +
   22  1 file changed, 1 insertion(+)
   23 
   24 diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
   25 index cc2b8669..af3533ad 100644
   26 --- a/src/libcamera/meson.build
   27 +++ b/src/libcamera/meson.build
   28 @@ -160,6 +160,7 @@ libcamera_dep = declare_dependency(sources : [
   29                                         libcamera_public_headers,
   30                                     ],
   31                                     include_directories : libcamera_includes,
   32 +                                   dependencies : libcamera_deps,
   33                                     link_with : libcamera)
   34  
   35  subdir('proxy/worker')
   36 -- 
   37 2.30.2