This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/79046] New: g++ -print-file-name=plugin uses full version number in path
- From: "davejohansen at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jan 2017 17:24:44 +0000
- Subject: [Bug other/79046] New: g++ -print-file-name=plugin uses full version number in path
- Auto-submitted: auto-generated
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.