|
Kevin Hunter |
|
|
Hullo List,
In tracking down another issue, I've run across a number of object files that we appear to build but not use. Example: g++ -o sal/unxlngx6/obj/bootstrap.o [...] A few lines later in the build, we build this, with a few extra g++ arguments. This is the version that actually gets used elsewhere in the build: g++ -o sal/unxlngx6/slo/bootstrap.o [...] \ -fpic \ -DSHAREDLIB \ -D_DLL_ Question: what's the point of building the first one (if any)? If it's not supposed to be built, I'll leave "fixing" the build system to some other interested party as I'm not particularly keen on diving in when I'm thick into another problem. For reference, based on my build.log and the attached (inefficient) shell script, I believe this list of 112 object files are all good _candidates_ for the "built but unused" category Thanks, Kevin _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice |
|
Matúš Kukan |
|
|
Hi Kevin,
On 29 August 2011 17:12, Kevin Hunter <[hidden email]> wrote: > Hullo List, > > In tracking down another issue, I've run across a number of object files > that we appear to build but not use. Example: > > g++ -o sal/unxlngx6/obj/bootstrap.o [...] > > A few lines later in the build, we build this, with a few extra g++ > arguments. This is the version that actually gets used elsewhere in the > build: > > g++ -o sal/unxlngx6/slo/bootstrap.o [...] \ > -fpic \ > -DSHAREDLIB \ > -D_DLL_ > > Question: what's the point of building the first one (if any)? > > If it's not supposed to be built, I'll leave "fixing" the build system to > some other interested party as I'm not particularly keen on diving in when > I'm thick into another problem. For reference, based on my build.log and > the attached (inefficient) shell script, I believe this list of 112 object > files are all good _candidates_ for the "built but unused" category > objects compiled more then once ( as long as there is no error in gbuild ). About soltools, I'm not sure there is somebody who wants to play with that, probably just few seconds added to building of LibreOffice. Anyway, thanks for research, Matúš _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice |
|
Stephan Bergmann |
|
|
In reply to this post by Kevin Hunter
On Aug 29, 2011, at 5:12 PM, Kevin Hunter wrote:
> In tracking down another issue, I've run across a number of object files that we appear to build but not use. Example: > > g++ -o sal/unxlngx6/obj/bootstrap.o [...] > > A few lines later in the build, we build this, with a few extra g++ arguments. This is the version that actually gets used elsewhere in the build: > > g++ -o sal/unxlngx6/slo/bootstrap.o [...] \ > -fpic \ > -DSHAREDLIB \ > -D_DLL_ > > Question: what's the point of building the first one (if any)? Those files are built once to be included in a static library (via OBJFILES) and once to be included in a dynamic library (via SLOFILES). The static library was used to build some build-time tools, IIRC, but appears to be no longer needed. -Stephan _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice |
| Powered by Nabble | Edit this page |