This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/79046] New: g++ -print-file-name=plugin uses full version number in path


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79046

            Bug ID: 79046
           Summary: g++ -print-file-name=plugin uses full version number
                    in path
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: davejohansen at gmail dot com
  Target Milestone: ---

Created attachment 40493
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40493&action=edit
gcc patch for version from OpenSUSE

g++ -print-file-name=plugin uses the full version number in the path when just
the major version number is all that's required for compatibility. This means
that plugins have to require the specific version of gcc and have to be rebuild
after every update to gcc. For what it's worth, gcc on Ubuntu and OpenSUSE have
already made this change and I've attached the patch from OpenSUSE that I
believe does the change.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]