[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenOffice.org 2.0.1 (Experimantal) issue with -fvisibility=hidden



Hi

On Sun, 15 Jan 2006 21:38:37 +0100
Martin Kretzschmar <m_kretzschmar@gmx.net> wrote:

> > Please do not use g++(4.0) option which is "-fvisibility=hidden".
> 
> This will of cause lead to performance regressions...

Yes, that is ture.

> 
> > See also:
> > http://bugs.debian.org/307207
> > [PR 22587] shared libraries built with -fvisibility=hidden segfaults
> 
> ...so it would be interesting to know if it's really this bug that you see.

When I check libdict_ja.so with '-fvisibility=hidden', 

openoffice.org-2.0.1/ooo-build/build/ooa680-m1/i18npool/unxlngi6.pro/misc/dict_ja.cxx
        const sal_uInt8* getExistMark() { return existMark; }
        const sal_Int16* getIndex1() { return index1; }
        const sal_Int32* getIndex2() { return index2; }
        const sal_Int32* getLenArray() { return lenArray; }
        const sal_Unicode* getDataArea() { return dataArea; }
}

getExistMark causes segv fault.

> Can you try to disable the patch cws-i18nshrink.diff and see if the
> resulting binaries cause the same crash? Without it, libdict_ja.so and
> related libraries will be compiled without -fvisibility=hidden, but
> the rest of OO.o won't be affected. I've got an idea how to fix the
> patch but I'd like to know if the crash disappears without it.

Ok, I will disable cws-i18nshrik.diff and disable-visibility-feature.diff.
Then rebuild OpenOffice.org 2.0.1

-- 
--- Please check -> http://www.good-day.co.jp/profile.html#saiyou
--- blog -> http://blog.good-day.net/~yabuki/diary/
--- Tel 06-4796-6670 FAX 06-4796-7373
--- Yukiharu YABUKI <yabuki@good-day.co.jp>
--- GPG fingerprint = DB64 AF5C 4374 1E43 FA87  37AB 6692 F138 ED43 0BBA



Reply to: