[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange build failure for cygwin32 in CI
From: |
Patrice Dumas |
Subject: |
Re: strange build failure for cygwin32 in CI |
Date: |
Fri, 11 Oct 2024 15:21:58 +0200 |
On Fri, Oct 11, 2024 at 04:12:05PM +0300, Eli Zaretskii wrote:
> > Date: Fri, 11 Oct 2024 14:36:24 +0200
> > From: Patrice Dumas <pertusus@free.fr>
> > Cc: bug-texinfo@gnu.org
> >
> > On Fri, Oct 11, 2024 at 08:27:10AM +0300, Eli Zaretskii wrote:
> >
> > > P.S. Is libtexinfo.dll.a under ./.libs or under ./main/.libs ? IOW,
> > > are there indeed two separate .libs subdirectories involved? If not,
> > > maybe that's your problem.
> >
> > All the lib*.la, and also the .so dlopened by Perl are in ./.libs.
> > The source files and .o may be in the tp/Texinfo/XS directory or (more
> > often) in tp/Texinfo/XS subdirectories. Why would there be an issue if
> > there are not two directories?
>
> I was wondering why in the command you quoted:
>
> > libtool: link: gcc -shared main/.libs/libtexinfoxs_la-build_perl_info.o
> > main/.libs/libtexinfoxs_la-get_perl_info.o
> > main/.libs/libtexinfoxs_la-options_get_perl.o
> > -L/usr/lib/perl5/5.32/i686-cygwin-threads-64int/CORE -lperl
> > ./.libs/libtexinfo.dll.a -ggdb -O2 -fstack-protector-strong -O3 -o
> > .libs/cygtexinfoxs-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib
> > -Xlinker .libs/libtexinfoxs.dll.a
>
> the object files *.o appear with main/.libs/ as the leading directory,
> while libtexinfo.dll.a appears with ./.libs/ instead. If there's only
> one .libs directory, maybe this is the reason for the problem?
I don't think so, the object files are in main/.libs/ (or other
subdirectories) while the libraries and dlopened objects are in .libs,
but this is not an issue, the linker can use object files from the
subdirectories and put them in the .libs directory.
--
Pat