[Bug plugins/86358] New: Plugin extension not stripped on Mac OS due to use of strip_off_ending()

boris at kolpackov dot net gcc-bugzilla@gcc.gnu.org
Fri Jun 29 05:58:00 GMT 2018


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.


More information about the Gcc-bugs mailing list