Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 279558

Summary: =sys-libs/db-4.5.20_p2-r1 and -4.6.21_p4 fail to cross-compile on linux-gnueabi
Product: Gentoo Linux Reporter: Arun Raghavan (RETIRED) <ford_prefect>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arun Raghavan (RETIRED) gentoo-dev 2009-07-29 07:55:20 UTC
The following error turns up during the configure step:

checking for mutexes... (cached) no
configure: error: Unable to find a mutex implementation

The culprit seems to be the following (no-longer necessary?) line from /usr/share/crossdev/linux/linux-gnueabi:

db_cv_mutex=${db_cv_mutex=no}
db_cv_posixmutexes=${db_cv_posixmutexes=no}
db_cv_uimutexes=${db_cv_uimutexes=no}
db_cv_mutex=${db_cv_mutex=POSIX/pthreads/library/arm/gcc-assembly}
Comment 1 Krzysztof Borowczyk 2014-07-04 08:29:31 UTC
I just stumbled into the same problem. Is there any fix?
Comment 2 Krzysztof Borowczyk 2014-07-04 08:32:31 UTC
For me it fails for version 4.8.30
Comment 3 Krzysztof Borowczyk 2014-07-04 09:32:18 UTC
Commenting the lines suggested by Arun Raghaven resolved the issue, sys-libs/db compiled without errors
Comment 4 Jakov Smolić archtester gentoo-dev 2021-10-07 18:06:41 UTC
These versions are removed from the tree