Re: [ovs-dev] [PATCH] python/setup: "-fPIC" extra compile flag for C extension

2017-01-10 Thread Iwase Yusuke
Hi, I'm very sorry for disturbing you. I found that this issue is not on Python extension. I should have built openvswitch libraries with "--enable-shared" configure option. Then, I could install Python extension successfully without my patch. So, I would like to withdraw this patch... Thanks,

Re: [ovs-dev] [PATCH] python/setup: "-fPIC" extra compile flag for C extension

2017-01-10 Thread Iwase Yusuke
Hi, On 2017年01月11日 11:01, Ben Pfaff wrote: > On Wed, Jan 11, 2017 at 09:38:13AM +0900, IWASE Yusuke wrote: >> To build shared library object, it is required to built as "Position >> Independent Code" (on x86-64, for example). >> This patch adds "-fPIC" extra compile flag to make sure that extensio

Re: [ovs-dev] [PATCH] python/setup: "-fPIC" extra compile flag for C extension

2017-01-10 Thread Ben Pfaff
On Wed, Jan 11, 2017 at 09:38:13AM +0900, IWASE Yusuke wrote: > To build shared library object, it is required to built as "Position > Independent Code" (on x86-64, for example). > This patch adds "-fPIC" extra compile flag to make sure that extension > being PIC while building a shared library obj

[ovs-dev] [PATCH] python/setup: "-fPIC" extra compile flag for C extension

2017-01-10 Thread IWASE Yusuke
To build shared library object, it is required to built as "Position Independent Code" (on x86-64, for example). This patch adds "-fPIC" extra compile flag to make sure that extension being PIC while building a shared library object. Signed-off-by: IWASE Yusuke --- python/setup.py | 9 +++--