GNU bug report logs -
#67754
tags for objc and objcxx
Previous Next
Reported by: Karl Berry <karl <at> freefriends.org>
Date: Sun, 10 Dec 2023 18:07:02 UTC
Severity: normal
Done: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 13 Feb 2025 17:51:16 +0200
with message-id <7bca09ac-d7f8-4dd4-be78-d2cf6b69f3c2 <at> gmail.com>
and subject line Re: bug#67754: tags for objc and objcxx
has caused the debbugs.gnu.org bug report #67754,
regarding tags for objc and objcxx
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
67754: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67754
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi (is there anyone maintaining libtool nowadays? Alex, are you there?) -
I just installed the patch below to Automake, passing the OBJC and
OBJCXX tags to libtool for the respective languages. It would be good if
libtool recognized those tags.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67539
The reason to pass them before being recognized by libtool is to
avoid an immediate fatal error, as explained in that bug.
The libtool manual says (line 2930):
[...] can't infer
a tag, then it defaults to the configuration for the @code{C} language.
But clearly this is no longer the case, which seems like a good
thing. Thus I suggest replacing that text with something like:
[...] can't infer
a tag, then it exits immediately with a fatal error.
Happy hacking,
Karl
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -739,6 +739,7 @@ register_language ('name' => 'objc',
'compiler' => 'OBJCCOMPILE',
'compile_flag' => '-c',
'output_flag' => '-o',
+ 'libtool_flag' => 'OBJC',
'lder' => 'OBJCLD',
'ld' => '$(OBJC)',
'pure' => 1,
@@ -757,6 +758,7 @@ register_language ('name' => 'objcxx',
'compiler' => 'OBJCXXCOMPILE',
'compile_flag' => '-c',
'output_flag' => '-o',
+ 'libtool_flag' => 'OBJCXX',
'lder' => 'OBJCXXLD',
'ld' => '$(OBJCXX)',
'pure' => 1,
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
The tagging for objc and objcxx has been moved to master [1], so closing.
[1]
https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=1d871cc45bf13c643c61d3d368b50d7e3455c0b8
--
Ileana Dumitrescu
GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
[OpenPGP_0x6570EA01146F7354.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 176 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.