Hello OmegaPhil, OmegaPhil: > Program received signal SIGSEGV, Segmentation fault. > 0x00007fbd72a6988e in rdu_buf_lock () from /usr/lib/libau.so > (gdb) bt > #0 0x00007fbd72a6988e in rdu_buf_lock () from /usr/lib/libau.so > #1 0x00007fbd72a69e81 in closedir () from /usr/lib/libau.so ::: > This is associated with /usr/lib/openssh/sftp-server. I've tried to > build the aufs-util source with debugging information by changing the > 'override CFLAGS' to: > > override CFLAGS +=3D -Og -Wall -ggdb3 > > Make clean and then making as usual. > > However libau.so.2.7 is always built with no debugging symbols:
Thanx for an interesting report. There may exists a bug in rdu_buf_lock(). Other than CFLAGS, you need to set LDFLAGS. Probably "INSTALL" or "Install" too. In Makefile, LDFLAGS is set as ${LibSo}.${LibSoMajor}.${LibSoMinor}: override LDFLAGS += -s This '-s' means to strip. And "Install" is Install = ${INSTALL} -o root -g root -p "INSTALL" is set by make(1) and it may be set -s/--strip option on your system. But you will find out easily if you look 'make's output carefully. Also you may want to add -UNDEBUG to CPPFLAGS, in order to enable the assertions for the debugging purpose. How do you set your LIBAU environment variable? Usually it is set as "all". J. R. Okajima ------------------------------------------------------------------------------