public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug plugins/108634] New: [13 regression] 'undefined symbol: tree_code_type' when building kernel GCC plugins since r13-5431-gb0241ce6e37031
@ 2023-02-01 22:37 sam at gentoo dot org
  2023-02-01 22:44 ` [Bug plugins/108634] " arsen at aarsen dot me
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sam at gentoo dot org @ 2023-02-01 22:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108634
           Summary: [13 regression] 'undefined symbol: tree_code_type'
                    when building kernel GCC plugins since
                    r13-5431-gb0241ce6e37031
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: plugins
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sam at gentoo dot org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

When building kernel 6.1.9:
```
cc1: error: cannot load plugin
./scripts/gcc-plugins/randomize_layout_plugin.so:
./scripts/gcc-plugins/randomize_layout_plugin.so: undefined symbol:
tree_code_type
make[2]: ***
[/var/tmp/portage/sys-kernel/gentoo-kernel-6.1.9/work/linux-6.1/scripts/Makefile.build:118:
scripts/mod/devicetable-offsets.s] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: ***
[/var/tmp/portage/sys-kernel/gentoo-kernel-6.1.9/work/linux-6.1/scripts/Makefile.build:250:
scripts/mod/empty.o] Error 1
make[1]: ***
[/var/tmp/portage/sys-kernel/gentoo-kernel-6.1.9/work/linux-6.1/Makefile:1281:
prepare0] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:231: __sub-make] Error 2
```

This happens since r13-5431-gb0241ce6e37031 which changes the visibility
(thanks to Arsen and pinskia for spotting this) of some of the symbols.

It's unclear to me if this is a kernel or GCC issue though (should the kernel
be using different methods in its plugin?)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-03-17  7:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-01 22:37 [Bug plugins/108634] New: [13 regression] 'undefined symbol: tree_code_type' when building kernel GCC plugins since r13-5431-gb0241ce6e37031 sam at gentoo dot org
2023-02-01 22:44 ` [Bug plugins/108634] " arsen at aarsen dot me
2023-02-01 22:46 ` sam at gentoo dot org
2023-02-01 22:48 ` pinskia at gcc dot gnu.org
2023-02-01 23:11 ` sam at gentoo dot org
2023-02-04  0:09 ` jakub at gcc dot gnu.org
2023-03-10  9:40 ` cvs-commit at gcc dot gnu.org
2023-03-17  7:45 ` cvs-commit 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).