tce-load -i compiletc https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.1.2.tar.bz2 cd alsa-lib-1.2.1.2 patch -Np0 -i ../alsa-lib-1.1.3_gid.patch CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --with-configdir=/usr/local/etc/alsa [lto fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 27.80s] make install [lto failure] libtool: link: gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -shared -fPIC -DPIC .libs/conf.o .libs/confmisc.o .libs/input.o .libs/output.o .libs/async.o .libs/error.o .libs/dlmisc.o .libs/socket.o .libs/shmarea.o .libs/userfile.o .libs/names.o -Wl,--whole-archive control/.libs/libcontrol.a mixer/.libs/libmixer.a pcm/.libs/libpcm.a timer/.libs/libtimer.a rawmidi/.libs/librawmidi.a hwdep/.libs/libhwdep.a seq/.libs/libseq.a ucm/.libs/libucm.a -Wl,--no-whole-archive -lm -ldl -lpthread -lrt -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -Wl,--version-script=Versions -Wl,--no-undefined -Wl,-soname -Wl,libasound.so.2 -o .libs/libasound.so.2.0.0 {standard input}: Assembler messages: {standard input}: Error: invalid attempt to declare external version name as default in symbol `snd_dlopen@@ALSA_1.1.6' lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated.