Including the symbol table makes the binary larger (and so, I guess,
possibly its memory requirements: I can't remember).
Turning off optimisation means the compiler generates less efficient code.
Cheers,
Mike B-)
On 1 March 2017 at 10:30, Odhiambo Washington via Exim-users <
exim-users@???> wrote:
> On 1 March 2017 at 12:01, Jeremy Harris <jgh@???> wrote:
>
> > On 01/03/17 07:22, Odhiambo Washington via Exim-users wrote:
> > > On 1 March 2017 at 01:45, Jeremy Harris <jgh@???> wrote:
> > >
> > >> On 28/02/17 22:16, Daryl Richards via Exim-users wrote:
> > >>> (gdb) bt full
> > >>> #0 0x0000000802c03b1a in ?? ()
> > >>> No symbol table info available.
> > >>> Cannot access memory at address 0x7fffdfffee20
> > >>>
> > >>> ????
> > >>
> > >> Binary distribution or self-built? If the latter,
> > >> rebuild with make CFLAGS="-g -O0"
> > >>
> > >
> > >
> > > So, if I may ask, 'make CFLAGS="-g -O0"' builds with debug capability
> or
> > > what?
> >
> > The -g tells the compile/link to add symbols information to
> > the binary; the -O0 turns the compiler optimization all the
> > way down, which makes it easier for a human to understand
> > the relationship of object code to source code.
> >
> > These are compiler things, applicable to any C program not
> > just Exim.
> > --
> > Cheers,
> > Jeremy
> >
>
>
> Does it then have any penalties on the binary, as in impact on performance,
> so that these should not be everyday options??
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft."
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>
--
Systems Administrator & Change Manager
IT Services, University of York, Heslington, York YO10 5DD, UK
Tel: +44-(0)1904-323811
Web:
www.york.ac.uk/it-services
Disclaimer:
www.york.ac.uk/docs/disclaimer/email.htm