This page has a list of known issues related to the use of the grib-api and ecCodes libraries.
OpenIFS 38r1 and 40r1v1 fails with ecCodes
OpenIFS 38r1 (all versions) and 40r1v1 need a small code change to work with the ECMWF ecCodes library. This is because of the use of a deprecated grib related subroutine that was replaced in ecCodes.
The compilation will fail with a message similar to: