[ovs-discuss] Crash while building Python C extension

Iwase Yusuke iwase.yusuke0 at gmail.com
Wed Jan 11 00:43:59 UTC 2017

Hi Ben,

On 2017年01月11日 02:14, Ben Pfaff wrote:
> On Tue, Jan 10, 2017 at 09:32:02AM +0900, Iwase Yusuke wrote:
>> *** invalid %N$ use detected ***
>> collect2: fatal error: ld terminated with signal 6 [中止], core dumped
> Usually, an assertion failure in a build tool (like the linker, in this
> case) is a bug in the build tool, not in the software being built.  My
> advice is to, first, make sure that you're using the latest conveniently
> installable version of the linker and other tools.  If you are, then I'd
> suggest trying to make small changes to the OVS Python C extension.  If
> you find one that fixes the problem, please submit it as a patch to OVS
> and we'll see if the new version still makes sense and, if so, apply it
> as a bug fix.

Thank you for your quickly reply!

I have solved this problem, and this is a bug (or environment dependent
problem?), I guess.
Then, I made and posted a patch for this issue:
  [PATCH] python/setup: "-fPIC" extra compile flag for C extension
Could you review my patch?


More information about the discuss mailing list