search for: sem_destroy

Displaying 18 results from an estimated 18 matches for "sem_destroy".

2014 Feb 27
1
AIX 7.1 Winbind Module Problems
...tils.py:392: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Waf: Entering directory `/rehash/samba-3.6.0/source3/bin' [ 8/1242] Generating VERSION [ 12/1242] Compiling IDL ../librpc/idl/atsvc.idl sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied [ 13/1242] Compiling IDL ../librpc/idl/auth.idl sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied /rehash/samba-3.6.0/librpc/idl/atsvc.idl:5: error: expected identifier or '(' before '[' token /rehash/samba-3.6.0/librpc/id...
2010 Nov 30
1
Compiling ocfs2-tools-1.6.3 on slackware64-13.1
.../lib64/libcom_err.a(error_message.o): In function `setup_et_lock': error_message.c:(.text+0x1a3): undefined reference to `sem_init' /lib64/libcom_err.a(error_message.o): In function `fini_et_lock': error_message.c:(.text+0x1cc): undefined reference to `sem_destroy' /lib64/libcom_err.a(error_message.o): In function `et_list_lock': error_message.c:(.text+0x1ff): undefined reference to `sem_wait' /lib64/libcom_err.a(error_message.o): In function `et_list_unlock': error_message.c:(.text+0x228): undefined reference to `sem_post' collect2: ld r...
2010 Feb 13
3
ocfs2 compile error in x86_64
...b.a -L../libocfs2 -locfs2 -L../libo2dlm -lo2dlm -L../libo2cb -lo2cb -lcom_err /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `fini_et_lock': /sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:74: undefined reference to `sem_destroy' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `setup_et_lock': /sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:68: undefined reference to `sem_init' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../l...
2010 Feb 13
3
ocfs2 compile error in x86_64
...b.a -L../libocfs2 -locfs2 -L../libo2dlm -lo2dlm -L../libo2cb -lo2cb -lcom_err /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `fini_et_lock': /sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:74: undefined reference to `sem_destroy' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `setup_et_lock': /sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:68: undefined reference to `sem_init' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../l...
2011 Nov 16
1
febootstrap-3.12 configure error on Fedora 16
...ibcom_err.a(error_message.o): In function `setup_et_lock': > (.text.startup+0x11): undefined reference to `sem_init' > /usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libcom_err.a(error_message.o): In function `fini_et_lock': > (.text.exit+0xa): undefined reference to `sem_destroy' > collect2: ld returned 1 exit status > > > It seems that sem_* symbols are in -pthread - thist works OK: > > $ gcc -std=gnu99 -o conftest -g -O2 conftest.c -pthread -lcom_err > > so What must be corrected ? I don't see this error myself. I just unpacked feb...
2014 Feb 27
0
AIX WINBIND ISSUES
..._utils.py:392: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Waf: Entering directory `/rehash/samba-3.6.0/source3/bin' [ 8/1242] Generating VERSION [ 12/1242] Compiling IDL ../librpc/idl/atsvc.idl sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied [ 13/1242] Compiling IDL ../librpc/idl/auth.idl sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied /rehash/samba-3.6.0/librpc/idl/atsvc.idl:5: error: expected identifier or '(' before '[' token /rehash/samba-3.6.0/librpc/idl...
2014 Feb 27
0
AIX 7.1 Winbind Module Load Issues
...tils.py:392: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Waf: Entering directory `/rehash/samba-3.6.0/source3/bin' [ 8/1242] Generating VERSION [ 12/1242] Compiling IDL ../librpc/idl/atsvc.idl sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied [ 13/1242] Compiling IDL ../librpc/idl/auth.idl sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied /rehash/samba-3.6.0/librpc/idl/atsvc.idl:5: error: expected identifier or '(' before '[' token /rehash/samba-3.6.0/librpc/id...
2019 May 25
1
[nbdkit PATCH] nbd: Rewrite thread passing to use semaphore rather than pipe
...flags, type, offset, count, cookie, req_buf) == 0) - return fd; + return trans; trans = find_trans_by_cookie (h, cookie, true); err: err = errno; - if (trans) { - close (trans->u.fds[0]); - close (trans->u.fds[1]); - free (trans); - } - else - close (fd); + if (sem_destroy (&trans->sem)) + abort (); + free (trans); + nbd_mark_dead (h); errno = err; - return nbd_mark_dead (h); + return NULL; } /* Shorthand for nbd_request_full when no extra buffers are involved. */ -static int +static struct transaction * nbd_request (struct handle *h, uint16_t fl...
2011 Mar 13
1
Samba4 won't compile
...source4/heimdal_build/libasn1-samba4.so /lib/libcom_err.a(error_message.o): In function `et_list_unlock': error_message.c:(.text+0x20): undefined reference to `sem_post' /lib/libcom_err.a(error_message.o): In function `fini_et_lock': error_message.c:(.text+0x3e): undefined reference to `sem_destroy' /lib/libcom_err.a(error_message.o): In function `setup_et_lock': error_message.c:(.text+0x6e): undefined reference to `sem_init' /lib/libcom_err.a(error_message.o): In function `et_list_lock': error_message.c:(.text+0x9d): undefined reference to `sem_wait' collect2: ld returned...
2019 Jul 01
3
[nbdkit PATCH 0/2] Use new libnbd _notify functions
I'm not observing any noticeable performance differences, but I'm liking the diffstat. I can't push this patch until we release a new libnbd version with the _notify API addition, but am posting it now for playing with things. Eric Blake (2): nbd: Move transaction info from heap to stack nbd: Use nbdkit aio_*_notify variants plugins/nbd/nbd.c | 217
2019 Jul 01
0
[nbdkit PATCH 2/2] nbd: Use nbdkit aio_*_notify variants
...IO; } - else + else { + assert (trans->cookie > 0); + err = nbd_aio_command_completed (h->nbd, trans->cookie); + assert (err != 0); + assert (err == 1 ? trans->err == 0 : trans->err == nbd_get_errno ()); err = trans->err; + } } if (sem_destroy (&trans->sem)) abort (); @@ -520,13 +481,8 @@ nbdplug_open_handle (int readonly) h->readonly = true; /* Spawn a dedicated reader thread */ - if ((errno = pthread_mutex_init (&h->trans_lock, NULL))) { - nbdkit_error ("failed to initialize transaction mutex: %m...
2020 Mar 19
1
[nbdkit PATCH] nbd: Drop nbd-standalone fallback
...err; - cookie = trans->cookie = h->unique++; - trans->next = h->trans; - h->trans = trans; - } - if (nbd_request_raw (h, flags, type, offset, count, cookie, req_buf) == 0) - return trans; - trans = find_trans_by_cookie (h, cookie, true); - - err: - err = errno; - if (sem_destroy (&trans->sem)) - abort (); - free (trans); - nbd_mark_dead (h); - errno = err; - return NULL; -} - -/* Shorthand for nbd_request_full when no extra buffers are involved. */ -static struct transaction * -nbd_request (struct handle *h, uint16_t flags, uint16_t type, uint64_t offset, -...
2019 Jul 23
4
[libnbd PATCH] api: Allow completion callbacks to auto-retire
When using the nbd_aio_FOO_callback commands, there is nothing further to be learned about the command by calling nbd_aio_command_completed() compared to what the callback already had access to. There are still scenarios where manually retiring the command after the fact is useful (whether the return was 0 to keep the status unchanged, or -1 to alter the retirement status to *error), but by
2019 May 30
5
[nbdkit PATCH 0/4] Play with libnbd for nbdkit-add
Patch 1 played with an early draft of Rich's Fedora 30 libnbd package: https://bugzilla.redhat.com/show_bug.cgi?id=1713767#c17 Note that comment 21 provides a newer package 0.1.1-1 with a different API; and that libnbd has more unreleased API changes in the pipeline (whether that will be called 0.2 or 0.1.2); so we'll have to tweak things based on what is actually available in distros.
2019 Jun 02
5
[nbdkit PATCH v2 0/5] Play with libnbd for nbdkit-nbd
libnbd-0.1.2-1 is now available in Fedora 29/30 updates-testing, although it was not compiled against libxml2 so it lacks uri support (I ended up testing patch 4 with a self-built libnbd). Diffs since v1 - rebase to master, bump from libnbd 0.1 to 0.1.2, add URI support, better timing results Still not done - patch 5 needs associated tests Eric Blake (5): nbd: Check for libnbd nbd:
2019 Jun 12
8
[nbdkit PATCH v3 0/5] Play with libnbd for nbdkit-nbd
libnbd-0.1.4-1 is now available in Fedora 29/30 updates testing. Diffs since v2 - rebase to master, bump from libnbd 0.1.2 to 0.1.3+, add tests to TLS usage which flushed out the need to turn relative pathnames into absolute, doc tweaks Now that the testsuite covers TLS and libnbd has been fixed to provide the things I found lacking when developing v2, I'm leaning towards pushing this on
2019 May 30
0
[nbdkit PATCH 3/4] nbd: Use libnbd 0.1
...- cookie = trans->cookie = h->unique++; - trans->next = h->trans; - h->trans = trans; - } - if (nbdplug_request_raw (h, flags, type, offset, count, cookie, req_buf) == 0) - return trans; - trans = find_trans_by_cookie (h, cookie, true); - - err: - err = errno; - if (sem_destroy (&trans->sem)) - abort (); - free (trans); - nbdplug_mark_dead (h); - errno = err; - return NULL; -} - -/* Shorthand for nbdplug_request_full when no extra buffers are involved. */ -static struct transaction * -nbdplug_request (struct handle *h, uint16_t flags, uint16_t type, -...
2019 Jun 12
0
[nbdkit PATCH v3 3/5] nbd: Use libnbd 0.1.3+
...- cookie = trans->cookie = h->unique++; - trans->next = h->trans; - h->trans = trans; - } - if (nbdplug_request_raw (h, flags, type, offset, count, cookie, req_buf) == 0) - return trans; - trans = find_trans_by_cookie (h, cookie, true); - - err: - err = errno; - if (sem_destroy (&trans->sem)) - abort (); - free (trans); - nbdplug_mark_dead (h); - errno = err; - return NULL; -} - -/* Shorthand for nbdplug_request_full when no extra buffers are involved. */ -static struct transaction * -nbdplug_request (struct handle *h, uint16_t flags, uint16_t type, -...