4.4.0.1 build error on sal/types.h on solaris/illumos
Gabriele Bulfon
gbulfon at sonicle.com
Sun Jan 18 10:18:45 PST 2015
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150118/a84d93e9/attachment.html>
More information about the LibreOffice
mailing list