[Libvirt-ci] Broken: libvirt/libvirt#273 (master - e4b980c)

Travis CI builds at travis-ci.org
Tue Jul 11 13:19:22 UTC 2017


Build Update for libvirt/libvirt
-------------------------------------

Build: #273
Status: Broken

Duration: 18 minutes and 45 seconds
Commit: e4b980c (master)
Author: Daniel P. Berrange
Message: Prevent more compiler optimization of mockable functions

Currently all mockable functions are annotated with the 'noinline'
attribute. This is insufficient to guarantee that a function can
be reliably mocked with an LD_PRELOAD. The C language spec allows
the compiler to assume there is only a single implementation of
each function. It can thus do things like propagating constant
return values into the caller at compile time, or creating
multiple specialized copies of the function body each optimized
for a different caller. To prevent these optimizations we must
also set the 'noclone' and 'weak' attributes.

This fixes the test suite when libvirt.so is built with CLang
with optimization enabled.

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>

View the changeset: https://github.com/libvirt/libvirt/compare/a1ac4c880bc5...e4b980c853d2

View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/252392814?utm_source=email&utm_medium=notification

--

You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-ci/attachments/20170711/02c1d5a5/attachment.htm>


More information about the Libvirt-ci mailing list