[ovs-discuss] Building OvS with clang 32bit - shared and not shared libraries

Sirvys, Andrius andrius.sirvys at intel.com
Tue Aug 6 16:06:53 UTC 2019


Hi.

I'm trying to build 32 bit OvS using clang. It's on Ubuntu 18.04 LTS
I'm on
commit a8f005cf26fd16f77133d67fe4b205409fc444db (HEAD -> master, origin/master, origin/HEAD)
Author: John Hurley <john.hurley at netronome.com>
Date:   Tue Jul 30 12:05:17 2019 +0100


The configuration I'm using is
               ./configure CC=clang --enable-Werror --enable-ssl/--disable-ssl
      make -j CFLAGS=-m32


No matter if I build with shared libraries enabled or disabled I keep running into the same issue
      lib/.libs/libopenvswitch.a(rconn.o): In function `llsat_mul':
rconn.c:(.text+0x3c0): undefined reference to `__mulodi4'

I'm thinking it could possibly be that this 32bit build is trying to link with some 64bit library? Not exactly sure what's going on.
Would appreciate any advice or pointers on where to go or how to fix this.

Thanks,
Andrius.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190806/79aa8a3f/attachment.html>


More information about the discuss mailing list