Issue98

Title DCMTK configuration fails with GCC 6.4.0
Priority bug Status resolved
Superseder Nosy List admin
Assigned To
Keywords Orthanc Core

Created on 2018-08-08.17:04:39 by admin, last changed by admin.

Files
File name Uploaded Type Edit Remove
orthanc-1.4.1-dcmtk-cmath.patch admin, 2020-06-29.15:18:06 text/x-diff
Messages
msg452 (view) Author: admin Date: 2018-08-08.17:04:39
[BitBucket user: Miklós Espák]
[BitBucket date: 2018-08-08.15:04:39]

Orthanc already uses a patch to correct how DCMTK detects which functions are available with the given compiler. However, this patch is a bit outdated and it fails with some compilers, specifically with GCC 6.4.0.

Gcc 6.4 is used in alpine linux (3.7 and 3.8) that is popular for making Docker images.

I attached a patch that fixes the problem. It's a patch of the current patch for DCMTK 3.6.2.

The fix is taken from the DCMTK master. Note that DCMTK 3.6.3 still does not have the right fix.
msg453 (view) Author: admin Date: 2020-06-29.15:18:06
[Bugzilla user: s.jodogne@gmail.com]
[Bugzilla date: 2020-06-29T13:18:06+00:00]

Created attachment 70
orthanc-1.4.1-dcmtk-cmath.patch
msg454 (view) Author: admin Date: 2018-09-04.15:07:48
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2018-09-04.13:07:48]

Fix issue #98 (DCMTK configuration fails with GCC 6.4.0 on Alpine)

→ https://hg.orthanc-server.com/orthanc/changeset/4fdb25c5df9c
History
Date User Action Args
2026-07-29 15:51:22admincreate