Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47762 - OpenOffice 1.1.1 ebuild fails with flag no-default-inline
Summary: OpenOffice 1.1.1 ebuild fails with flag no-default-inline
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 49056 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-13 14:51 UTC by Joerg Schaible
Modified: 2004-05-05 03:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2004-04-13 14:51:19 UTC
Compiling OpenOffice 1.1.1 with CXX_FLAGS=-fno-default-inline fails:


======%<=======

Making: ../unxlngi4.pro/lib/libsal.so.3.1.0
gcc -c -fPIC -o ../unxlngi4.pro/slo/sal_version.o -DUNX  -I../unxlngi4.pro/inc /volatile/portage/openoffice-1.1.1/work/oo_1.1.1_src/solenv/src/version.c
gcc -z combreloc -z defs -Wl,-rpath,'$ORIGIN' "-Wl,-hlibsal.so.3" -shared -Wl,-O1 -Wl,--version-script ../unxlngi4.pro/misc/sal_sal.map -L../unxlngi4.pro/lib -L../lib -L/volatile/portage/openoffice-1.1.1/work/oo_1.1.1_src/solenv/unxlngi4/lib -L/volatile/portage/openoffice-1.1.1/work/oo_1.1.1_src/solver/645/unxlngi4.pro/lib -L/volatile/portage/openoffice-1.1.1/work/oo_1.1.1_src/solenv/unxlngi4/lib -L/opt/sun-jdk-1.4.2.04/lib -L/opt/sun-jdk-1.4.2.04/jre/lib/i386 -L/opt/sun-jdk-1.4.2.04/jre/lib/i386/client -L/opt/sun-jdk-1.4.2.04/jre/lib/i386/native_threads -L/usr/X11R6/lib ../unxlngi4.pro/slo/sal_version.o ../unxlngi4.pro/slo/sal_description.o -o ../unxlngi4.pro/lib/libsal.so.3.1.0 ../unxlngi4.pro/slo/utility.o ../unxlngi4.pro/slo/readline.o ../unxlngi4.pro/slo/filepath.o ../unxlngi4.pro/slo/conditn.o ../unxlngi4.pro/slo/diagnose.o ../unxlngi4.pro/slo/semaphor.o ../unxlngi4.pro/slo/socket.o ../unxlngi4.pro/slo/interlck.o ../unxlngi4.pro/slo/mutex.o ../unxlngi4.pro/slo/nlsupport.o ../unxlngi4.pro/slo/thread.o ../unxlngi4.pro/slo/module.o ../unxlngi4.pro/slo/process.o ../unxlngi4.pro/slo/security.o ../unxlngi4.pro/slo/profile.o ../unxlngi4.pro/slo/time.o ../unxlngi4.pro/slo/file.o ../unxlngi4.pro/slo/signal.o ../unxlngi4.pro/slo/pipe.o ../unxlngi4.pro/slo/system.o ../unxlngi4.pro/slo/util.o ../unxlngi4.pro/slo/tempfile.o ../unxlngi4.pro/slo/file_url.o ../unxlngi4.pro/slo/file_error_transl.o ../unxlngi4.pro/slo/file_path_helper.o ../unxlngi4.pro/slo/uunxapi.o ../unxlngi4.pro/slo/process_impl.o ../unxlngi4.pro/slo/file_stat.o ../unxlngi4.pro/slo/alloc.o ../unxlngi4.pro/slo/memory.o ../unxlngi4.pro/slo/cipher.o ../unxlngi4.pro/slo/crc.o ../unxlngi4.pro/slo/digest.o ../unxlngi4.pro/slo/random.o ../unxlngi4.pro/slo/locale.o ../unxlngi4.pro/slo/strimp.o ../unxlngi4.pro/slo/string.o ../unxlngi4.pro/slo/ustring.o ../unxlngi4.pro/slo/strbuf.o ../unxlngi4.pro/slo/ustrbuf.o ../unxlngi4.pro/slo/uuid.o ../unxlngi4.pro/slo/rtl_process.o ../unxlngi4.pro/slo/byteseq.o ../unxlngi4.pro/slo/uri.o ../unxlngi4.pro/slo/bootstrap.o ../unxlngi4.pro/slo/cmdargs.o ../unxlngi4.pro/slo/macro.o ../unxlngi4.pro/slo/unload.o ../unxlngi4.pro/slo/logfile.o ../unxlngi4.pro/slo/tres.o ../unxlngi4.pro/slo/math.o ../unxlngi4.pro/slo/context.o ../unxlngi4.pro/slo/convertbig5hkscs.o ../unxlngi4.pro/slo/converter.o ../unxlngi4.pro/slo/converteuctw.o ../unxlngi4.pro/slo/convertgb18030.o ../unxlngi4.pro/slo/convertiso2022cn.o ../unxlngi4.pro/slo/convertiso2022jp.o ../unxlngi4.pro/slo/convertiso2022kr.o ../unxlngi4.pro/slo/tcvtbyte.o ../unxlngi4.pro/slo/tcvtmb.o ../unxlngi4.pro/slo/tcvtutf7.o ../unxlngi4.pro/slo/tcvtutf8.o ../unxlngi4.pro/slo/tenchelp.o ../unxlngi4.pro/slo/tencinfo.o ../unxlngi4.pro/slo/textcvt.o ../unxlngi4.pro/slo/textenc.o ../unxlngi4.pro/slo/unichars.o -ldl -lpthread -lm
rm -f ../unxlngi4.pro/lib/check_libsal.so.3.1.0
mv ../unxlngi4.pro/lib/libsal.so.3.1.0 ../unxlngi4.pro/lib/check_libsal.so.3.1.0
/volatile/portage/openoffice-1.1.1/work/oo_1.1.1_src/solenv/bin/checkdll.sh -L../unxlngi4.pro/lib -L../lib -L/volatile/portage/openoffice-1.1.1/work/oo_1.1.1_src/solenv/unxlngi4/lib -L/volatile/portage/openoffice-1.1.1/work/oo_1.1.1_src/solver/645/unxlngi4.pro/lib -L/volatile/portage/openoffice-1.1.1/work/oo_1.1.1_src/solenv/unxlngi4/lib -L/opt/sun-jdk-1.4.2.04/lib -L/opt/sun-jdk-1.4.2.04/jre/lib/i386 -L/opt/sun-jdk-1.4.2.04/jre/lib/i386/client -L/opt/sun-jdk-1.4.2.04/jre/lib/i386/native_threads -L/usr/X11R6/lib ../unxlngi4.pro/lib/check_libsal.so.3.1.0
Checking DLL ../unxlngi4.pro/lib/check_libsal.so.3.1.0 ...: ERROR: ../unxlngi4.pro/lib/check_libsal.so.3.1.0: undefined symbol: _ZTVSt13bad_exception
dmake:  Error code 1, while making '../unxlngi4.pro/lib/libsal.so.3.1.0'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /volatile/portage/openoffice-1.1.1/work/oo_1.1.1_src/sal/util

!!! ERROR: app-office/openoffice-1.1.1 failed.
!!! Function src_compile, Line 359, Exitcode 1
!!! Build failed!

======%<=======

The check tests a function (ctor or dtor of bad_exception), that may be inlined. I suppose the error is in the test.

Reproducible: Always
Steps to Reproduce:
1. set CXX_FLAGS=-fno-default-inline
2. emerge app-office/openoffice-1.1.1


Actual Results:  
 

Expected Results:  
 

After adding "filter-flags no-default-inline" in the ebuild anything went fine.
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2004-05-05 03:36:44 UTC
*** Bug 49056 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2004-05-05 03:46:16 UTC
-fno-default-inline is now filtered in both OOo and OOo-ximian, thanks for reporting