Re: [linux-audio-dev] C++ guru needed (again)

From: Dirk Jagdmann <doj@email-addr-hidden>
Date: Sun Nov 26 2006 - 13:23:18 EET

Hello Dave,

those internal compiler errors are often triggered only when you
optimize. As a workaround I would suggest you try compiling this
particular source file with -O1 or without any -O options.
If you don't want your complete program be compiled with optimization,
which would occur if you disable it when calling ./configure you can
compile this file manually by going into the frontends/ directory and
pasting the command line with -O2. Then continue compiling with scons.

> g++ -o frontends/fltk_gui/CsoundGlobalSettings.o -c -fexceptions -Wall
> -g -gstabs -O2 -fPIC -DLINUX -DPIPES -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK
> -DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I.
> -IH -I/usr/local/include -I/usr/include -I/usr/X11R6/include
> -Iinterfaces -I/usr/include/freetype2
> frontends/fltk_gui/CsoundGlobalSettings.cpp
> frontends/fltk_gui/CsoundGlobalSettings.cpp: In constructor
> 'CsoundGlobalSettings::CsoundGlobalSettings()':
> frontends/fltk_gui/CsoundGlobalSettings.cpp:47: internal compiler error:
> output_operand: invalid expression as operand
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> For Debian GNU/Linux specific bug reporting instructions,
> see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
> Preprocessed source stored into /tmp/ccDt1tHZ.out file, please attach
> this to your bugreport.
> scons: *** [frontends/fltk_gui/CsoundGlobalSettings.o] Error 1
> scons: building terminated because of errors.

-- 
---> Dirk Jagdmann ^ doj / cubic
----> http://cubic.org/~doj
-----> http://llg.cubic.org
Received on Sun Nov 26 16:15:02 2006

This archive was generated by hypermail 2.1.8 : Sun Nov 26 2006 - 16:15:02 EET