From owner-freebsd-stable@FreeBSD.ORG Thu Feb 14 13:57:16 2013 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C01EDB1F; Thu, 14 Feb 2013 13:57:16 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 59C1E3CB; Thu, 14 Feb 2013 13:57:16 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 14 Feb 2013 08:57:16 -0500 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr16.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id CFY16737; Thu, 14 Feb 2013 08:57:15 -0500 X-Auth-ID: anat Received: from pool-71-187-31-131.nwrknj.fios.verizon.net (HELO [192.168.1.8]) ([71.187.31.131]) by smtp04.lnh.mail.rcn.net with ESMTP; 14 Feb 2013 08:57:14 -0500 Message-ID: <511CED39.2010909@aldan.algebra.com> Date: Thu, 14 Feb 2013 08:57:13 -0500 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130209 Thunderbird/17.0.2 MIME-Version: 1.0 To: stable@freebsd.org Subject: Why can't gcc-4.2.1 build usable libreoffice? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: office@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 13:57:16 -0000 Hello! I just finished building editors/libreoffice with gcc-4.2.1 -- had to edit the port's Makefile to prevent it from picking a different compiler. Everything built and installed, but libreoffice dies on start-up (right after flashing the splash-window): (gdb) where #0 0x000000080596c1aa in cppu::__getTypeEntries () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #1 0x000000080596c333 in cppu::__queryDeepNoXInterface () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #2 0x000000080596d4a2 in cppu::WeakImplHelper_query () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #3 0x00000008116f2b03 in cppu::WeakImplHelper1::queryInterface () from /opt/lib/libreoffice/ure/lib/bootstrap.uno.so #4 0x0000000805970347 in cppu::OInterfaceContainerHelper::disposeAndClear () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #5 0x00000008059705b2 in cppu::OMultiTypeInterfaceContainerHelper::disposeAndClear () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #6 0x000000080593309f in cppu::OComponentHelper::dispose () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #7 0x0000000805963d00 in cppu::OFactoryComponentHelper::dispose () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #8 0x00000008116ec296 in stoc_smgr::OServiceManager::disposing () from /opt/lib/libreoffice/ure/lib/bootstrap.uno.so #9 0x000000080596af05 in cppu::WeakComponentImplHelperBase::dispose () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #10 0x00000008116e6244 in stoc_smgr::ORegistryServiceManager::dispose () from /opt/lib/libreoffice/ure/lib/bootstrap.uno.so #11 0x000000080596a573 in cppu::WeakComponentImplHelperBase::release () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #12 0x00000008059482f6 in (anonymous namespace)::createTypeRegistry () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #13 0x00000008059487bf in cppu::defaultBootstrap_InitialComponentContext () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #14 0x0000000805948918 in cppu::defaultBootstrap_InitialComponentContext () from /opt/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 #15 0x000000080212f883 in desktop::Desktop::InitApplicationServiceManager () from /opt/lib/libreoffice/program/libmergedlo.so #16 0x000000080211f362 in desktop::Desktop::Init () from /opt/lib/libreoffice/program/libmergedlo.so #17 0x0000000807622113 in InitVCL () from /opt/lib/libreoffice/program/libvcllo.so #18 0x0000000807623151 in ImplSVMain () from /opt/lib/libreoffice/program/libvcllo.so #19 0x00000008076232d5 in SVMain () from /opt/lib/libreoffice/program/libvcllo.so #20 0x000000080214942e in soffice_main () from /opt/lib/libreoffice/program/libmergedlo.so #21 0x0000000000400773 in main () I do not blame the office@ team -- the port did not want to use gcc-4.2.1, I forced it to. But I'd like to know, what is wrong with the compiler shipped by FreeBSD-9.1 (and the only one, if WITHOUT_CLANG is defined), that prevents building a healthy libreoffice? Is there a bug fixed in gcc-4.6? Or is it some (incorrect) assumption made by libreoffice code? Thank you, -mi