public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug plugins/107136] New: File cp-trait.def not found in kernel build
@ 2022-10-03 18:14 dcb314 at hotmail dot com
2022-10-03 18:15 ` [Bug plugins/107136] " dcb314 at hotmail dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2022-10-03 18:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
Bug ID: 107136
Summary: File cp-trait.def not found in kernel build
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: plugins
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
I've just been having a go at compiling the new linux-6.0 kernel
with a recent trunk gcc. I get
/home/dcb/gcc/results.20221003/lib/gcc/x86_64-pc-linux-gnu/13.0.0/plugin/include/c-family/c-common.h:172:10:
fatal error: cp/cp-trait.def: No such file or directory
but
$ find /home/dcb/gcc/results.20221003 -name cp-trait.def -print
$
so it looks like that file isn't installed. But
[/home/dcb/gcc/trunk.git] $ find . -name cp-trait\* -print
./gcc/cp/cp-trait.def
[/home/dcb/gcc/trunk.git] $
so the file does exist in trunk.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug plugins/107136] File cp-trait.def not found in kernel build
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
@ 2022-10-03 18:15 ` dcb314 at hotmail dot com
2022-10-03 18:19 ` pinskia at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2022-10-03 18:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppalka at gcc dot gnu.org
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Adding author of the source code file for their best advice.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug plugins/107136] File cp-trait.def not found in kernel build
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
2022-10-03 18:15 ` [Bug plugins/107136] " dcb314 at hotmail dot com
@ 2022-10-03 18:19 ` pinskia at gcc dot gnu.org
2022-10-03 18:20 ` [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport pinskia at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-03 18:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|12.0 |13.0
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I wish plugins API would finally be stable or rather Linux not use Plugins.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
2022-10-03 18:15 ` [Bug plugins/107136] " dcb314 at hotmail dot com
2022-10-03 18:19 ` pinskia at gcc dot gnu.org
@ 2022-10-03 18:20 ` pinskia at gcc dot gnu.org
2022-10-03 18:22 ` pinskia at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-03 18:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |13.0
Component|plugins |c++
Keywords| |plugin
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
` (2 preceding siblings ...)
2022-10-03 18:20 ` [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport pinskia at gcc dot gnu.org
@ 2022-10-03 18:22 ` pinskia at gcc dot gnu.org
2022-10-03 18:26 ` dcb314 at hotmail dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-03 18:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is most likely the fix but I don't have time to test it right now"
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index 38d8eeed1f0..aa84d6827be 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -39,7 +39,7 @@ CXX_INSTALL_NAME := $(shell echo c++|sed
'$(program_transform_name)')
GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
CXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo c++|sed
'$(program_transform_name)')
GXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo g++|sed
'$(program_transform_name)')
-CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h
operators.def
+CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h
operators.def cp-trait.def
#^L
# Define the names for selecting c++ in LANGUAGES.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
` (3 preceding siblings ...)
2022-10-03 18:22 ` pinskia at gcc dot gnu.org
@ 2022-10-03 18:26 ` dcb314 at hotmail dot com
2022-10-04 0:33 ` ppalka at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2022-10-03 18:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Andrew Pinski from comment #3)
> This is most likely the fix but I don't have time to test it right now"
The obvious copy seems to fix the problem:
[/home/dcb/gcc/trunk.git] $ cp ./gcc/cp/cp-trait.def
../results.20221003/lib/gcc/x86_64-pc-linux-gnu/13.0.0/plugin/include/cp/
[/home/dcb/gcc/trunk.git] $
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
` (4 preceding siblings ...)
2022-10-03 18:26 ` dcb314 at hotmail dot com
@ 2022-10-04 0:33 ` ppalka at gcc dot gnu.org
2022-10-04 0:38 ` ppalka at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-10-04 0:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Sorry for the breakage!
(In reply to Andrew Pinski from comment #3)
> This is most likely the fix but I don't have time to test it right now"
> diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
> index 38d8eeed1f0..aa84d6827be 100644
> --- a/gcc/cp/Make-lang.in
> +++ b/gcc/cp/Make-lang.in
> @@ -39,7 +39,7 @@ CXX_INSTALL_NAME := $(shell echo c++|sed
> '$(program_transform_name)')
> GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
> CXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo c++|sed
> '$(program_transform_name)')
> GXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo g++|sed
> '$(program_transform_name)')
> -CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h
> type-utils.h operators.def
> +CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h
> type-utils.h operators.def cp-trait.def
>
> #^L
> # Define the names for selecting c++ in LANGUAGES.
Makes sense... Looks like a similar fix, r8-4412-g5666f12bbaee55, was needed
for operators.def after r8-4257-gd6dd9d7f8efcf9 made us include it from
cp-tree.h.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
` (5 preceding siblings ...)
2022-10-04 0:33 ` ppalka at gcc dot gnu.org
@ 2022-10-04 0:38 ` ppalka at gcc dot gnu.org
2022-10-04 0:43 ` ppalka at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-10-04 0:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org
Last reconfirmed| |2022-10-04
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
` (6 preceding siblings ...)
2022-10-04 0:38 ` ppalka at gcc dot gnu.org
@ 2022-10-04 0:43 ` ppalka at gcc dot gnu.org
2022-10-04 16:25 ` cvs-commit at gcc dot gnu.org
2022-10-04 16:31 ` ppalka at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-10-04 0:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
--- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> ---
patch posted at
https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602758.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
` (7 preceding siblings ...)
2022-10-04 0:43 ` ppalka at gcc dot gnu.org
@ 2022-10-04 16:25 ` cvs-commit at gcc dot gnu.org
2022-10-04 16:31 ` ppalka at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-10-04 16:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppalka@gcc.gnu.org>:
https://gcc.gnu.org/g:e87879a9f5c2869de177c4dde2172f277e81ef1a
commit r13-3065-ge87879a9f5c2869de177c4dde2172f277e81ef1a
Author: Patrick Palka <ppalka@redhat.com>
Date: Tue Oct 4 12:23:46 2022 -0400
c++: install cp-trait.def as part of plugin headers [PR107136]
This is apparently needed since we include cp-trait.def from cp-tree.h
(in order to define the cp_trait_kind enum), as with operators.def.
PR c++/107136
gcc/cp/ChangeLog:
* Make-lang.in (CP_PLUGIN_HEADERS): Add cp-trait.def.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
` (8 preceding siblings ...)
2022-10-04 16:25 ` cvs-commit at gcc dot gnu.org
@ 2022-10-04 16:31 ` ppalka at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-10-04 16:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107136
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-10-04 16:31 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-03 18:14 [Bug plugins/107136] New: File cp-trait.def not found in kernel build dcb314 at hotmail dot com
2022-10-03 18:15 ` [Bug plugins/107136] " dcb314 at hotmail dot com
2022-10-03 18:19 ` pinskia at gcc dot gnu.org
2022-10-03 18:20 ` [Bug c++/107136] [13 Regression] File cp/cp-trait.def file not installed for plugin suport pinskia at gcc dot gnu.org
2022-10-03 18:22 ` pinskia at gcc dot gnu.org
2022-10-03 18:26 ` dcb314 at hotmail dot com
2022-10-04 0:33 ` ppalka at gcc dot gnu.org
2022-10-04 0:38 ` ppalka at gcc dot gnu.org
2022-10-04 0:43 ` ppalka at gcc dot gnu.org
2022-10-04 16:25 ` cvs-commit at gcc dot gnu.org
2022-10-04 16:31 ` ppalka at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).