Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 17:52:30 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        Tijl Coosemans <tijl@coosemans.org>, Jung-uk Kim <jkim@freebsd.org>
Cc:        Dimitry Andric <dim@freebsd.org>, freebsd-office@freebsd.org, Martin Wilke <miwi@freebsd.org>
Subject:   Re: Fwd: libreoffice-4.0.1_1 failed on i386 8
Message-ID:  <CADLo838YDRTCQpaW4tOkEizjG%2BekcdMAPQ5r8p2VG1xUZqw1tQ@mail.gmail.com>
In-Reply-To: <5166E5A2.3010708@coosemans.org>
References:  <5166E5A2.3010708@coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 April 2013 17:32, Tijl Coosemans <tijl@coosemans.org> wrote:
> On 2013-04-02 06:52, Martin Wilke wrote:
>> Begin forwarded message:
>>
>>> Excerpt from the build log at
>>>
>>> http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8.20130402010859.pointyhat/libreoffice-4.0.1_1.log
>>>
>>>  [... lines trimmed ...]
>>>
>>> [build CXX] sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
>>> [build CXX] sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
>>> [build LNK] StaticLibrary/libooopathutils.a
>>> [build LNK] Library/libuno_sal.so
>>> [build LNK] StaticLibrary/libcodemaker_cpp.a
>>> [build LNK] StaticLibrary/libcodemaker.a
>>> [build CXX] registry/tools/fileurl.cxx
>>> [build CXX] registry/tools/options.cxx
>>> aclocal-1.12: warning: autoconf input should be named 'configure.ac', not 'configure.in'
>>> local symbol 0: discarded in section `.text._ZN3osl5MutexD1Ev' from /tmp/lobuild/workdir/unxfbsdi.pro/CxxObject/sal/rtl/source/logfile.o
>>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>
> After a bit of googling I found similar errors reported here:
> http://llvm.org/bugs/show_bug.cgi?id=9758
>
> That page says it's a bug in ld fixed here:
> http://sourceware.org/ml/binutils-cvs/2004-06/msg00130.html
> http://sourceware.org/ml/binutils-cvs/2004-07/msg00002.html (fixup)
>
> The first patch was also submitted here:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu/161869
>
> Libreoffice is built with clang from ports but that still uses ld
> from base which is quite old on FreeBSD 8. I think it's too late
> and too risky to start patching binutils in stable/8 and releng/8.4
> now (Dimitry?), so maybe it's best to build Libreoffice on 8.x with
> ports gcc (which uses ports binutils). See attached patch.

I've copied in Jung-uk Kim directly, because he's the main one to ask
on the Libreoffice build.

It certainly looks familiar to me forcing gcc, and it's usually worked
well for me in the past.  I think most people will be relieved to have
a Libreoffice that works, and gcc is a price worth paying.

Jung-uk Kim, is that OK with you?

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838YDRTCQpaW4tOkEizjG%2BekcdMAPQ5r8p2VG1xUZqw1tQ>