[PATCH] um: Allow multiple symbol definitions for GCOV builds

Johannes Berg johannes at sipsolutions.net
Wed Jul 22 07:02:40 PDT 2026


Hi,

On Tue, 2026-07-21 at 16:23 -0600, Alex Hung wrote:
> > 
> > I cannot see how that would possibly result in correct behaviour (beyond
> > being able to link)??

> Good point. --allow-multiple-definition silences the linker error, but 
> picking kernel or libgcov's mangle_path() will break the other at runtime.
> 
> I saw your previous patch 
> (https://lkml.iu.edu/hypermail/linux/kernel/2103.1/06604.html) to rename 
> mangle_path() to seq_mangle_path(). How about reviving it to avoid name 
> conflicts instead?

Honestly, I completely forgot about that. Looks like I ran into the
typical "nobody wants to merge it" problem ...

johannes



More information about the linux-um mailing list