Why can't gcc-4.2.1 build usable libreoffice?

Peter Jeremy peter at rulingia.com
Wed Feb 20 20:41:38 UTC 2013


On 2013-Feb-19 09:23:37 -0500, "Mikhail T." <mi+thun at aldan.algebra.com> wrote:
>See, my understanding always was, the only possible reasons for a
>compiler to produce a non-starting executable are:
>
> 1. The code is buggy.
> 2. The compiler is buggy.
> 3. Both of the above.
>
>My question was, which is it?

You left out:
 4. Code relies on language features that are not supported by the compiler.
    (It's not a bug that gcc 4.2.1 (eg) doesn't suppert C++11)
 5. Code relies on specific compiler features

Feel free to answer your own question if it's important to you.  No-one
else is particularly interested.

>Yes, 4.6 is supposed to work and is supported by the office@ team. My
>question was about 4.2.1, which happens to be the base cc/c++ in 8.x and
>in 9.x as well, if world was built WITHOUT_CLANG. I too observe the
>4.2.1-compiled office die at start-up -- the splash screen starts nicely
>and exits after kicking off the actual soffice.bin which segfaults.

As others have indicated, the toolchain provided in the base system is
intended only for building the base system.  If it works for you for
other purposes, that's good.  If you believe it has bugs, feel free to
submit PRs.  If the bugs don't affect the base system, they are unlikely

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130221/2bff9e8e/attachment.sig>


More information about the freebsd-stable mailing list