[OSRM-talk] Options on compiling: Differences between "Release" and "Debug" Mode Compilation

Nils Liebelt nils.liebelt at serie-a.de
Wed Jul 31 10:30:38 UTC 2013


Hi,

we experienced a lot of problems compiling and runnning the service on EC2.
Mainly similar to the reported tickets e.g.
https://github.com/DennisOSRM/Project-OSRM/issues/661

Now I just found out that we don't have these weird server crashes
when we compile
osrm with the debug options: "cmake -DCMAKE_BUILD_TYPE=Debug  .."
Compiled in "debug" the service runs fine and calculates routes no
segfaults etc.

So, I guess that the server crashes are related to compiler hardware
optimizations
that just won't work with an EC2 instance.

I read about "--no-march" options on the wiki. But it seems not to be
available any longer.
What options on compiling exists?


Regards,

Nils



More information about the OSRM-talk mailing list