https://bugs.freedesktop.org/show_bug.cgi?id=39596

--- Comment #1 from Allan Jacobs <jacobsallans...@gmail.com> 2011-11-20 
14:10:45 PST ---
Bjorn is correct about the ease of adding clang.  Making with clang is not an
easy hack.

Suppose <args> are the arguments used in the absence of scan-build.  The steps
are as follows:
(1) Hack core/autogen.sh so that scan-build './configure <args>' is run instead
of './configure <args>'. First, change 
    my @args;
to
    my @args;
    push @args, "./configure";

Then, change 
    system ("./configure", @args) && die "Error running configure";
to
    system ("scan-build", @args) && die "Error running configure";
(2) cd core; sh ./autogen.sh
(3) Instead of running 'make' from the command line, run 'scan-build make'.

On my computer, I can get to step 
    (47/157) Building module berkeleydb
... and then my computer crashes.  I'm running with Ubuntu 11.10 on a 4-core
machine with 8 GB of RAM.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to