[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cygwin libtool confused about link library
From: |
JonY |
Subject: |
Cygwin libtool confused about link library |
Date: |
Sun, 1 Mar 2020 13:02:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 3/1/20 11:00 AM, Marco Atzeri wrote:
>>
>> Last file checked: /lib/libpthread.a
>>
>> Is that correct? Do you have the complete command line? Is this
>> happening on both archs or just i686?
>>
>
> both archs.
> The error is likely coming from libtool and it is valid for all the 3
> libraries "-lpthread -lrt -ldl" , so I assume the current binutils is
> providing some feedback different than in the past to libtool
>
> I tested again the build of gdal-3.0.2-2 that before the
> update of gcc and binutils was working fine.
>
> I shorted the command line as the amount of object is very very large:
>
> /bin/sh
> /cygdrive/d/cyg_pub/devel/gdal/prova302/gdal-3.0.2-2.x86_64/build/libtool
> --mode=link
> --silent g++ -lcrypto -ljson-c -lqhull -L/usr/lib -lgeos_c -lwebp
> -lsqlite3 -lodbc32 -lodbccp32 -lexpat -lopenjp2 -L/usr/lib -lnetcdf
> -lhdf5 -lgif -ljpeg -lgeotiff -ltiff -lpng -lcfitsio -lpq -lproj -lz
> -lpthread -lrt -ldl -lws2_32 -lpsapi -lpcre -lcurl -liconv -L/usr/lib
> -lxml2 -lz -llzma -liconv -lm -o libgdal.la ./ogr/gml2ogrgeometry.lo
> ./ogr/ogr2gmlgeometr
> y.lo ./ogr/ogr_api.lo ......
>
> /cygdrive/d/cyg_pub/devel/gdal/prova302/gdal-3.0.2-2.x86_64/build/third_party/o/RLE.lo
> \
> -rpath /usr/lib \
> -no-undefined \
> -version-info 26:2:0
>
I was a bit confused for a moment, but this looks like the cygwin
builds, not cross compiles.
My current (horrible hack)workaround is to edit the libtool script, change:
deplibs_check_method="pass_all"
Hello libtool folks,
Any ideas about this? Something confused the file magic command?
dlltool --identify does show libdl.a is associated with cygwin1.dll for
example.
signature.asc
Description: OpenPGP digital signature
- Cygwin libtool confused about link library,
JonY <=