search for: threadlib

Displaying 20 results from an estimated 104 matches for "threadlib".

2013 Feb 09
1
OSX rpcgen problem
...rying to build the virtualbox-4.2 branch from git://pipo.sk/pipo/libvirt.git under OSX 10.7, I get the following build error: ... CC timegm.lo CC vasnprintf.lo CCLD libgnu.la /usr/bin/ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols /usr/bin/ranlib: file: .libs/libgnu.a(threadlib.o) has no symbols ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols ranlib: file: .libs/libgnu.a(threadlib.o) has no symbols GEN charset.alias GEN ref-add.sed GEN ref-del.sed Making all in include Making all in libvirt make[3]: Nothing to be done for `all'. make[3]: No...
2018 Feb 09
2
[PATCH] Add a cache for iconv_t handles to hive_t
...| 10 +++++----- lib/write.c | 4 ++-- m4/.gitignore | 2 ++ 10 files changed, 96 insertions(+), 42 deletions(-) diff --git a/bootstrap b/bootstrap index bd82477..373fad8 100755 --- a/bootstrap +++ b/bootstrap @@ -75,6 +75,7 @@ vc-list-files warnings xstrtol xstrtoll +threadlib ' $gnulib_tool \ diff --git a/configure.ac b/configure.ac index 547fb0d..8405774 100644 --- a/configure.ac +++ b/configure.ac @@ -38,7 +38,9 @@ AC_DEFINE([PACKAGE_VERSION_RELEASE],[hivex_release],[Release number]) AC_DEFINE([PACKAGE_VERSION_EXTRA],["hivex_extra"],[Extra version...
2018 Feb 10
0
Re: [PATCH] Add a cache for iconv_t handles to hive_t
On Sat, Feb 10, 2018 at 01:40:36AM +0100, Hilko Bengen wrote: > * Richard W.M. Jones: > > >> +threadlib > >> ' > > > > Probably better to keep these sorted. > > When I rebuilt from scratch, it turned out that threadlib was not > enough. Using the "lock" module with the gl_lock_{init,lock,unlock} > instead of glthread_lock_{init,lock,unlock} as describe...
2018 Feb 09
0
Re: [PATCH] Add a cache for iconv_t handles to hive_t
...de <pthread.h> This makes hivex depend unconditionally on pthread. It's possible to make this optional so that hivex would use locking when the main program is already linked to pthread but would skip locking otherwise, and it's a fairly simply change: (1) Edit ‘bootstrap’ and add ‘threadlib’ to the list of modules near the end. You'll probably need to rerun ./bootstrap after this. (2) Read ‘.gnulib/modules/threadlib’ and follow the instructions for modifying configure.ac and Makefile.am. (3) Replace #include <pthread.h> -> #include "glthread/lock.h". (4) Rep...
2006 Aug 10
0
[RFC][PATCH][TOOLS] CONFIG to build and link to local libaio
...IBAIO_DIR) +CFLAGS += -I $(XEN_LIBXC) +CFLAGS += $(LIBAIO_INCLUDE_DIR-$(LOCAL_LIBAIO)) CFLAGS += $(INCLUDES) -I. -I../../xenstore CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE CFLAGS += -D_GNU_SOURCE @@ -26,14 +30,15 @@ DEPS = .*.d DEPS = .*.d THREADLIB := -lpthread -lz -LIBS := -L. -L.. -L../lib +LIBS := $(LIBAIO_INCLUDE_DIR-$(LOCAL_LIBAIO)) +LIBS += -L. -L.. -L../lib LIBS += -L$(XEN_LIBXC) LIBS += -lblktap LIBS += -lcrypto LIBS += -lz LIBS += -L$(XEN_XENSTORE) -lxenstore -AIOLIBS := $(LIBAIO_DIR)/...
2018 Feb 09
3
[PATCH] Add a cache for iconv_t handles to hive_t
It was brought to my attention that dumping a registry hive causes a lot of time spent in disk I/O activity because iconv_open() and iconv_close() are called for every key. Every iconv_open() call causes /usr/lib/.../gconv/$ENCODING.so to be opened and mapped. The iconv_t handles are now cached in the hive_h struct; they are opened on-demand and re-used. On my ~10 year old Lenovo T60, I have
2014 Oct 05
1
FreeBSD 10-RELEASE-amd64(on arch x86_64)
...lo CC stripslash.lo CC fd-hook.lo CC freading.lo CC getugroups.lo CC localcharset.lo CC glthread/lock.lo CC malloca.lo CC mgetgroups.lo CC nonblocking.lo CC passfd.lo CC physmem.lo CC pipe2.lo CC sig-handler.lo CC sockets.lo CC stat-time.lo CC strnlen1.lo CC sys_socket.lo CC tempname.lo CC glthread/threadlib.lo CC unistd.lo CC wctype-h.lo CC xsize.lo CC asnprintf.lo CC canonicalize-lgpl.lo CC fclose.lo CC fdatasync.lo CC fflush.lo CC fseek.lo CC fseeko.lo CC getgroups.lo CC ioctl.lo CC mktime.lo CC openpty.lo CC printf-args.lo CC printf-parse.lo CC pthread_sigmask.lo CC random_r.lo CC rawmemchr.lo CC r...
2019 Jul 21
2
Missing hivex.h error when compiling on macOS 10.14 (Mojave)
...gpl.lo CC basename-lgpl.lo CC stripslash.lo CC exitfail.lo CC fd-hook.lo CC full-read.lo CC full-write.lo CC getprogname.lo CC glthread/lock.lo CC progname.lo CC safe-read.lo CC safe-write.lo CC glthread/threadlib.lo CC unistd.lo CC xsize.lo CC xstrtol.lo CC xstrtoul.lo CC xstrtol-error.lo CC asnprintf.lo CC error.lo CC getopt.lo CC getopt1.lo CC printf-args.lo CC printf-parse.lo CC strerror.lo CC strerror...
2004 Aug 06
1
some portability fixes ...
...tup..." > echo "Warning: As of cygnus 1.1.8, pthread support is crippled!!!" > CFLAGS="$CFLAGS -mno-win32" > fi 362a377,381 > if test "$enable_mingw" = "yes"; then > echo "don't bother to check for pthreads..." > THREADLIBS="" > else > 373a393,394 > fi # enable_mingw = yes > 86a87 > #include <errno.h> 2155a2157,2161 > } > else > { > // for those lamer systems that mingles text ... LIKAI > setmode( sourcecon->food.source->dumpfd, O_BINARY ); 454a455,...
2015 Feb 06
0
Re: Patchable build problems on OS X 10.10
...malloca.lo \ > - openat-die.lo openat-safer.lo pipe2.lo quotearg.lo \ > + open_memstream.lo openat-die.lo openat-safer.lo pipe2.lo quotearg.lo \ > read-file.lo safe-read.lo safe-write.lo save-cwd.lo sockets.lo \ > stat-time.lo strnlen1.lo sys_socket.lo tempname.lo \ > glthread/threadlib.lo timespec.lo unistd.lo dup-safer.lo \ Changes in the gnulib/ directory come from gnulib, so need to be sent/suggested to them: https://www.gnu.org/software/gnulib/ [...] > diff --git ruby/Makefile.am ruby/Makefile.am > index f605188..d28d77b 100644 > --- ruby/Makefile.am > +++ ruby...
2015 Feb 05
4
Patchable build problems on OS X 10.10
Hello, I'm attempting to create a Homebrew formula to get libguestfs to compile on Mac OS X. I've managed to achieve success with several monkey patches, but since Homebrew's policy is to contact maintainers about proper fixes in upstream, I would like to ask if there are any plans to fix these issues. I'm afraid I don't know C well enough to propose decent solutions myself.
2011 Jun 14
1
builder-debian libguestfs FAILED build step 4ee190628bc05f0c8fad1f6d9c3e85619a91e8b8
...mlink-tests symlinkat symlinkat-tests sys_ioctl sys_ioctl-tests sys_select sys_select-tests sys_socket sys_socket-tests sys_stat sys_stat-tests sys_time sys_time-tests sys_uio sys_uio-tests sys_wait sys_wait-tests tempname thread threadlib time time-tests timespec unistd unistd-safer unistd-safer-tests unistd-tests unlink unlink-tests unlinkdir unsetenv unsetenv-tests usleep usleep-tests utimecmp utimens utimens-tests vasnprintf vasnprintf-tests vasprintf...
2011 Jul 12
0
builder-debian libguestfs FAILED build step c0f72f13c075a754afa7870ecf105138fba821bb
...mlink-tests symlinkat symlinkat-tests sys_ioctl sys_ioctl-tests sys_select sys_select-tests sys_socket sys_socket-tests sys_stat sys_stat-tests sys_time sys_time-tests sys_uio sys_uio-tests sys_wait sys_wait-tests tempname thread threadlib time time-tests timespec unistd unistd-safer unistd-safer-tests unistd-tests unlink unlink-tests unlinkdir unsetenv unsetenv-tests usleep usleep-tests utimecmp utimens utimens-tests vasnprintf vasnprintf-tests vasprintf...
2011 Jun 21
1
builder-debian libguestfs FAILED build step e1e78bcef5e4654bd2456bd696840329359d35cd
...mlink-tests symlinkat symlinkat-tests sys_ioctl sys_ioctl-tests sys_select sys_select-tests sys_socket sys_socket-tests sys_stat sys_stat-tests sys_time sys_time-tests sys_uio sys_uio-tests sys_wait sys_wait-tests tempname thread threadlib time time-tests timespec unistd unistd-safer unistd-safer-tests unistd-tests unlink unlink-tests unlinkdir unsetenv unsetenv-tests usleep usleep-tests utimecmp utimens utimens-tests vasnprintf vasnprintf-tests vasprintf...
2011 Jul 08
1
builder-debian libguestfs FAILED build step ebe3d8f43a0ab7f60f3c1c612f117e793179f644
...mlink-tests symlinkat symlinkat-tests sys_ioctl sys_ioctl-tests sys_select sys_select-tests sys_socket sys_socket-tests sys_stat sys_stat-tests sys_time sys_time-tests sys_uio sys_uio-tests sys_wait sys_wait-tests tempname thread threadlib time time-tests timespec unistd unistd-safer unistd-safer-tests unistd-tests unlink unlink-tests unlinkdir unsetenv unsetenv-tests usleep usleep-tests utimecmp utimens utimens-tests vasnprintf vasnprintf-tests vasprintf...
2011 Jul 19
0
builder-debian libguestfs FAILED build step d82438431c1551610eb7d9945fa76d6387534582
...mlink-tests symlinkat symlinkat-tests sys_ioctl sys_ioctl-tests sys_select sys_select-tests sys_socket sys_socket-tests sys_stat sys_stat-tests sys_time sys_time-tests sys_uio sys_uio-tests sys_wait sys_wait-tests tempname thread threadlib time time-tests timespec unistd unistd-safer unistd-safer-tests unistd-tests unlink unlink-tests unlinkdir unsetenv unsetenv-tests usleep usleep-tests utimecmp utimens utimens-tests vasnprintf vasnprintf-tests vasprintf...
2006 Jun 05
2
[PATCH] Pet peave then->than
...D have a thread lib that we can use that part of libc that * works regardless if application are linked to pthreads or not. - * NetBSD newer then 2.99.11 just use pthread.h, and the same thing + * NetBSD newer than 2.99.11 just use pthread.h, and the same thing * will happen. */ #include <threadlib.h> Index: source/heimdal/lib/krb5/ticket.c =================================================================== --- source/heimdal/lib/krb5/ticket.c (revision 16046) +++ source/heimdal/lib/krb5/ticket.c (working copy) @@ -112,7 +112,7 @@ if (level > 9) { krb5_set_error_string(context,...
2011 Jul 15
0
builder-debian libguestfs FAILED build step 1f0c650c8ffdf0602ec74b999f62d3efa6822c96
...mlink-tests symlinkat symlinkat-tests sys_ioctl sys_ioctl-tests sys_select sys_select-tests sys_socket sys_socket-tests sys_stat sys_stat-tests sys_time sys_time-tests sys_uio sys_uio-tests sys_wait sys_wait-tests tempname thread threadlib time time-tests timespec unistd unistd-safer unistd-safer-tests unistd-tests unlink unlink-tests unlinkdir unsetenv unsetenv-tests usleep usleep-tests utimecmp utimens utimens-tests vasnprintf vasnprintf-tests vasprintf...
2011 Jun 21
0
builder-ubuntu libguestfs FAILED build step e1e78bcef5e4654bd2456bd696840329359d35cd
...mlink-tests symlinkat symlinkat-tests sys_ioctl sys_ioctl-tests sys_select sys_select-tests sys_socket sys_socket-tests sys_stat sys_stat-tests sys_time sys_time-tests sys_uio sys_uio-tests sys_wait sys_wait-tests tempname thread threadlib time time-tests timespec unistd unistd-safer unistd-safer-tests unistd-tests unlink unlink-tests unlinkdir unsetenv unsetenv-tests usleep usleep-tests utimecmp utimens utimens-tests vasnprintf vasnprintf-tests vasprintf...
2010 Dec 07
1
builder-ubuntu libguestfs FAILED build step 4b8f70d46dcfed1489c97f822e263b8615f21ea0
...stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-tests string string-tests strndup strnlen strtoimax strtol strtoll strtoul strtoull strtoumax symlink symlink-tests sys_socket sys_socket-tests sys_stat sys_stat-tests thread threadlib time time-tests unistd unistd-safer unistd-safer-tests unistd-tests unlink unlink-tests unlinkdir unsetenv unsetenv-tests useless-if-before-free usleep usleep-tests vasnprintf vasnprintf-tests vasprintf vasprintf-tests vc-list-files vc-list-files-tests veri...