x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -I/usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mpg321 mpg321.o mad.o playlist.o network.o remote.o ao.o options.o auth.o scrobbler.o fft.o fbuffer.o volume.o -lm -lpthread -lid3tag -lz -lmad -L/usr/lib64 -lao -ldl -lz -lpthread -lm /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: mad.o: in function `output': mad.c:(.text+0x1fa0): undefined reference to `audio_linear_dither' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: mad.c:(.text+0x201e): undefined reference to `audio_linear_dither' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: mad.c:(.text+0x214f): undefined reference to `audio_linear_dither' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: mad.c:(.text+0x2283): undefined reference to `audio_linear_dither' collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j3-20210606-185202 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.52.1 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 70b332ea3486e6f5511279a8c534296f7654ecea Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Jun 9 03:50:25 2021 +0000 2021-06-09 03:50:24 UTC emerge -qpvO media-sound/mpg321 [ebuild N ] media-sound/mpg321-0.3.2 USE="ipv6 -alsa"
Created attachment 714807 [details] emerge-info.txt
Created attachment 714810 [details] emerge-history.txt
Created attachment 714813 [details] environment
Created attachment 714816 [details] etc.portage.tar.bz2
Created attachment 714819 [details] logs.tar.bz2
Created attachment 714822 [details] media-sound:mpg321-0.3.2:20210609-043715.log
Created attachment 714825 [details] temp.tar.bz2
Created attachment 724795 [details] build.log (ppc) Same on ppc.
Just encountered this today updating. i686-pc-linux-gnu-gcc -O2 -Os -I/usr/include -DHAVE_ALSA -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -o mpg321 mpg321.o mad.o playl ist.o network.o remote.o ao.o options.o auth.o scrobbler.o fft.o fbuffer.o volume.o -lasound -lm -lpthread -lid3tag -lz -lmad -L/usr/lib - lao -lz -lpthread -lm -lasound /usr/lib/gcc/i686-pc-linux-gnu/12/../../../../i686-pc-linux-gnu/bin/ld: mad.o: in function `output': mad.c:(.text+0x1434): undefined reference to `audio_linear_dither' /usr/lib/gcc/i686-pc-linux-gnu/12/../../../../i686-pc-linux-gnu/bin/ld: mad.c:(.text+0x1482): undefined reference to `audio_linear_dither' [I] media-sound/mpg321 (0.3.2-r1@2022-12-28): Realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3 I had recently enabled -Os as an experiment to see if it might help with RAM usage, I'd also enabled LDFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" at the suggestion of #gentoo (both due to a 1 gig of ram 32 bit system). I will see if removing -Os changes anything.