Summary: | databases/db5: __db_pthread_mutex_lock fails with EINVAL on armv7 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Robert Clausecker <fuz> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Only Me | Flags: | mandree:
maintainer-feedback+
|
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | 197227, 205001 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Robert Clausecker
![]() ![]() I believe we fixes this for armv6 shy of seven years ago already. Can you please provide more detail? We need to know especially the ${ARCH} on your system, and possibly find out if db5 is using POSIX mutexes: What do you get from "make -C /usr/ports/databases/db5 -V ARCH"? What FreeBSD version are you building on? What do you get from "make -C /usr/ports/databases/db5 -V CONFIGURE_ARGS"? Can you attach your config.log? (In reply to Matthias Andree from comment #1) oh, and the fix from the other PR 205001 then extended the bugfix to armv6hf and armv7 and whatever else matches armv* Created attachment 231029 [details] config.log Hi Matthias, See attached file for config.log. The device has ARCH=armv7 and make -V CONFIGURE_ARGS --enable-cxx --enable-stl --enable-dbm --enable-compat185 --enable-dump185 --includedir=/usr/local/include/db5 --libdir=/usr/local/lib/db5 --bindir=/usr/local/bin/db5 --with-cryptography=yes --disable-debug --disable-umrw --disable-java --disable-localization --disable-sql --disable-sql_codegen --disable-tcl --without-tcl --enable-posixmutexes --with-mutex=POSIX/pthreads --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} It is pretty clear the POSIX mutexes are enabled because error 2023 is only caused by the POSIX mutex code path. > What FreeBSD version are you building on? I am building on FreeBSD 13.0-RELEASE-p6. Someone might want to check http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/databases/db5 for fixes, but I have recently dropped maintainership, and I also have no viable ARM debugging platform currently since qemu-for-ports broke a few months ago. Port has expired today. |