Bug 98

Summary: DCMTK configuration fails with GCC 6.4.0
Product: Orthanc Reporter: Sébastien Jodogne <s.jodogne>
Component: Orthanc CoreAssignee: Sébastien Jodogne <s.jodogne>
Status: RESOLVED FIXED    
Severity: normal    
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   
Attachments: orthanc-1.4.1-dcmtk-cmath.patch

Description Sébastien Jodogne 2020-06-29 15:14:03 CEST
[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.
Comment 1 Sébastien Jodogne 2020-06-29 15:18:06 CEST
Created attachment 70 [details]
orthanc-1.4.1-dcmtk-cmath.patch
Comment 2 Sébastien Jodogne 2020-06-29 15:22:12 CEST
[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