[Buildroot] [PATCH 1/1] package/gdal: fix build without NPTL

Peter Korsgaard peter at korsgaard.com
Mon Feb 27 14:39:11 UTC 2023


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > Fix the following build failure without NPTL raised since the addition
 > of the package in commit 1e64fa2956171cdc9d6e6c8896b4b589ce573513:

 > /tmp/instance-7/output-1/build/gdal-3.5.2/port/cpl_multiproc.cpp: In function 'CPLSpinLock* CPLCreateSpinLock()':
 > /tmp/instance-7/output-1/build/gdal-3.5.2/port/cpl_multiproc.cpp:2265:9:
 > error: 'pthread_spin_init' was not declared in this scope; did you
 > mean 'pthread_cond_init'?
 >  2265 |         pthread_spin_init(&(psSpin->spin), PTHREAD_PROCESS_PRIVATE) == 0 )
 >       |         ^~~~~~~~~~~~~~~~~
 >       |         pthread_cond_init

 > Fixes:
 >  - http://autobuild.buildroot.org/results/aa2a88990a07e551c40efb0c2180768add600c4f

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list