bug#78682: Building libltdl with MSVC fails
Kirill Makurin <[email protected]> Thu, 5 Jun 2025 17:21:05 +0000
| Newsgroups | gmane.comp.gnu.libtool.bugs |
|---|---|
| Message-ID | <DM4PR84MB137352245D21A6B2B43F1E94B16FA@DM4PR84MB1373.NAMPRD84.PROD.OUTLOOK.COM> |
--_000_DM4PR84MB137352245D21A6B2B43F1E94B16FADM4PR84MB1373NAMP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If I look at output from configure... When configure checks for Fortran compiler, it finds mingw's gfortran: ``` checking for gfortran... gfortran ``` And then: ``` checking whether the gfortran linker (link.exe -nologo) supports shared lib= raries... yes checking dynamic linker characteristics... Win32 ld.exe ``` Could this be the cause? - Kirill Makurin ________________________________ From: Ileana Dumitrescu Sent: Friday, June 6, 2025 1:21 AM To: [email protected] Cc: Kirill Makurin Subject: Re: bug#78682: Building libltdl with MSVC fails On 05/06/2025 19:07, Kirill Makurin wrote: > I will submit a separate bug report for issue with clang-cl. Thank you! > I'm setting NM=3D"dumpbin.exe -nologo -symbols", this works for all > packages I tried to build so far. Okay, if you do try it, I would be interested to see if the behaviour changes. > I'm building multiple GNU packages with a script which invokes > `configure` -> `make` -> `make check` -> `make install DESTDIR=3D...` for > each package. > > I attached gziped output from both `configure` and `make`. (building > from development branch) Thank you for the logs! I will look through them and see if I can reproduce your issue. -- Ileana Dumitrescu GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354 --_000_DM4PR84MB137352245D21A6B2B43F1E94B16FADM4PR84MB1373NAMP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head> <body dir=3D"ltr"> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> If I look at output from configure...</div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> <br> </div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> When configure checks for Fortran compiler, it finds mingw's gfortran:</div= > <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> <br> </div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> ```</div> <div class=3D"elementToProof" style=3D"line-height: 19px; font-family: Apto= s, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;= font-size: 12pt; color: rgb(0, 0, 0);"> checking for gfortran... gfortran</div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> ```</div> <div id=3D"appendonsend"></div> <div class=3D"elementToProof"><br> </div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> And then:</div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> <br> </div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> ```</div> <div class=3D"elementToProof" style=3D"line-height: 19px; font-family: Apto= s, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;= font-size: 12pt; color: rgb(0, 0, 0);"> checking whether the gfortran linker (link.exe -nologo) supports share= d libraries... yes</div> <div class=3D"elementToProof" style=3D"line-height: 19px; font-family: Apto= s, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;= font-size: 12pt; color: rgb(0, 0, 0);"> checking dynamic linker characteristics... Win32 ld.exe</div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> ```</div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> <br> </div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> Could this be the cause?</div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> <br> </div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c= olor: rgb(0, 0, 0);"> - Kirill Makurin</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <hr style=3D"display: inline-block; width: 98%;"> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <b>From:</b> Ileana Dumitrescu<br> <b>Sent:</b> Friday, June 6, 2025 1:21 AM<br> <b>To:</b> [email protected]<br> <b>Cc:</b> Kirill Makurin<br> <b>Subject:</b> Re: bug#78682: Building libltdl with MSVC fails </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-size: 11pt;">On 05/06/2025 19:07, Kirill Makurin wrote:<= br> > I will submit a separate bug report for issue with clang-cl.<br> <br> Thank you!<br> <br> > I'm setting NM=3D"dumpbin.exe -nologo -symbols", this works = for all<br> > packages I tried to build so far.<br> <br> Okay, if you do try it, I would be interested to see if the behaviour<br> changes.<br> <br> > I'm building multiple GNU packages with a script which invokes<br> > `configure` -> `make` -> `make check` -> `make install DESTDI= R=3D...` for<br> > each package.<br> ><br> > I attached gziped output from both `configure` and `make`. (building<b= r> > from development branch)<br> <br> Thank you for the logs! I will look through them and see if I can<br> reproduce your issue.<br> <br> --<br> Ileana Dumitrescu<br> <br> GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354<br> <br> </div> </body> </html> --_000_DM4PR84MB137352245D21A6B2B43F1E94B16FADM4PR84MB1373NAMP_--