Cygwin libtool confused about link library
JonY <[email protected]>
| Newsgroups | gmane.comp.gnu.libtool.general,gmane.os.cygwin |
|---|---|
| Message-ID | <[email protected]> |
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
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5QrdnbBX9Ppk4bbPcTtf4pwUXUUFAl5bslAACgkQcTtf4pwU XUVmuA/+M+fa4gQaCHv2aZSht4mb1b0+JFVqzIYGEY2t0BSR13k3mzS+TINXw9k5 QyQQ5k2qta5BVyUahiNN0ZQH5pGi8ImoSLrfP89s+emFnGHrdt9xo96+kfGPr8V3 R3IdW9CsNBB89zjxVgrx0iXkH2oOIeXIet2M5UwGjZe0x9ZjInbBqCiwp2SCz4Uv NTL5J7lSaTATsNthGxOd5FG3Kv2CXm503FGM/exIdBN7lDIOYTQLV0qBVvjI/OJd NXKZ/StWHqZlLDKupbJ25TyEPod5LP582NB5Meo39ICMDe8FJ2ugJwfOwzlZouw3 V3Xh3T5iHvmnGGNTYlIBH7YcLbtfjTROw38TtKu1zhuCn/NFvL1bTZPnqyoB2Sfz Mty2lftvgLLiX7iBCCVwQF/7SUjEmggk64GJtYQc8TRnELQqBUplKuwrMjKEOccp ysGrEdtYaDTqyxWoUl9MkvmmosUTkJW3wlSk0jdBJ5NJKueRPDoG5ZyRmOES1b6D A5KyhkbMoM831/coyRmxn2kSoONGmJs2ZvhhBZyG4iRkuExRykkkhvo2+4/nGTh2 tW3QHBI6WnNhcwJd3E0gyvp24tXoO2IXeJgQIvuIu0hqtNJiz7XryQSI1dKtKr4g p0yy8mlIhfikGNvqipX/Ym6d8sBCfVVKOaMajv0sHG8ChQX7UiQ= =eP9j -----END PGP SIGNATURE-----