This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug plugins/86358] New: Plugin extension not stripped on Mac OS due to use of strip_off_ending()
- From: "boris at kolpackov dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Jun 2018 05:58:13 +0000
- Subject: [Bug plugins/86358] New: Plugin extension not stripped on Mac OS due to use of strip_off_ending()
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86358
Bug ID: 86358
Summary: Plugin extension not stripped on Mac OS due to use of
strip_off_ending()
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: plugins
Assignee: unassigned at gcc dot gnu.org
Reporter: boris at kolpackov dot net
Target Milestone: ---
As of GCC 8, the default plugin extension on Mac OS is .dylib. However, the
plugin machinery uses strip_off_ending() to remove the extension which
(bizarrely, I must say) is only capable of stripping extensions that are 3
characters or less.