Created attachment 501946 [details] emerge --info When giving -flto CFLAGS in make.conf, this package fails to build. There are other pkgs which fail as well, is this expected? x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -flto -march=native -c -o getopt1.o getopt1.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -flto -march=native -c -o bash.o bash.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -flto -march=native -c -o which.o which.c x86_64-pc-linux-gnu-gcc -O2 -pipe -flto -march=native -Wl,-O1 -Wl,--as-needed -o which getopt.o getopt1.o bash.o which.o ./tilde/libtilde.a /usr/lib/libiberty.a /tmp/.portage/portage/sys-apps/which-2.21/temp/cc1KeTgX.ltrans0.ltrans.o: In function `find_command_in_path': <artificial>:(.text+0x71b): undefined reference to `tilde_expand'
Created attachment 501950 [details] build.log
i was able to build successfully now with -flto. Don't know what happened since the package is still the same version. You may close.