On 2012-07-02 14:58, Jeffrey Johnson wrote:
>
> On Jul 2, 2012, at 8:32 AM, Kristian Fiskerstrand
> <kristian.fiskerstr...@sumptuouscapital.com
> <mailto:kristian.fiskerstr...@sumptuouscapital.com>> wrote:
>
>> On 2012-07-02 14:27, Jeffrey Johnson wrote:
>>>
>>> On Jul 2, 2012, at 7:37 AM, Kristian Fiskerstrand wrote:
>>>
>>>> This is rarely necessary and should be done only when the
>>>>         default configuration selects the wrong mutex implementation.
>>> Is Gentoo3 or Gentoo4 selecting the wrong mutex implementation?
>>
>> I really don't know what implementation it would've chosen :) As I
>> said, this was a default build using the ebuild from portage in
>> gentoo, now that I know that its working with that it is time to
>> start playing with some of the variables involved.
>>
>> I do, however, agree that it is curious that it default to this
>> setting, as for why you'll have to ask the gentoo maintainer.
>
> Understood. I just wanted to point out alternatives and perhaps
> with some context for making choices. There's a lot of hysteria
> around.
>
> Ultimately you can build BDB however you want and -- if/when BDB breaks --
> blame Sunacle (there's a *lot* of "Berkeley DB Haters" around everywhere).
>
>

Btw the use of x86/gcc-assembly seem to be platform-specific,
       $(use arm && echo --with-mutex=ARM/gcc-assembly) \
       $(use amd64 && echo --with-mutex=x86/gcc-assembly) \

Removing it from the ebuild now. Removing it, configure ..
checking for mutexes... POSIX/pthreads/library/x86_64/gcc-assembly
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for main in -lpthread... yes

and the resulting partial build log from compile is attached.

I'm starting a new SKS build from dump now, so will be interesting to
see if anything else happen

PS! indeed, not blaming BDB for anything per se, but I am curious as to
the effect (if any) of different configure options.




-- 
----------------------------
Kristian Fiskerstrand
http://www.sumptuouscapital.com
Twitter: @krifisk
----------------------------
Corruptissima re publica plurimæ leges
The greater the degeneration of the republic, the more of its laws
----------------------------
This email was digitally signed using the OpenPGP
standard. If you want to read more about this
The book: Sending Emails - The Safe Way: An 
introduction to OpenPGP security is now 
available in both Amazon Kindle and Paperback 
format at
http://www.amazon.com/dp/B006RSG1S4/
----------------------------
Public PGP key 0xE3EDFAE3 at http://www.sumptuouscapital.com/pgp/

./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src  -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe  
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_tas.c
./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src  -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe  
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_pthread.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_tas.c  -fPIC 
-DPIC -o .libs/mut_tas.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_pthread.c  
-fPIC -DPIC -o .libs/mut_pthread.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_tas.c -o 
mut_tas.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_pthread.c -o 
mut_pthread.o >/dev/null 2>&1
./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src  -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe  
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_alloc.c
./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src  -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe  
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_failchk.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_failchk.c  
-fPIC -DPIC -o .libs/mut_failchk.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_alloc.c  -fPIC 
-DPIC -o .libs/mut_alloc.o
./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src  -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe  
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_method.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_failchk.c -o 
mut_failchk.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_method.c  
-fPIC -DPIC -o .libs/mut_method.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_alloc.c -o 
mut_alloc.o >/dev/null 2>&1
./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src  -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe  
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_region.c
./libtool --mode=compile x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src  -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe  
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_stat.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_method.c -o 
mut_method.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_region.c  
-fPIC -DPIC -o .libs/mut_region.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_stat.c  -fPIC 
-DPIC -o .libs/mut_stat.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_region.c -o 
mut_region.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -c -I. 
-I/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src -D_GNU_SOURCE 
-D_REENTRANT -march=core2 -O2 -pipe 
/var/tmp/portage/sys-libs/db-5.2.36/work/db-5.2.36/src/mutex/mut_stat.c -o 
mut_stat.o >/dev/null 2>&1

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Sks-devel mailing list
Sks-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/sks-devel

Reply via email to