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

NNPACK-darknet installation fail on Raspberry pi 4 #57

Open
Deca opened this issue May 18, 2020 · 1 comment
Open

NNPACK-darknet installation fail on Raspberry pi 4 #57

Deca opened this issue May 18, 2020 · 1 comment

Comments

@Deca
Copy link

Deca commented May 18, 2020

I'm on a Raspberry 4 with 2gb ram.
When I run $NINJA_PATH/ninja for NNPACK-darknet I get this error ( see at the end of the log [14/147] and [15/147] )

pi@raspberrypi:~/NNPACK-darknet $ $NINJA_PATH/ninja
[1/147] CC src/init.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/init.c:24:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/147] CC src/fully-connected-output.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/fully-connected-output.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/fully-connected-output.c: In function ‘compute_fully_connected_output’:
/home/pi/NNPACK-darknet/src/fully-connected-output.c:162:2: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_compute_2d_tiled(threadpool,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/fully-connected-output.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/fully-connected-output.c:163:3: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
   (pthreadpool_function_2d_tiled_t) pack_input_matrix,
   ^
/home/pi/NNPACK-darknet/src/fully-connected-output.c:194:3: warning: ‘pthreadpool_compute_1d_tiled’ is deprecated [-Wdeprecated-declarations]
   pthreadpool_compute_1d_tiled(threadpool,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/fully-connected-output.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:731:6: note: declared here
 void pthreadpool_compute_1d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/fully-connected-output.c:195:4: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
    (pthreadpool_function_1d_tiled_t) pack_kernel_matrix,
    ^
/home/pi/NNPACK-darknet/src/fully-connected-output.c:208:4: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
    pthreadpool_compute_2d_tiled(threadpool,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/fully-connected-output.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/fully-connected-output.c:209:5: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
     (pthreadpool_function_2d_tiled_t) compute_matrix_multiplication,
     ^
[3/147] CC src/fully-connected-inference.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/fully-connected-inference.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/fully-connected-inference.c: In function ‘nnp_fully_connected_inference’:
/home/pi/NNPACK-darknet/src/fully-connected-inference.c:67:2: warning: ‘pthreadpool_compute_1d_tiled’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_compute_1d_tiled(threadpool,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/fully-connected-inference.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:731:6: note: declared here
 void pthreadpool_compute_1d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/fully-connected-inference.c:68:3: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
   (pthreadpool_function_1d_tiled_t) compute_fully_connected_inference_f32,
   ^
/home/pi/NNPACK-darknet/src/fully-connected-inference.c: In function ‘nnp_fully_connected_inference_f16f32’:
/home/pi/NNPACK-darknet/src/fully-connected-inference.c:97:2: warning: ‘pthreadpool_compute_1d_tiled’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_compute_1d_tiled(threadpool,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/fully-connected-inference.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:731:6: note: declared here
 void pthreadpool_compute_1d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/fully-connected-inference.c:98:3: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
   (pthreadpool_function_1d_tiled_t) compute_fully_connected_inference_f16f32,
   ^
[4/147] CC src/convolution-output.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-output.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-output.c: In function ‘compute_fast_convolution_output’:
/home/pi/NNPACK-darknet/src/convolution-output.c:321:2: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_compute_2d_tiled(threadpool,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-output.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-output.c:322:3: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
   (pthreadpool_function_2d_tiled_t) compute_kernel_transform,
   ^
/home/pi/NNPACK-darknet/src/convolution-output.c:350:4: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
    pthreadpool_compute_2d_tiled(threadpool,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-output.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-output.c:351:5: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
     (pthreadpool_function_2d_tiled_t) compute_input_transform,
     ^
/home/pi/NNPACK-darknet/src/convolution-output.c:392:7: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
       pthreadpool_compute_2d_tiled(threadpool,
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-output.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-output.c:393:8: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
        (pthreadpool_function_2d_tiled_t) compute_matrix_multiplication,
        ^
/home/pi/NNPACK-darknet/src/convolution-output.c:416:4: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
    pthreadpool_compute_2d_tiled(threadpool,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-output.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-output.c:417:5: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
     (pthreadpool_function_2d_tiled_t) compute_output_transform,
     ^
[5/147] CC src/softmax-output.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/softmax-output.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/softmax-output.c: In function ‘nnp_softmax_output’:
/home/pi/NNPACK-darknet/src/softmax-output.c:70:3: warning: ‘pthreadpool_compute_1d’ is deprecated [-Wdeprecated-declarations]
   pthreadpool_compute_1d(threadpool,
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/softmax-output.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:725:6: note: declared here
 void pthreadpool_compute_1d(
      ^~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/softmax-output.c:71:4: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
    (pthreadpool_function_1d_t) compute_softmax_output,
    ^
/home/pi/NNPACK-darknet/src/softmax-output.c:81:3: warning: ‘pthreadpool_compute_1d’ is deprecated [-Wdeprecated-declarations]
   pthreadpool_compute_1d(threadpool,
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/softmax-output.c:3:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:725:6: note: declared here
 void pthreadpool_compute_1d(
      ^~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/softmax-output.c:82:4: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
    (pthreadpool_function_1d_t) compute_inplace_softmax_output,
    ^
[6/147] CC src/pooling-output.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/pooling-output.c:6:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/pooling-output.c: In function ‘nnp_max_pooling_output’:
/home/pi/NNPACK-darknet/src/pooling-output.c:183:2: warning: ‘pthreadpool_compute_2d’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_compute_2d(threadpool,
  ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/pooling-output.c:6:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:738:6: note: declared here
 void pthreadpool_compute_2d(
      ^~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/pooling-output.c:184:3: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
   (pthreadpool_function_2d_t) compute_pooling_output,
   ^
[7/147] CC src/convolution-kernel-gradient.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c: In function ‘compute_fast_convolution_kernel_gradient’:
/home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:321:5: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
     pthreadpool_compute_2d_tiled(threadpool,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:322:6: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
      (pthreadpool_function_2d_tiled_t) compute_input_transform,
      ^
/home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:342:5: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
     pthreadpool_compute_2d_tiled(threadpool,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:343:6: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
      (pthreadpool_function_2d_tiled_t) compute_grad_output_transform,
      ^
/home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:379:7: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
       pthreadpool_compute_2d_tiled(threadpool,
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:380:8: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
        (pthreadpool_function_2d_tiled_t) compute_matrix_multiplication,
        ^
/home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:404:2: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_compute_2d_tiled(threadpool,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-kernel-gradient.c:405:3: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
   (pthreadpool_function_2d_tiled_t) compute_grad_kernel_transform,
   ^
[8/147] CC src/convolution-input-gradient.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-input-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-input-gradient.c: In function ‘compute_fast_convolution_input_gradient’:
/home/pi/NNPACK-darknet/src/convolution-input-gradient.c:323:2: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_compute_2d_tiled(threadpool,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-input-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-input-gradient.c:324:3: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
   (pthreadpool_function_2d_tiled_t) compute_kernel_transform,
   ^
/home/pi/NNPACK-darknet/src/convolution-input-gradient.c:352:4: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
    pthreadpool_compute_2d_tiled(threadpool,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-input-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-input-gradient.c:353:5: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
     (pthreadpool_function_2d_tiled_t) compute_grad_output_transform,
     ^
/home/pi/NNPACK-darknet/src/convolution-input-gradient.c:391:7: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
       pthreadpool_compute_2d_tiled(threadpool,
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-input-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-input-gradient.c:392:8: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
        (pthreadpool_function_2d_tiled_t) compute_matrix_multiplication,
        ^
/home/pi/NNPACK-darknet/src/convolution-input-gradient.c:416:4: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
    pthreadpool_compute_2d_tiled(threadpool,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-input-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-input-gradient.c:417:5: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
     (pthreadpool_function_2d_tiled_t) compute_grad_input_transform,
     ^
[9/147] CC src/relu-output.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/relu-output.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/relu-output.c: In function ‘nnp_relu_output’:
/home/pi/NNPACK-darknet/src/relu-output.c:92:3: warning: ‘pthreadpool_compute_1d_tiled’ is deprecated [-Wdeprecated-declarations]
   pthreadpool_compute_1d_tiled(threadpool,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/relu-output.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:731:6: note: declared here
 void pthreadpool_compute_1d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/relu-output.c:93:4: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
    (pthreadpool_function_1d_tiled_t) compute_relu_output,
    ^
/home/pi/NNPACK-darknet/src/relu-output.c:103:3: warning: ‘pthreadpool_compute_1d_tiled’ is deprecated [-Wdeprecated-declarations]
   pthreadpool_compute_1d_tiled(threadpool,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/relu-output.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:731:6: note: declared here
 void pthreadpool_compute_1d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/relu-output.c:104:4: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
    (pthreadpool_function_1d_tiled_t) compute_inplace_relu_output,
    ^
[10/147] CC src/relu-input-gradient.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/relu-input-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/relu-input-gradient.c: In function ‘nnp_relu_input_gradient’:
/home/pi/NNPACK-darknet/src/relu-input-gradient.c:81:2: warning: ‘pthreadpool_compute_1d_tiled’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_compute_1d_tiled(threadpool,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/relu-input-gradient.c:5:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:731:6: note: declared here
 void pthreadpool_compute_1d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/relu-input-gradient.c:82:3: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
   (pthreadpool_function_1d_tiled_t) compute_grad_relu,
   ^
[12/147] CC src/convolution-inference.c
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_1d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_2d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_3d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_function_4d_tiled_t function,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c: In function ‘compute_fast_convolution_inference’:
/home/pi/NNPACK-darknet/src/convolution-inference.c:569:6: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
      pthreadpool_compute_2d_tiled(threadpool,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c:570:7: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
       (pthreadpool_function_2d_tiled_t) compute_kernel_transform,
       ^
/home/pi/NNPACK-darknet/src/convolution-inference.c:595:5: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
     pthreadpool_compute_2d_tiled(threadpool,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c:596:6: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
      (pthreadpool_function_2d_tiled_t) compute_input_transform,
      ^
/home/pi/NNPACK-darknet/src/convolution-inference.c:637:7: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
       pthreadpool_compute_2d_tiled(threadpool,
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c:638:8: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
        (pthreadpool_function_2d_tiled_t) compute_tuple_multiplication,
        ^
/home/pi/NNPACK-darknet/src/convolution-inference.c:660:4: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
    pthreadpool_compute_2d_tiled(threadpool,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c:661:5: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
     (pthreadpool_function_2d_tiled_t) compute_output_transform,
     ^
/home/pi/NNPACK-darknet/src/convolution-inference.c:695:5: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
     pthreadpool_compute_2d_tiled(threadpool,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c:696:6: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
      (pthreadpool_function_2d_tiled_t) compute_kernel_transform,
      ^
/home/pi/NNPACK-darknet/src/convolution-inference.c: In function ‘compute_gemm_convolution_inference’:
/home/pi/NNPACK-darknet/src/convolution-inference.c:791:3: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
   pthreadpool_compute_2d_tiled(threadpool,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c:792:4: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
    (pthreadpool_function_2d_tiled_t) compute_kernel_packing,
    ^
/home/pi/NNPACK-darknet/src/convolution-inference.c:821:4: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
    pthreadpool_compute_2d_tiled(threadpool,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c:822:5: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
     (pthreadpool_function_2d_tiled_t) compute_input_packing,
     ^
/home/pi/NNPACK-darknet/src/convolution-inference.c:840:4: warning: ‘pthreadpool_compute_2d_tiled’ is deprecated [-Wdeprecated-declarations]
    pthreadpool_compute_2d_tiled(threadpool,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:745:6: note: declared here
 void pthreadpool_compute_2d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c:841:5: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
     (pthreadpool_function_2d_tiled_t) compute_matrix_multiplication,
     ^
/home/pi/NNPACK-darknet/src/convolution-inference.c: In function ‘compute_direct_convolution_inference’:
/home/pi/NNPACK-darknet/src/convolution-inference.c:915:2: warning: ‘pthreadpool_compute_1d_tiled’ is deprecated [-Wdeprecated-declarations]
  pthreadpool_compute_1d_tiled(threadpool,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/NNPACK-darknet/include/nnpack.h:7,
                 from /home/pi/NNPACK-darknet/src/convolution-inference.c:8:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:731:6: note: declared here
 void pthreadpool_compute_1d_tiled(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/src/convolution-inference.c:916:3: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
   (pthreadpool_function_1d_tiled_t) compute_direct_convolution,
   ^
[14/147] CC src/neon/blas/s4gemm.c
FAILED: /home/pi/NNPACK-darknet/build/src/neon/blas/s4gemm.c.o
gcc -o /home/pi/NNPACK-darknet/build/src/neon/blas/s4gemm.c.o -c /home/pi/NNPACK-darknet/src/neon/blas/s4gemm.c -MMD -MF /home/pi/NNPACK-darknet/build/src/neon/blas/s4gemm.c.o.d -std=gnu11 -g -pthread -O2    -I/home/pi/NNPACK-darknet/include -I/home/pi/NNPACK-darknet/src -I/home/pi/NNPACK-darknet/src/ref -I/home/pi/NNPACK-darknet/deps/psimd/include -I/home/pi/NNPACK-darknet/deps/pthreadpool/include -I/home/pi/NNPACK-darknet/deps/fxdiv/include -I/home/pi/NNPACK-darknet/deps/fp16/include
In file included from /home/pi/NNPACK-darknet/include/nnpack/arm_neon.h:3,
                 from /home/pi/NNPACK-darknet/src/neon/blas/s4gemm.c:4:
/home/pi/NNPACK-darknet/include/nnpack/arm_neon.h: In function ‘vmuladdq_f32’:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1465:1: error: inlining failed in call to always_inline ‘vmlaq_f32’: target specific option mismatch
 vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
 ^~~~~~~~~
In file included from /home/pi/NNPACK-darknet/src/neon/blas/s4gemm.c:4:
/home/pi/NNPACK-darknet/include/nnpack/arm_neon.h:17:10: note: called from here
   return vmlaq_f32(c, a, b);
          ^~~~~~~~~~~~~~~~~~
[15/147] CC src/neon/blas/c4gemm.c
FAILED: /home/pi/NNPACK-darknet/build/src/neon/blas/c4gemm.c.o
gcc -o /home/pi/NNPACK-darknet/build/src/neon/blas/c4gemm.c.o -c /home/pi/NNPACK-darknet/src/neon/blas/c4gemm.c -MMD -MF /home/pi/NNPACK-darknet/build/src/neon/blas/c4gemm.c.o.d -std=gnu11 -g -pthread -O2    -I/home/pi/NNPACK-darknet/include -I/home/pi/NNPACK-darknet/src -I/home/pi/NNPACK-darknet/src/ref -I/home/pi/NNPACK-darknet/deps/psimd/include -I/home/pi/NNPACK-darknet/deps/pthreadpool/include -I/home/pi/NNPACK-darknet/deps/fxdiv/include -I/home/pi/NNPACK-darknet/deps/fp16/include
In file included from /home/pi/NNPACK-darknet/include/nnpack/arm_neon.h:3,
                 from /home/pi/NNPACK-darknet/src/neon/blas/c4gemm.c:4:
/home/pi/NNPACK-darknet/include/nnpack/arm_neon.h: In function ‘vmuladdq_f32’:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1465:1: error: inlining failed in call to always_inline ‘vmlaq_f32’: target specific option mismatch
 vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
 ^~~~~~~~~
In file included from /home/pi/NNPACK-darknet/src/neon/blas/c4gemm.c:4:
/home/pi/NNPACK-darknet/include/nnpack/arm_neon.h:17:10: note: called from here
   return vmlaq_f32(c, a, b);
          ^~~~~~~~~~~~~~~~~~
[19/147] CC src/psimd/2d-fourier-16x16.c
ninja: build stopped: subcommand failed.


@Deca Deca changed the title NNPACK-dartnet fail on Raspberry pi 4 NNPACK-darknet installation fail on Raspberry pi 4 May 18, 2020
@Shivankit99
Copy link

Hey @Deca,
Confu is deprecated now in the original NNPACK repository by Marat Dhukan.
So you'll have to build it using cmake .
You can check the readme of the original NNPACK repo.

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