View Issue Details

IDProjectCategoryView StatusLast Update
0006594libmicrohttpdbuild systempublic2020-09-11 22:31
Reporterwiz Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformallOSallOS Versionall
Product Version0.9.71 
Target Version0.9.72Fixed in Version0.9.72 
Summary0006594: configure script accepts too-old gnutls
Descriptionlibmicrohttpd 0.9.71 wants to use gnutls_record_uncork and gnutls_record_cork. These functions were added in gnutls 3.1.9.
However, older versions of gnutls are accepted, leading to linker errors (e.g. on RHEL6).

../../src/microhttpd/.libs/libmicrohttpd.so: undefined reference to `gnutls_record_uncork'
../../src/microhttpd/.libs/libmicrohttpd.so: undefined reference to `gnutls_record_cork'
Steps To ReproduceBuild on a system with gnutls-2.x installed.
Additional InformationI tried just adding a minimum version to the gnutls pkg-config check, but libmicrohttpd ignores this and accepts older gnutls anyway.
(I think this part is too smart and should just be replaced with
PKG_CHECK_MODULES(GNUTLS, [gnutls >= 3.1.9])
)
TagsNo tags attached.

Activities

Christian Grothoff

2020-09-11 22:31

manager   ~0016965

16c13329..ed6afa82 changes the test to check for gnutls_record_uncork. I agree the test is an atrocity, but I _suspect_ it was written to make things work on non-GNU systems.

Issue History

Date Modified Username Field Change
2020-09-09 14:43 wiz New Issue
2020-09-11 22:31 Christian Grothoff Note Added: 0016965
2020-09-11 22:31 Christian Grothoff Assigned To => Christian Grothoff
2020-09-11 22:31 Christian Grothoff Status new => resolved
2020-09-11 22:31 Christian Grothoff Resolution open => fixed
2020-09-11 22:31 Christian Grothoff Fixed in Version => 0.9.72
2020-09-11 22:31 Christian Grothoff Target Version => 0.9.72