Bug 439326 - Valgrind 3.17.0 won't compile with Intel 2021 oneAPI compilers
Summary: Valgrind 3.17.0 won't compile with Intel 2021 oneAPI compilers
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Floyd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-30 08:58 UTC by Jason Jones
Modified: 2021-10-09 19:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Update config file to allow icc-202x compiler versions (477 bytes, patch)
2021-07-13 15:05 UTC, Tanya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Jones 2021-06-30 08:58:12 UTC
SUMMARY

When trying to configure Valgrind with the latest Intel compilers it fails.

STEPS TO REPRODUCE
1. CC=icc ./configure
2. 
3. 

OBSERVED RESULT

checking for a supported version of gcc... no (icc-2021.2.0)
configure: error: please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0 or Apple LLVM >= 5.1

EXPECTED RESULT
A successful configure outcome

SOFTWARE/OS VERSIONS
CentOS 7

ADDITIONAL INFORMATION
Comment 1 Tanya 2021-07-13 15:05:01 UTC
Created attachment 140031 [details]
Update config file to allow icc-202x compiler versions

Intel oneAPI compiler uses version numbers starting with "202x" instead of "1x". Valgrind config file was discarding this version as unsupported.
Comment 2 Tanya 2021-07-13 15:08:18 UTC
(In reply to Jason Jones from comment #0)
Hi Jason,

Attached the fix I used for this issue.

Would you be able to check whether this patch works for you?
You'll need to rerun ./autogen.sh after applying this patch.

Tanya
Comment 3 Paul Floyd 2021-10-07 12:26:29 UTC
I'll also take a look at this item and try to get it into 3.18
Comment 4 Paul Floyd 2021-10-09 19:47:26 UTC
Chang committed with
commit c3002642d35b69f82fb1633ffc874e8ede370d32