3.5.3rc1 win32 / debug package ...
Michael Stahl
mstahl at redhat.com
Thu May 10 04:35:04 PDT 2012
On 10/05/12 13:13, Andras Timar wrote:
> Using PDB files for release builds does not sound good to me, because
> I don't think we should produce release builds with debug
> configuration (i.e. no optimizations).
ah, another developer who doesn't know what our configure options do (or
are supposed to do anyway) :)
so there are 3 options, and --enable-symbols differs from the other 2 in
that it only adds symbols to the output, it does not enable any
debugging feature, or assertion, it does not disable optimizations, and
it is primarily used not by developers, but by distributors who want to
be able to produce reliable stack traces for _product_ builds, i.e. the
Fedora RPM spec unconditionally sets --enable-symbols.
> AC_ARG_ENABLE(symbols,
> AS_HELP_STRING([--enable-symbols],
> [Include debugging symbols in output. WARNING - a complete build needs
> a lot of space (roughly 10 GiB) and takes much longer (enables -g
> compiler flag for GCC or equivalent).]),
> ,)
>
> AC_ARG_ENABLE(debug,
> AS_HELP_STRING([--enable-debug],
> [Include debugging symbols like with --enable-symbols, disable compiler
> optimization and inlining plus extra debugging code like assertions.
> Extra large build! (enables -g compiler flag and dmake debug=true)
> If you need even more verbose output, build a module with
> "build -- debug=true dbglevel=2".
> You can also use this switch as follows:
> --enable-debug="all -sw/ -Library_sc" to enable symbols only for
> the specified gbuild-build targets (all means everything, - prepended
> means not to enable, / appended means everything in the directory,
> there is no ordering, more specific overrides more general, and
> disabling takes precedence).]))
>
> AC_ARG_ENABLE(dbgutil,
> AS_HELP_STRING([--enable-dbgutil],
> [Include additional debugging utilities, such as assertions, object
> counting, etc. Larger build. Independent from --enable-debug.
> Note that this option makes the build ABI incompatible:
> It is not possible to mix object files or libraries from a
> --enable-dbgutil and a --disable-dbgutil build.]))
More information about the LibreOffice
mailing list