Steve Harris wrote:
On Wed, Dec 03, 2003 at 09:41:30AM +0100, Joern
Nettingsmeier wrote:
builds fine, except for those warnings:
ladspa-util.h: In function `f_trunc':
ladspa-util.h:110: warning: dereferencing type-punned pointer will break
strict-aliasing rules
Very true, but I dont think I asked to compiler to use strict aliasing,
can you send an example gcc line make spits out? I've checked a fix into
CVS that should stop alising for most people anyway.
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -O6
-fomit-frame-pointer -fstrength-reduce -funroll-loops
-fmove-all-movables -ffast-math -fPIC -DPIC -mcpu=i686 -march=i686 -c
imp_1199.so.c
In file included from imp_1199.xml:37:
ladspa-util.h: In function `f_trunc':
ladspa-util.h:110: warning: dereferencing type-punned pointer will break
strict-aliasing rules
Anyone know why some gcc's check for aliasing?
however, when i use --enable-sse, gcc falls apart:
Oops. Yes, that a known problem, but I think the README file is a bit
misleading - its supposed to be hinting that you should build FFTW with
--enable-sse, not the plugins. gcc's automatic SSE support is not very
good (which is all it enables IIRC), and used to produce worse code.
so i can safely use --enable-sse with fftw, when it produces an internal
compiler error with swh-plugins???
If your gcc is new enough it might ne better, i'd
be happy to hear if it
is. I'l change the README.
# gcc -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.1/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking
--enable-libgcj --with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.1 (SuSE Linux)
--
To someone whose only tool is a hammer, each problem looks like a nail.
- Edsger W. Dijkstra, EWD838
Jörn Nettingsmeier
Kurfürstenstr 49, 45138 Essen, Germany
http://spunk.dnsalias.org (my server)
http://www.linuxaudiodev.org (Linux Audio Developers)