<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Jim,<div class=""><br class=""></div><div class=""> Looks like GCC Link-Time-Optimization isn't working on Jessie's GCC 4.9.2. Try re-building with:</div><div class=""><br class=""></div><div class=""> cd build</div><div class=""> make clean</div><div class=""> cmake -DENABLE_LTO=OFF ..</div><div class=""> make</div><div class=""><br class=""></div><div class=""> and see if that fixes it for you. I get a clean compile on my Docker image. If that corrects the issue, then we can add the instructions to the Wiki. We already detect broken LTO support in GCC < 4.9.0, but maybe 4.9.2 is also broken.....</div><div class=""><br class=""></div><div class="">daniel</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 7, 2016, at 1:51 PM, Daniel Patterson <<a href="mailto:daniel@mapbox.com" class="">daniel@mapbox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Jim,</div><div class=""><br class=""></div><div class=""> Welp, the good news is that I can reproduce this with a Docker image from Jessie. I'll see if I can track down the problem.</div><div class=""><br class=""></div><div class="">daniel</div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 7, 2016, at 1:22 PM, Jim LeBeau <<a href="mailto:jiml@ladsnet.com" class="">jiml@ladsnet.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Daniel,</div><div class=""><br class=""></div><div class="">I am running on a debian linux box, jessie a new install and everything up to date. </div><div class=""><br class=""></div><div class="">I downloaded the latest code from github and followed the directions at <a href="https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM" class="">https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM</a></div><div class=""><br class=""></div><div class="">I saw a reference to linker issues from some years ago, and the command that is failing seems ugly to me with -ltbb repeated more than once.</div><div class=""><br class=""></div><div class="">/usr/bin/c++ -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ffunction-sections -fdata-sections -std=c++1y -fopenmp -O3 -DNDEBUG -fuse-ld=gold -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common CMakeFiles/osrm-contract.dir/src/tools/contract.cpp.o -o osrm-contract -rdynamic -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_program_options -lboost_regex -lboost_system -lboost_thread -lpthread -ltbb -ltbbmalloc libosrm_contract.a -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_program_options -lboost_regex -lboost_system -lboost_thread -lpthread -lpthread -lluabind -llua5.2 -lstxxl -ltbb -ltbbmalloc -lrt<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">Jim</div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></body></html>