DG/UX

Matthias Andree matthias.andree at gmx.de
Mon Dec 15 18:31:55 CET 2003


On Mon, 15 Dec 2003, Dave Lovelace wrote:

> Thanks, Matthias.  It didn't work.  (But I don't mean to carp.  I appreciate
> the time folks, notably you & David, have put in trying to help.)
> Definitely the message you cited looked hopeful, if indeed dwarf (whatever
> it is) was involved.

I see now that my suggestion wasn't complete. Your logs show that
"configure" will automatically re-add "-ggdb" which may be the *actual*
problem (-ggdb in addition to -g).

Could you be bothered to:

1. edit your ./configure from bogofilter-0.15.10, find the string
   "-ggdb" (only one occurrence, line 3076) and remove it. Below is a
   convenience patch that does the same.

2. using the known CFLAGS modification scheme, please try these four
   commands in shown order until either one succeeds or the list is exhausted:

   rm -f config.cache ; env CFLAGS="-O2 -g" ./configure && make

   rm -f config.cache ; env CFLAGS="-O -g" ./configure && make

   rm -f config.cache ; env CFLAGS="-O2" ./configure && make

   rm -f config.cache ; env CFLAGS="-O" ./configure && make

Then please report your findings. I'll add an interim patch to CVS that
disables -ggdb on GCC 2.* compilers. It will disable -ggdb on known-good
GCC 2.95 platforms (FreeBSD for instance), but I don't mean to spend
time on any possible GCC/OS combination now.


--- ./configure.orig	2003-12-09 01:17:11.000000000 +0100
+++ ./configure	2003-12-15 18:21:53.000000000 +0100
@@ -3073,7 +3073,7 @@
       -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings \
       -Waggregate-return -Wmissing-declarations \
       -Wmissing-format-attribute -Wnested-externs \
-      -ggdb -fno-common -Wchar-subscripts -Wcomment \
+      -fno-common -Wchar-subscripts -Wcomment \
       -Wimplicit -Wsequence-point -Wreturn-type \
       -Wfloat-equal $addopts \
       -Wno-system-headers




More information about the Bogofilter mailing list