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


Ok, I checked and it looks fine, so solaris.mk should be taken.
Also config.log shows correct variables for OS, CPU and COM.
What actually happens is during make, after it has downloaded and extracted various stuff.
The last one is translations file.
Then it goes on building concat-deps, and linking fails:
[build C  ] solenv/bin/concat-deps.c
[build LNK] Executable/concat-deps
ld: fatal: unrecognized option '-O'
ld: fatal: unrecognized option '-1'
ld: fatal: use the -z help option for usage information
collect2: error: ld returned 1 exit status
Maybe just concat-deps have problems linking with wrong options on Solaris?
Also, strange, but build goes on anyway, like:
[build YAC] unoidl/source/sourceprovider-parser
[build LEX] unoidl/source/sourceprovider-scanner
[build CAT] officecfg_qa_allheaders.hxx
[build XSL] CustomTarget/officecfg/registry/officecfg/FirstStartWizard.hxx
......
......
...................[long list of build stuff, until it reaches here].................
[build CMP] scripting/java/ScriptProviderForBeanShell
[build CMP] scripting/java/ScriptProviderForJavaScript
make[2]: *** No rule to make target 
`/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/workdir/LinkTarget/Executable/concat-deps',
 needed by 
`/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/workdir/Module/nonl10n/solenv'.
  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 
`/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2'
make[1]: *** [build] Error 2
make[1]: Leaving directory 
`/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2'
gmake: *** 
[/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/build/i86/.built] Error 2
Obviously the last error is because we have no concat-deps binary :)
I tried to look at the place where it builds concat-deps, but it's not easy to figure it out....
BTW, is there any way to issue gmake and let it show what command "LNK" is doing?
It tried forcing a "-n" but I did not get the command debugged....
Thanks again!
Gabriele.
----------------------------------------------------------------------------------
Da: Norbert Thiebaud
A: gbulfon@sonicle.com
Cc: Michael Stahl
libreoffice
Richard PALO
Data: 17 gennaio 2015 14.56.18 CET
Oggetto: Re: 4.4.0.1 build error on sal/types.h on solaris/illumos
On Sat, Jan 17, 2015 at 5:07 AM, Gabriele Bulfon
wrote:
Looks like 4.4.0.2 has this solaris ld patch already applied.
I strongly believe gmake is not using the solaris.mk file.
How can I verify if configure/make is really taking the solaris.mk platform?
In gbuild.mk we include
platform/$(OS)_$(CPUNAME)_$(COM).mk
verify in your config_host.mk tht these resolve to
SOLARIS,INTEL and GCC respectively
SOLARIS_INTEL_GCC.mk just include platform/solaris.mk
Norbert

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.