https://sourceware.org/bugzilla/show_bug.cgi?id=32846
--- Comment #1 from Sam James <sam at gentoo dot org> --- Created attachment 16007 --> https://sourceware.org/bugzilla/attachment.cgi?id=16007&action=edit bfd-lto.tar.xz ``` $ gcc -O2 -flto -c libkmod.i -o libkmod.o $ gcc -O2 -flto -c hash.i -o hash.o $ gcc -O2 -flto -c util.i -o util.o $ ar cr libshared.a hash.o util.o $ ar cr libkmod-internal.a libkmod.o hash.o util.o $ gcc -Wl,--no-undefined -shared -o kmod lsmod.i static-nodes.i libshared.a libkmod-internal.a /usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /tmp/ccNimEok.ltrans0.ltrans.o: in function `mkdir_parents': <artificial>:(.text+0x1): undefined reference to `mkdir_p' /usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /tmp/ccNimEok.ltrans0.ltrans.o: in function `kmod_new': <artificial>:(.text+0x13): undefined reference to `hash_new' collect2: error: ld returned 1 exit status ``` -- You are receiving this mail because: You are on the CC list for the bug.