audacity fails to configure with sys-libs/glibc-2.12.1-r3 checking host system type... x86_64-pc-linux-gnu checking for library containing dlopen... no ./configure: line 263: return: required: numeric argument required configure: error: dlopen not found In other words, autotools fails to perform AC_SEARCH_LIBS([dlopen], [dl]) Complete log is attached Reproducible: Always Steps to Reproduce: 1. Unmask glibc and update to sys-libs/glibc-2.12.1-r3 2. Try to emerge audacity
Created attachment 259357 [details] Build log
Created attachment 259358 [details] config.log
Created attachment 259360 [details] emerge --info output
I'd say error message: configure:7666: x86_64-pc-linux-gnu-g++ -o conftest -O2 -pipe -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I$(top_srcdir)/lib-src/FileDialog -I/var/tmp/portage/media-sound/audacity-1.3.12/work/audacity-src-1.3.12-beta/lib-src/lib-widget-extra -I$(top_srcdir)/lib-src/libresample/include -I$(top_srcdir)/lib-src/sbsms/include -I$(top_srcdir)/lib-src/libnyquist -O2 -pipe -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 l1-cache-line-size=64 l2-cache-size=256 -mtune=core2 -Wall -I/var/tmp/portage/media-sound/audacity-1.3.12/work/audacity-src-1.3.12-beta/lib-src/portsmf -Wall -Wl,-O1 -Wl,--as-needed conftest.cpp -L/usr/lib64 -pthread -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lvorbisenc -lvorbisfile -lvorbis -logg -lmad -lm -lsndfile -lFLAC++ -lFLAC -lid3tag -lexpat -ltwolame >&5 x86_64-pc-linux-gnu-g++: l1-cache-line-size=64: No such file or directory x86_64-pc-linux-gnu-g++: l2-cache-size=256: No such file or directory points at your CFLAGS, not glibc.
use some sane build flags. --param is known to cause random issues. CXXFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2"
Yeah, I've missed that. I've upgraded glibc and forgot about changed flags. I've changed cflags and it builds correctly, thanks.
So can this be closed? There doesn't seem to be anything that could be changed in Audacity to fix this, as the flags from the environment are being passed through correctly (as I understand it) to g++.
Closing as invalid.