Bug#676713: audacity: DEB_BUILD_OPTIONS=noopt still compiles some files with -O2
Sami Liedes
sliedes at cc.hut.fi
Sat Jun 9 00:29:03 UTC 2012
Package: audacity
Version: 2.0.0-1
Severity: normal
While trying to build a debuggable package with
DEB_BUILD_OPTIONS="noopt nostrip",
I ran into this.
Even with DEB_BUILD_OPTIONS=noopt, most of the modules in the project
are built with -O2, while some are correctly built with -O0 (as the
last -O option takes precedence). Most notably, the core Audacity core
is built with -O2. These modules seem to be compiled with -O2:
* all modules inside src/
AND
* the modules inside lib-src/portmixer/
An example gcc invokation from the build log (attached):
------------------------------------------------------------
g++ -c -I../lib-src/portmixer/include -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I/usr/lib/x86_64-linux-gnu/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../lib-src/FileDialog -I/home/sliedes/scratch/rec/audacity-2.0.0/lib-src/lib-widget-extra -I../lib-src/sbsms/include -I/usr/include/soundtouch -I../lib-src/libnyquist -g -O2 -Wall -I/usr/include/portSMF -pthread -fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/lib\" -D__STDC_CONSTANT_MACROS -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 BlockFile.cpp -o BlockFile.o
------------------------------------------------------------
Sami
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.4.0 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages audacity depends on:
ii audacity-data 2.0.0-1
ii libasound2 1.0.25-3
ii libavcodec53 6:0.8.2-2
ii libavformat53 [libavformat-extra-53] 6:0.8.2-2
ii libavutil51 [libavutil-extra-51] 6:0.8.2-2
ii libc6 2.13-33
ii libexpat1 2.1.0-1
ii libflac++6 1.2.1-6
ii libflac8 1.2.1-6
ii libgcc1 1:4.7.0-12
ii libglib2.0-0 2.32.3-1
ii libgtk2.0-0 2.24.10-1
ii libid3tag0 0.15.1b-10
ii libmad0 0.15.1b-7
ii libmp3lame0 3.99.5+repack1-3
ii libogg0 1.3.0-4
ii libportaudio2 19+svn20111121-1
ii libportsmf0 0.1~svn20101010-3
ii libsamplerate0 0.1.8-4
ii libsndfile1 1.0.25-4
ii libsoundtouch0 1.6.0-3
ii libstdc++6 4.7.0-12
ii libtwolame0 0.3.13-1
ii libvamp-hostsdk3 2.1-1
ii libvorbis0a 1.3.2-1.3
ii libvorbisenc2 1.3.2-1.3
ii libvorbisfile3 1.3.2-1.3
ii libwxbase2.8-0 2.8.12.1-11
ii libwxgtk2.8-0 2.8.12.1-11
audacity recommends no packages.
Versions of packages audacity suggests:
pn ladspa-plugin <none>
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.bz2
Type: application/octet-stream
Size: 27188 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20120609/54f8e8e2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20120609/54f8e8e2/attachment-0001.pgp>
More information about the pkg-multimedia-maintainers
mailing list