[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: refine of the GSOC project
For the errors in the second list, I applied part of your change, which is
-lpthread -lrt -lm linked flags.
I did not apply other changes in the patch, but if applied, most of errors
in the second list will disappear.
Besides, I used -D_NETBSD_SOURCE to make some variables accessible.
Why do you think we should not use it? Some kernel source has the code of
if defined _NETBSD_SOURCE || defined _XOPEN_SOURCE
/// define some variable here, say it is called foo
the benchmark reference foo, so we need to either enable _NETBSD_SOURCE or
also, in the LDFLAGS files of the benchmark suite, there are two comments
#-D_XOPEN_SOURCE=600 -lpthread -lrt -lm
It seems benchmark authors think users should enable _XOPEN_SOURCE.
Let me know if there are problems.
2016-05-12 8:18 GMT-07:00 Thor Lancelot Simon <tls%panix.com@localhost>:
> On Wed, May 11, 2016 at 10:37:58PM -0700, Charles Cui wrote:
> > Hi Christos,
> > I got the new list post below. Note that the second list is build with
> > -D_NETBSD_SOURCE -lpthread -lrt -lm
> If you have a proper NetBSD build environment (native or cross compilation)
> then -D_NETBSD_SOURCE seems wrong. If you need it, or see changes in
> behavior when using it, I think your compilation environment may still
> not be quite right.
Main Index |
Thread Index |