If configured without --enable-debug, pth's build system seems to remove -g from our $RPM_OPT_FLAGS, and no sane debuginfo package is created. But if configuring with --enable-debug, *only* the static lib is created. Also, partially off topic, I happened to notice that the "checking for stack setup via sigstack" configure test dumps core: configure:24658: checking for stack setup via sigstack configure:24815: gcc -o conftest -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexcep tions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DTEST_sig stack conftest.c -lnsl >&5 conftest.c: In function 'main': conftest.c:163: warning: 'sigstack' is deprecated (declared at /usr/include/sign al.h:358) conftest.c:199: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' conftest.c:199: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int' conftest.c:207: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' /tmp/ccxtahGE.o: In function `main': conftest.c:(.text+0xa0): warning: the `sigstack' function is dangerous. `sigalt stack' should be used instead. configure:24818: $? = 0 configure:24820: ./conftest ./configure: line 24821: 9795 Segmentation fault (core dumped) ./conftest$ ac_exeext This is an FC5 x86_64 box.