GNU bug report logs - #62343
libtool removes the "-no-canonical-prefixes" linker flag

Previous Next

Package: libtool;

Reported by: Carlos Galvez <carlosgalvezp <at> gmail.com>

Date: Tue, 21 Mar 2023 15:37:04 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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#62343: closed (libtool removes the "-no-canonical-prefixes"
 linker flag)
Date: Thu, 18 Apr 2024 16:50:06 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 18 Apr 2024 19:48:51 +0300
with message-id <4ceee678-9d9c-4d9e-b6f1-d6c772176964 <at> gmail.com>
and subject line Re: bug#62343: libtool removes the "-no-canonical-prefixes" linker
has caused the debbugs.gnu.org bug report #62343,
regarding libtool removes the "-no-canonical-prefixes" linker flag
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
62343: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62343
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Carlos Galvez <carlosgalvezp <at> gmail.com>
To: bug-libtool <at> gnu.org
Subject: libtool removes the "-no-canonical-prefixes" linker flag
Date: Tue, 21 Mar 2023 15:29:59 +0100
[Message part 3 (text/plain, inline)]
Hi!

I'm using libtool 2.4.6. I realize that it's removing a very important
linker flag, making my linking fail.

The command I send is:

../../libtool  --tag=CC   --mode=link /path/to/gcc -no-canonical-prefixes
<other_flags> <object_files>...

And what libtool prints is:

libtool: link: /path/to/gcc -shared <other_flags> <object_files> ...

Why is the "-no-canonical-prefixes" flag removed from the linking command?
If I manually execute linking outside libtool, and add the required flag,
linking works successfully.

Thanks!
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 62343-done <at> debbugs.gnu.org
Subject: Re: bug#62343: libtool removes the "-no-canonical-prefixes" linker
Date: Thu, 18 Apr 2024 19:48:51 +0300
[Message part 6 (text/plain, inline)]
Thank you for the bug report! libtool should pass the
"-no-canonical-prefixes" flag to the linker now.

-- 
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 1 year and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.