Hi,

I was able to get the version v0.3.4 running without crashes on AWS
EC2 by lowering the gcc optimization profile.
Edit the 'CMakeLists.txt' and add 'set(CMAKE_CXX_FLAGS_RELEASE "-O1")'


Cheers,

Nils

2013/7/31 Nils Liebelt <[email protected]>:
> 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

_______________________________________________
OSRM-talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to