>>> On 10.04.17 at 12:39, <julien.gr...@arm.com> wrote: > Hi Roger, > > On 10/04/17 10:01, Roger Pau Monne wrote: >> The changes introduced on c47d1d broke the clang build due to undefined >> references to __xsm_action_mismatch_detected, because clang hasn't optimized >> the code properly. The following patch allows the clang build to work again, >> while keeping the same functionality. >> >> Signed-off-by: Roger Pau Monné <roger....@citrix.com> >> --- >> Cc: Daniel De Graaf <dgde...@tycho.nsa.gov> >> Cc: Julien Grall <julien.gr...@arm.com> >> Cc: Tamas K Lengyel <tamas.leng...@zentific.com> >> --- >> Changes since v1: >> - Remove unused "break". >> - Remove if condition. > > This new version does not fix the ARM32 build (though the previous > one does). I still get: > > prelink.o: In function `xsm_default_action': > /home/julieng/works/xen/xen/include/xsm/dummy.h:80: undefined reference to > `__xsm_action_mismatch_detected' > arm-linux-gnueabihf-ld: /home/julieng/works/xen/xen/.xen-syms.0: hidden > symbol `__xsm_action_mismatch_detected' isn't defined
I have to admit that I was afraid of this, after having seen this is an issue for ARM too. I guess the suggested use of a conditional expression (instead of if/else) needs to be undone, which is quite sad. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel