513 Commits

Author SHA1 Message Date
Ileana Dumitrescu
35c2e69211
ltmain.in: Recognise options for static linking with Clang
Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78072

* build-aux/ltmain.in: Add --static and -Bstatic options.
* NEWS: Update.
2026-01-03 17:57:34 +02:00
Ileana Dumitrescu
ce3174cfb0
Update NEWS for commit 7430a961fa003c3dd69b9f7ab724f7ba74c876ed 2026-01-02 22:13:57 +02:00
Ileana Dumitrescu
e5a2f648e6
Update NEWS 2026-01-02 22:12:42 +02:00
Ileana Dumitrescu
8ef98efc57
libtool: Update copyright year 2026-01-02 20:10:29 +02:00
Ileana Dumitrescu
65b0515dc5
maint: post-release administrivia
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2025-09-18 18:21:55 +03:00
Ileana Dumitrescu
c7b6fc4b84
version 2.6.0
* NEWS: Record release date.
2025-09-18 18:21:48 +03:00
Ileana Dumitrescu
41e81b7b96
Add support for ML64
The Microsoft Macro Assembler can be used to assemble and link one
or more assembly-language source files with libtool.

Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48993

* Makefile.am: Pass ML64 flags to tests.
* configure.ac: Add language support for the Microsoft Macro Assembler.
* doc/libtool.texi: Update documentation to include ML64.
* m4/libtool.m4: Enable macro support for ML64.
* tests/flags.at: Add test for ML64 flags.
* tests/infer-tag.at: Add test for ML64 tag.
* NEWS: Update.
2025-08-21 18:01:39 +03:00
Ileana Dumitrescu
64f31f45db
New Intel OneAPI compiler names
Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78817

* libltdl/libltdl/lt__alloc.h: Change FREE and MEMREASSIGN macros for
  -Wcompound-token-split-by-macro.
* libltdl/libltdl/lt_system.h: Change LT_STMT_START and LT_STMT_END
  macros for -Wcompound-token-split-by-macro.
* libltdl/loaders/loadlibrary.c: Add support for icx, icpx, ifx.
* libltdl/ltdl.c: Fixes for Clang.
* m4/libtool.m4: Add support for icx, icpx, and ifx.
* NEWS: Update.
2025-08-13 19:44:19 +03:00
Ileana Dumitrescu
f52ed216f8
Update NEWS 2025-08-05 19:36:25 +03:00
Ileana Dumitrescu
ee808d3f30
NEWS: Update for previous commits 2025-05-19 19:42:34 +03:00
Ileana Dumitrescu
796e497ce6
NEWS: Update for previous commit 2025-05-02 21:39:00 +03:00
Ileana Dumitrescu
07adb5007d
NEWS: Update for bugs fixed 2025-04-15 17:32:50 +03:00
Ileana Dumitrescu
a390f27ff1
libtool: Add configuration options for CXX linking
Add configuration options to choose whether to use '-nostdlib' when
linking C++ shared libraries and modules.

* m4/libtool.m4: Replace '-nostdlib' with variable '$stdlibflag' and
  set '$output_verbose_link_cmd' to be empty when enabling standard
  library linking for C++ modules.
* m4/ltoptions.m4: Add new configuration options, --enable-cxx-stdlib
  and --disable-cxx-stdlib, and add LT_INIT options, cxx-stdlib and
  no-cxx-stdlib.
* doc/libtool.texi: Update for new configuration options.
* NEWS: Update.
2025-03-28 18:34:23 +02:00
Ileana Dumitrescu
017e1cf9b3
NEWS: Update for commit c41501afc371842ceccecd8bd6586f8fb85a37c2 2025-02-26 22:07:17 +02:00
Ileana Dumitrescu
4f7704015b
libtool.m4: Fix replacement of postdeps in NetBSD
Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70978

* m4/libtool.m4: Remove 'gcc_s' postdeps, not only 'gcc'.
* NEWS: Update.
2025-02-11 18:04:45 +02:00
Ileana Dumitrescu
7b49ee14f9
ltmain.in: Increase revision limit to 19 digits
Current, age, and revision values for a library seem to have been chosen
arbitrarily, which is limiting users to a 5 digit maximum. Now, users
can set revision to at most 19 digits, which is referencing Unix epoch
time in nanoseconds.

Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75880

* build-aux/ltmain.in: Update revision check to allow up to 19 digits.
* tests/versioning.at: Add more version checks to test.
* NEWS: Update.
2025-01-28 16:35:31 +02:00
Ileana Dumitrescu
5638a56f2f
NEWS: Update for previous commit 2025-01-13 19:52:33 +02:00
Ileana Dumitrescu
c010d1e93f
libtool: Add tagging support for OBJC and OBJCXX
Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67754

* Makefile.am: Set environment variables for tests.
* configure.ac: Add language support for Objective-C and Objective-C++.
* build-aux/ltmain.in: Update help message for tags available.
* m4/libtool.m4: Add tagging support for OBJC and OBJCXX.
* tests/flags.at: Add tests for passing OBJC and OBJCXX flags.
* tests/infer-tag.at: Add tests for inferring OBJC and OBJCXX tags.
* doc/libtool.texi: Update documentation.
* NEWS: Update.
2025-01-13 17:33:50 +02:00
Ileana Dumitrescu
74e6c3a828
libtool: Update copyright year 2025-01-02 16:47:53 +02:00
Ileana Dumitrescu
0fe02ce4c5
maint: post-release administrivia
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2024-11-20 22:34:36 +02:00
Ileana Dumitrescu
f8e4352439
version 2.5.4
* NEWS: Record release date.
2024-11-20 22:34:29 +02:00
Ileana Dumitrescu
5777fd1c19
NEWS: Update for previous commit 2024-11-20 20:43:18 +02:00
Ileana Dumitrescu
65c7b93ad7
NEWS: Update for recent commits 2024-11-19 21:31:53 +02:00
Ileana Dumitrescu
f4345d86aa
libtool: Fix --no-warnings flag
Passing --no-warnings to libtool would not suppress warning messages.

* build-aux/ltmain.in: Add 'opt_warning' check before printing out
  warning messages.
* tests/libtool.at: Add simple test for '--no-warnings'.
* NEWS: Update.
2024-11-18 20:19:57 +02:00
Ileana Dumitrescu
92725b31eb
libtool: Rename and reduce to one option, '--no-finish'
'--test' and '--check' options caused confusion with the previous
naming, so it has been updated to '--no-finish' for skipping
finish_cmds.

* build-aux/ltmain.in: Replace option names.
* doc/libtool.texi: Update.
* NEWS: Update.
2024-11-14 20:14:22 +02:00
Ileana Dumitrescu
09e89cc28d
libtool.m4: Fix '-Fe' usage with linking in MSVC
A space after '-Fe' treats a file name as an input file instead of
as the intended output file.

* m4/libtool.m4: Remove space after '-Fe'.
* NO-THANKS: Add Kirill Makurin for bug report 74175.
* NEWS: Update.
2024-11-13 21:45:08 +02:00
Ileana Dumitrescu
0a1e894220
libtool: Add option to reorder the shared library cache
Add option to reorder the shared library cache in OpenBSD so that user
preferred directories for shared libraries can be used when linking
before directories previously listed in the shared library cache.

This allows for users in OpenBSD to easily switch between versions of
libraries with the same name during testing.

* NEWS: Update for new (OpenBSD) option.
* build-aux/ltmain.in: Add option --reorder-cache=DIRS.
* doc/libtool.texi: Update documentation for new option.
* test/bug_71489.at: Alter test for OpenBSD to utilize new option.
2024-11-12 20:17:11 +02:00
Ileana Dumitrescu
3996b1fddc
libtool: Fix local testing of shared libraries on OpenBSD
On OpenBSD 7.5, the shared library cache is updated with finish_cmds,
which causes the test for 'Use local version' to fail. Simply, installed
versions of shared libraries take precedence over those locally built.

To ensure local versions of shared libraries can be tested properly and
more easily, additional options have been added to libtool to skip
executing finish_cmds, like 'ldconfig -m $libdir' in OpenBSD.

* build-aux/ltmain.in: Add libtool options, '--test' and '--check'.
* doc/libtool.texi: Document new options in libtool.
* NEWS: Update for bug fix.
2024-11-07 17:01:47 +02:00
Ileana Dumitrescu
c165beaa8e
Update NEWS for previous commit 2024-10-25 19:42:14 +03:00
Ileana Dumitrescu
2307e56df3
Update NEWS for recent commits 2024-10-25 16:21:40 +03:00
Ileana Dumitrescu
0e5ef3c259
Update NEWS for recent commits 2024-10-18 17:35:03 +03:00
Ileana Dumitrescu
6dd1550cf2
Update NEWS for previous commit 2024-10-15 18:03:27 +03:00
Ileana Dumitrescu
e4198afeeb
Apply simpler solution for bug#73672
* libltdl/ltdl.mk: Replace conditional with LT_DOLLAR_SIGN for
  LT_ARGZ_H_PATH variable.
