Hi Anton, On 03/07/2024 16:40, Shterenlikht, Anton wrote:
Hello IleanaIt seems your original patch is good,
To make sure I understand, is the original patch that worked for you the one applied here: https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=master&id=33d4b69fccbbb557c1160cc46c3d8d2f30fb8a2d Or is it the one below: --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@@ -4805,7 -4805,7 +4805,7 @@@ m4_if([$1], [CXX], _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; -- *flang) ++ *flang* | ftn*) # Flang compiler. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
provided I add autoreconf -fiv -Wall or similar. My problem was in building netcdf. However, on closer inspection, I noticed that the patched libtool was not picked up, for some reason: 40 # Which release of libtool.m4 was used? 41 macro_version=2.4.7 42 macro_revision=2.4.7 However, adding the "autoreconf" step seems to have fixed that: 39 # Which release of libtool.m4 was used? 40 macro_version=2.5.0.21-cc511 41 macro_revision=2.5.0.21
I am glad you found a solution! I will remember this for when someone else is having trouble testing an applied patch. -- Ileana Dumitrescu GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
OpenPGP_0x6570EA01146F7354.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature