Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351190 - media-sound/audacity: can't build with '--param xxx' in CFLAGS
Summary: media-sound/audacity: can't build with '--param xxx' in CFLAGS
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Richard Ash
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 09:13 UTC by Wolfram
Modified: 2011-01-19 08:19 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,24.34 KB, text/plain)
2011-01-09 09:13 UTC, Wolfram
Details
config.log (config.log,56.12 KB, text/plain)
2011-01-09 09:15 UTC, Wolfram
Details
emerge --info output (audacity.info,16.44 KB, text/plain)
2011-01-09 09:21 UTC, Wolfram
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram 2011-01-09 09:13:18 UTC
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
Comment 1 Wolfram 2011-01-09 09:13:48 UTC
Created attachment 259357 [details]
Build log
Comment 2 Wolfram 2011-01-09 09:15:42 UTC
Created attachment 259358 [details]
config.log
Comment 3 Wolfram 2011-01-09 09:21:18 UTC
Created attachment 259360 [details]
emerge --info output
Comment 4 Rafał Mużyło 2011-01-09 16:07:46 UTC
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.
Comment 5 SpanKY gentoo-dev 2011-01-10 01:24:31 UTC
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"
Comment 6 Wolfram 2011-01-10 05:58:31 UTC
Yeah, I've missed that. I've upgraded glibc and forgot about changed flags. 
I've changed cflags and it builds correctly, thanks.
Comment 7 Richard Ash 2011-01-12 15:44:47 UTC
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++.
Comment 8 Tim Harder gentoo-dev 2011-01-19 08:19:14 UTC
Closing as invalid.