smbd and nmbd segfault
Hello!
I have an ARM9 EABI toolchain quite well working here. Beside all other programs samba (smbd and nmbd) are seg faulting immediately after starting. Is there any help from an more experienced arm9 cross compile guru (more experienced than me) out there with an idea to solve this problem?
I have to mention, this is an uclibc-0.9.28 system ;)
samba-3.0.23d got configure (and compiled) this way:
configured by ./configure, generated by GNU Autoconf 2.59,
with options \"'--target=arm-linux' '--host=i686' '--with-lockdir=/var/cache/samba' '--with-piddir=/var/run' '--with-privatedir=/etc/samba' '--with-logfileb
ase=/var/log/samba' '--with-configdir=/etc/samba' '--without-ldap' '--with-included-popt' '--with-included-iniparser' '--disable-cups' '--disable-static' 'CC= /usr/local/arm/gcc-4.1.2/bin/arm-linux-uclibcgnueabi-gcc' 'CFLAGS=-Os -pipe ' 'CPP=/usr/local/arm/gcc-4.1.2/bin/arm-linux-uclibcgnueabi-cpp' 'host_alias=i686'
'target_alias=arm-linux'\"
This is strace output:
execve("/usr/sbin/smbd", ["smbd"], [/* 15 vars */]) = 0 mmap2(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40005000mprotect(0x2a000000, 2679432, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=1349, ...}) = 0open("/etc/ld.so.cache", O_RDONLY) = 4mmap2(NULL, 1349, PROT_READ, MAP_SHARED, 4, 0) = 0x40006000
close(4) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 218 detached
Kind Regards, Konsti
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF