Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795036 - media-sound/mpg321-0.3.2 - mad.c:(.text+<snip>): undefined reference to audio_linear_dither
Summary: media-sound/mpg321-0.3.2 - mad.c:(.text+<snip>): undefined reference to audio...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-09 07:11 UTC by Toralf Förster
Modified: 2023-11-06 20:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.20 KB, text/plain)
2021-06-09 07:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,153.26 KB, text/plain)
2021-06-09 07:11 UTC, Toralf Förster
Details
environment (environment,67.57 KB, text/plain)
2021-06-09 07:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.33 KB, application/x-bzip)
2021-06-09 07:11 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.84 KB, application/x-bzip)
2021-06-09 07:11 UTC, Toralf Förster
Details
media-sound:mpg321-0.3.2:20210609-043715.log (media-sound:mpg321-0.3.2:20210609-043715.log,13.14 KB, text/plain)
2021-06-09 07:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.42 KB, application/x-bzip)
2021-06-09 07:11 UTC, Toralf Förster
Details
build.log (ppc) (mpg321-0.3.2:20210718-160808.log,20.46 KB, text/plain)
2021-07-18 16:15 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-06-09 07:11:22 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-06-09 07:11:24 UTC
Created attachment 714807 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-09 07:11:25 UTC
Created attachment 714810 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-09 07:11:27 UTC
Created attachment 714813 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-09 07:11:28 UTC
Created attachment 714816 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-09 07:11:29 UTC
Created attachment 714819 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-09 07:11:30 UTC
Created attachment 714822 [details]
media-sound:mpg321-0.3.2:20210609-043715.log
Comment 7 Toralf Förster gentoo-dev 2021-06-09 07:11:31 UTC
Created attachment 714825 [details]
temp.tar.bz2
Comment 8 ernsteiswuerfel archtester 2021-07-18 16:15:22 UTC
Created attachment 724795 [details]
build.log (ppc)

Same on ppc.
Comment 9 bugs 2023-11-06 20:15:16 UTC
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.