Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi all,

you can now run:

 make -sr gb_CHECKOBJECTOWNER=T

in a module or in the source root (add "-f GNUmakefile.mk" in source
root). It will then check for objects that are linked in multiple
libraries, which is:

a) not really supported in gbuild and likely does not what you intend 
b) should be considered evil anyway
c) should at least use a static library, if absolutely unavoidable

Currently the output from the global makefile is:
CxxObject/framework/source/services/uriabbreviation.o is linked in by Library/libfwklx.so 
Library/libfwllx.so
CxxObject/sc/source/ui/attrdlg/attrdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/attrdlg/scdlgfact.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/attrdlg/scuiexp.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/attrdlg/tabpages.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/cctrl/editfield.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/dapidata.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/dapitype.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/dpgroupdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/pfiltdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/pvfundlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/scendlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/scuiasciiopt.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/scuiimoptdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/sortdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/subtdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/textimportoptions.o is linked in by Library/libsclx.so 
Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/tpsort.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/tpsubt.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/dbgui/validate.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/docshell/tpstat.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/crdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/datafdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/delcldlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/delcodlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/filldlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/groupdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/inscldlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/inscodlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/instbdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/lbseldlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/linkarea.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/mtrindlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/mvtabdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/namecrea.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/namepast.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/scuiautofmt.o is linked in by Library/libsclx.so 
Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/shtabdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/strindlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/tabbgcolordlg.o is linked in by Library/libsclx.so 
Library/libscuilx.so
CxxObject/sc/source/ui/miscdlgs/textdlgs.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/optdlg/opredlin.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/optdlg/tpcalc.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/optdlg/tpcompatibility.o is linked in by Library/libsclx.so 
Library/libscuilx.so
CxxObject/sc/source/ui/optdlg/tpformula.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/optdlg/tpprint.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/optdlg/tpusrlst.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/optdlg/tpview.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/pagedlg/hfedtdlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/pagedlg/scuitphfedit.o is linked in by Library/libsclx.so 
Library/libscuilx.so
CxxObject/sc/source/ui/pagedlg/tphf.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/pagedlg/tptable.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sc/source/ui/styleui/styledlg.o is linked in by Library/libsclx.so Library/libscuilx.so
CxxObject/sw/source/core/undo/SwRewriter.o is linked in by Library/libswlx.so Library/libswuilx.so
CxxObject/sw/source/filter/basflt/iodetect.o is linked in by Library/libswlx.so Library/libswdlx.so
CxxObject/tools/bootstrp/appdef.o is linked in by Executable/mkunroll Executable/rscdep 
Executable/sspretty
CxxObject/tools/bootstrp/cppdep.o is linked in by Executable/mkunroll Executable/rscdep 
Executable/sspretty
CxxObject/tools/bootstrp/inimgr.o is linked in by Executable/mkunroll Executable/rscdep 
Executable/sspretty
CxxObject/tools/bootstrp/prj.o is linked in by Executable/mkunroll Executable/rscdep 
Executable/sspretty
/striped/bjoern/checkouts/libreoffice/upstream/master/solenv/gbuild/extensions/final_ObjectOwner.mk:43:
 *** duplicate linked objects.  Stop.

I have not enabled that in the default build, as it uses some pretty
long strings in GNU make and should not be needed on every build. And
yes, this is using the "final extension" just introduced.

Best,

Bjoern

-- 
https://launchpad.net/~bjoern-michaelsen



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.