[exim-dev] [Bug 1050] Compilation of exim 4.72 on HPUX 11.11…

Pàgina inicial
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 1050] Compilation of exim 4.72 on HPUX 11.11 fails (similar probl w 4.73_RC1)
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1050

Phil Pennock <pdp@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pdp@???





--- Comment #1 from Phil Pennock <pdp@???> 2010-12-27 05:10:11 ---
This appears to be caused by the stdargs usage, which was introduced, IIRC, so
that EXPN would work over TLS instead of trying to output in plaintext.
However, stdargs is used in various places in Exim already. Notably, the same
va_list-as-param style is used in string_vformat(), so any issues should have
been flushed out long ago.

Some searching suggests issues with stdargs with HP-UX and some "sensitivity"
here. Apparently the native compiler has an "old C" mode and an ANSI C mode?
Can you ensure that you're using ANSI C mode? Apparently, this is the "-Ae"
option to the compiler. Perhaps we should add this to the commented-out form
for HP-UX CC in Makefile-HP-UX.
[http://docs.hp.com/en/B3901-90013/ch09s01.html]

We do declare smtp_vprintf() before calling it, so the types should be fine;
exim.h pulls in stdarg.h before stdio.h, so the problems described at
[http://my.opera.com/EinSascha/blog/va-list-and-nonconforming-implementations]
shouldn't apply.

So I'm at a loss. Have you tried building with gcc?

If HP-UX CC in ANSI C mode doesn't work and gcc isn't available, then we're
going to need help from someone who understands the peculiarities of your
platform (*every* platform has peculiarities) to track this down further, I
think.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email