devops problems
lua5.2 ambiguous overload
This problem occurs when using gcc10 to compile osrm-backend. For now the easiest way to prevent this is reverting back to gcc9. Also version 5.2 of lua should be used. To do that the only way i found is to remove the other version(s)
Note that also alpine:3.13 has shifted to gcc10, which is where this error comes from.
To stay out of trouble :
- use gcc9 on development
- use alpine:3.12 as base image for backend-build
better solution
Try to get osrm-backend to compile with gcc10, this means changing sol2 because it seems there is where the error occurs.
| solution | |
|---|---|
There is a sol3 available : https://github.com/ThePhD/sol2 It is called sol3 but also sol2 V3.0.