nickva commented on issue #551: [Jenkins] couchjs segfaults
URL: https://github.com/apache/couchdb/issues/551#issuecomment-311690964
 
 
   So @davisp and I found out that building mozjs185 from source on Ubuntu12 
docker image doesn't reproduce the segfault. But re-building deb package from 
source does. We tried applying the same ./configure options but still couldn't 
make the segfault happen.
   
   There are differences in CFLAGS and some of those seem like would enable 
stack protection mechanisms.
   
   Here is the compile options diff between a deb package build vs build from 
source. The first one is the deb package
   
   ```
   
   < configure:14198: c++ -o conftest -g -O2 -fstack-protector 
   --param=ssp-buffer-size=4 -Wformat -Wformat-security 
   -fno-strict-aliasing -pthread -D_FORTIFY_SOURCE=2 -lpthread 
   -Wl,-Bsymbolic-functions -Wl,-z,relro conftest.C -ldl  1>&5
   ---
    > configure:14198: c++ -o conftest  -fno-strict-aliasing -pthread 
   -lpthread  conftest.C -ldl  1>&5
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to