Tried Sendmail 8.12.10 with GCC 3.3
Sendmail 8.12.10 sources from
<http://www.sendmail.org/> apparently do not work with GCC 3.3 supplied by
Apple.
So, apparently the new Sendmail sources (8.12.10),
the ones with the latest security fix, don't work with Apple's new GCC 3.3. I
was able to get a good compile by using "gcc_select 3" to switch back to the
older compiler (GCC 3.1).
The new
compiler reports that varargs.h is no longer supported by GCC 3.3. The ./Build
script reports that one should use stdarg.h, instead. I tried to do a
find/replace with BBEdit to change all references to varargs.h to stdarg.h, but
this didn't work either. Can you tell I'm not the world's greatest
programmer?
Also, I discovered that the
./Build install script doesn't replace the m4 configuration files on the box, so
if you want the latest m4 configuration, you'll have to run it from the source
directory.
I suppose that using GCC
3.1 is probably better than sticking with older (8.12.9) sources that have
security holes, but if somebody knows differently, I'd appreciate some feedback.
The Apple-supplied Sendmail 8.12.9 (Sendmail-40 from Darwin 6.8) works fine with
GCC 3.3. Tomorrow morning I'll try patching Sendmail-40 with the patch from
Sendmail.org to see if it still works with GCC
3.3.
I do like using the latest stable
compiler...
Posted: Sun - September 28, 2003 at 01:19