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

--- Comment #1 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Xi Ruoyao from comment #0)
> $ cat q.c
> void g() { }
> int f() { g(); return 42; }
> $ gcc q.c -fPIC -O2 cat-shared -flto -flto-partition=max 
> -fsemantic-interposition

The "cat" should be removed :(, i.e.

gcc q.c -fPIC -O2 -shared -flto -flto-partition=max -fsemantic-interposition

Reply via email to