* m4/ltargz.m4: Add AC_SUBST for LT_ARGZ_H_PATH to set source path
  to LT_ARGZ_H file.
* NEWS: Remove additional spacing.
2024-10-11 16:42:03 +03:00
Ileana Dumitrescu
5bbdb09509
Update NEWS for previous commit 2024-10-10 17:19:09 +03:00
Ileana Dumitrescu
80a1435290
Update NEWS and NO-THANKS for previous commit
* NEWS: List additional bug fix.
* NO-THANKS: Add 'Michael Pratt' for bug#73672 contribution.
2024-10-10 17:10:48 +03:00
Joshua Root
35edf20d65
libtool.m4: Update '-single_module' detection
'-single_module' detection is broken with Xcode 15, where a message to
stderr indicates the flag is deprecated, not unsupported.

* m4/libtool.m4: Check macOS versions to see if '-single_module' flag is
  unnecessary.
2024-10-03 18:52:30 +03:00
Ileana Dumitrescu
b38b010bd4
maint: post-release administrivia
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2024-09-25 19:12:25 +03:00
Ileana Dumitrescu
dd93fb8d1c
version 2.5.3
* NEWS: Record release date.
2024-09-25 19:12:19 +03:00
Ileana Dumitrescu
951c0510a3
Update tests without aclocal to expect failure
Five tests use aclocal, but do not have a check for whether aclocal is
available to use. This causes reported tests failures in Linux From
Scratch and Darwin builds.

* tests/standalone.at: Add AT_XFAIL_IF check for aclocal for all tests.
* tests/subproject.at: Add AT_XFAIL_IF check for aclocal for last test.
2024-09-25 16:32:59 +03:00
Ileana Dumitrescu
0678589f95
Update NEWS for recent changes 2024-09-18 17:14:22 +03:00
Ileana Dumitrescu
fe7914feeb
Update NEWS for recent changes 2024-09-13 20:15:28 +03:00
Bruno Haible
8d3a91a185
Rename option --with-aix-soname to --enable-aix-soname.
Reported at <https://savannah.gnu.org/support/index.php?110674>.

* doc/libtool.texi (LT_INIT): Talk about --enable-aix-soname instead of --with-aix-soname.
* m4/ltoptions.m4 (_LT_WITH_AIX_SONAME): Use AC_ARG_ENABLE instead of
AC_ARG_WITH. In the default case, use _AC_ENABLE_IF, in order to still
recognize the old option --with-aix-soname.
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Update comment.
* configure.ac: Update comment.
* NEWS: Mention the change.
2024-09-03 20:19:39 +03:00
Bruno Haible
33cf00bb22
Rename option --with-pic to --enable-pic.
Reported at <https://savannah.gnu.org/support/index.php?110674>.

* doc/libtool.texi (LT_INIT): Talk about --enable-pic instead of
--with-pic, and about --disable-pic instead of --without-pic.
(Test descriptions): Likewise.
* m4/ltoptions.m4 (_LT_WITH_PIC): Use AC_ARG_ENABLE instead of
AC_ARG_WITH. In the default case, use _AC_ENABLE_IF, in order to still
recognize the old options --with-pic and --without-pic.
* tests/demo.at: Add a test for --enable-pic, keeping the test for
--with-pic. Test '--disable-pic' instead of '--with-pic=no'.
* tests/with-pic.at: Test --enable-pic instead of --with-pic.
* NEWS: Mention the change.
2024-09-03 20:19:20 +03:00
Ileana Dumitrescu
5063ac2e4f
maint: post-release administrivia
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2024-08-29 18:28:44 +03:00
Ileana Dumitrescu
b4824bb399
version 2.5.2
* NEWS: Record release date.
2024-08-29 18:28:38 +03:00
Ileana Dumitrescu
8dceb08f56
Update NEWS for recent changes 2024-08-27 18:16:39 +03:00
Ileana Dumitrescu
e96f50271f
Update NEWS for 32-bit mode on FreeBSD/powerpc64 support 2024-08-27 17:15:36 +03:00
Ileana Dumitrescu
8ee9da7fec
maint: post-release administrivia
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2024-07-25 18:30:26 +03:00
Ileana Dumitrescu
2c3b8eceb9
version 2.5.1
* NEWS: Record release date.
2024-07-25 18:30:20 +03:00
Ileana Dumitrescu
e5d0d3aae0
NEWS: Update for recent changes 2024-07-19 19:18:31 +03:00