Re: Exim4 problems
On Sun, 2011-05-15 at 23:57 +0200, Samuel Thibault wrote:
> > Update on optimization levels: -O1 does not work either :(
> > Other compiler switches are: -fno-strict-aliasing -fvisibility=hidden
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall
> > There are a lot of warnings though: maybe some of them can cause
> > problems.
> It could be very worth trying to build with the exact same compiler and
> libc on linux, to check whether it gets a crash too.
I was not able to use exactly the same libc and gcc but I think the
below results gives overall picture.
Linux: Builds OK with all combinations below and with default -O2
uname -sr : Linux 2.6.37-2-686 (Debian sid)
ii gcc-4.6 4.6.0-7 The GNU C compiler
ii libc6 2.13-4 Embedded GNU C Library: Shared libraries
uname -sr: Linux 2.6.32-5-amd64 (Debian testing)
ii gcc 4:4.5.2-2 The GNU C compiler
ii gcc-4.6 4.6.0-2 The GNU C compiler
ii libc6 2.11.2-11 Embedded GNU C Library: Shared libraries
Hurd: (fails during checks)
uname -sr: GNU 0.3
ii gcc 4:4.6.0-5 The GNU C compiler
ii libc0.3 2.11.2-13 Embedded GNU C Library: Shared libraries