Lucas Meneghel Rodrigues wrote:
On Tue, Mar 23, 2010 at 3:25 PM, Martin Bligh <mbl...@google.com> wrote:
+cc:md (he wrote the test).

On Tue, Mar 23, 2010 at 11:13 AM, Lucas Meneghel Rodrigues
<l...@redhat.com> wrote:
The Makefile for the monotonic_test C program forces static
compilation of the object files. Since we are compiling the
code already, not having a static binary doesn't make much
of a difference on the systems we are running this test.

As the static compilation might fail in some boxes, just remove
this constraint from the Makefile.
I presume this was to fix some Google interdependency.
Is it actually breaking something? If not, seems safer to leave it?
If so, we'll have to fix one end or the other ;-)

Yes, I can't get a static build on a Fedora 13 box by no means, that's
why I looked into what was going wrong and cooked this patch. If
someone has any suggestions of what I need to do to work around this,
let me know.

I met the same problem and there should be no difference when not using the static build.
Signed-off-by: Lucas Meneghel Rodrigues <l...@redhat.com>
---
 client/tests/monotonic_time/src/Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/client/tests/monotonic_time/src/Makefile 
b/client/tests/monotonic_time/src/Makefile
index 56aa7b6..2121ec4 100644
--- a/client/tests/monotonic_time/src/Makefile
+++ b/client/tests/monotonic_time/src/Makefile
@@ -1,7 +1,6 @@
 CC=    cc

 CFLAGS=        -O -std=gnu99 -Wall
-LDFLAGS=-static
 LIBS=  -lpthread -lrt

 PROG=  time_test
--
1.6.6.1

_______________________________________________
Autotest mailing list
autot...@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

_______________________________________________
Autotest mailing list
autot...@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest





--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to