This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Liu Cailiang
Recipients Liu Cailiang
Date 2017-07-10.04:56:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499662616.73.0.0979391647369.issue30889@psf.upfronthosting.co.za>
In-reply-to
Content
Following is the executed command line (g++ version 5):
g++ -pthread -shared -L/conda/lib -Wl,-rpath=/conda/lib,--no-as-needed /tmp/tmp0lfzn4v9/home/ubuntu/pybind11_opencv_numpy/ndarray_converter.o /tmp/tmp0lfzn4v9/home/ubuntu/pybind11_opencv_numpy/.rendered.cpy.o -L/conda/lib -lopencv_core -lopencv_imgproc -lopencv_imgcodecs -lopencv_video -lopencv_videoio -lopencv_objdetect -lm -lz -lpython3.6m -o /tmp/tmp0lfzn4v9/cpy.cpython-36m-x86_64-linux-gnu.so -Wl,--as-needed -O3 -Wall

If  -Wl,--as-needed -O3 -Wall is before the .o files, the extra_args work.
History
Date User Action Args
2017-07-10 04:56:56Liu Cailiangsetrecipients: + Liu Cailiang
2017-07-10 04:56:56Liu Cailiangsetmessageid: <1499662616.73.0.0979391647369.issue30889@psf.upfronthosting.co.za>
2017-07-10 04:56:56Liu Cailianglinkissue30889 messages
2017-07-10 04:56:56Liu Cailiangcreate