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

Sirvys, Andrius andrius.sirvys at intel.com
Wed Aug 7 16:04:04 UTC 2019

Sorry forgot to mention that I have tried it with

clang 6.0 / 7.0 / 8.0


From: ovs-discuss-bounces at openvswitch.org [mailto:ovs-discuss-bounces at openvswitch.org] On Behalf Of Sirvys, Andrius
Sent: Tuesday, August 6, 2019 5:07 PM
To: ovs-discuss at openvswitch.org
Subject: [ovs-discuss] Building OvS with clang 32bit - shared and not shared libraries


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<mailto: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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190807/1096f834/attachment.html>

More information about the discuss mailing list