Skip to content

ERROR: "__memcat_p" [drivers/hwtracing/stm/stm_core.ko] undefined! #515

@nathanchance

Description

@nathanchance

Split off from #514.

The config file in that issue produces the following error at link time:

ERROR: "__memcat_p" [drivers/hwtracing/stm/stm_core.ko] undefined!

A simpler/faster build is just x86_64_defconfig + CONFIG_STM=m.

This is really odd as __memcat_p is marked as EXPORT_SYMBOL_GPL in lib/memcat_p.c. Even changing it to EXPORT_SYMBOL doesn't resolve the build failure.

Metadata

Metadata

Assignees

Labels

[BUG] linuxA bug that should be fixed in the mainline kernel.[BUG] llvmA bug that should be fixed in upstream LLVM[CONFIG] allmodconfigIssue affects allmodconfig on certain architectures[FIXED][LINUX] 5.7This bug was fixed in Linux 5.7[TOOL] lldThe issue is relevant to LLD linker

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions