On 25 Aug, Don Lewis wrote:
> On 25 Aug, Don Lewis wrote:
>> On 25 Aug, Pedro Lino wrote:
>>> 
>>>> On 08/25/2020 8:35 PM Don Lewis <truck...@apache.org> wrote:
>>> 
>>>> Try deleting /opt/openoffice4/program/libgcc_s.so.1
>>>> For some reason that bogus file is getting packaged by your build.
>>> 
>>> Yep. That fixed it. It doesn't make any sense to me that an extra file
>>> prevents the program from working... Maybe this is part of some
>>> forgotten/abandoned code?
>> 
>> That file is in the shared library search path.  When you try to start a
>> program, it is being found instead of the correct shared library file
>> under /lib, causing the runtime linker to blow a gasket.
>> 
>>> But the file is checked during compiling. If the file is not present,
>>> building "postprocess" will fail...
>>> 
>>> I will try building with --with-system-stdlibs
>>> 
>>> Thank you for the tips and fixes!
> 
> I dug into this a bit more.  It turns out that the bogus copy of
> libgcc_s.so.1 is a linker script and not a shared library.   Linker 
> scripts are a failrly new thing, which is why we haven't run into this
> before.  The build code that is grabbing this file was removed from
> trunk and AOO42X a few years ago, which is why you didn't see the
> problem with those versions.  I've cherry-picked the fix and will push
> it to AOO418 after I've had a chance to test it.

I just updated AOO418 with the fix.  You should be able to successfully
build and run --without-system-stdlibs.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to