Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88370 - ksimus-datarecorder-0.3.6 ksimus-floatingpoint-0.3.6 ksimus-boolean-0.3.6 don't compile with gcc-3.4
Summary: ksimus-datarecorder-0.3.6 ksimus-floatingpoint-0.3.6 ksimus-boolean-0.3.6 don...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 08:49 UTC by RonnyPeine
Modified: 2005-05-27 06:16 UTC (History)
0 users

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


Attachments
patch for the wrong namespace-endings for ksimus-floatingpoint (ksimus-floatingpoint-gcc-3.4.patch,41.65 KB, patch)
2005-04-08 08:51 UTC, RonnyPeine
Details | Diff
ksimus-boolean patch for invalid ';'s (ksimus.diff,25.81 KB, patch)
2005-04-15 18:06 UTC, caslca
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description RonnyPeine 2005-04-08 08:49:50 UTC
ksimus-datarecorder-0.3.6 ksimus-floatingpoint-0.3.6 ksimus-boolean-0.3.6
don't compile with gcc-3.4 because mostly the namespaces are ended with ';'.
Also an enumtype was misused in waveformgenerator.cpp in
ksimus-floatingpoint-0.3.6.
It would be nice if someone could fix this, i have only killed the ';' for now, but haven't time to write a workaround for the enumerror.

Reproducible: Always
Steps to Reproduce:
1.emerge -v sci-mathematics/ksimus-datarecorder sci-mathematics/ksimus-floatingpoint sci-mathematics/ksimus-boolean
Comment 1 RonnyPeine 2005-04-08 08:51:32 UTC
Created attachment 55682 [details, diff]
patch for the wrong namespace-endings for ksimus-floatingpoint

Well, this patch only corrects the namespace-endings, the enumerror is still
there.
Comment 2 Patrizio Bassi 2005-04-15 03:13:36 UTC
same problem for me too.

gcc 3.4 problem :(

please fix :(
Comment 3 caslca 2005-04-15 13:22:15 UTC
ksimus-boolean problems: fixing those makes ksimus-boolean compile (gcc3.4 here)

booltristate1out.h:372: error: extra `;'
booltristatexor.h:78: error: extra `;'
booltristatexor.cpp:111: error: extra `;'
booltristateor.h:78: error: extra `;'
booltristateor.cpp:112: error: extra `;'
booltristateand.h:78: error: extra `;'
booltristateand.cpp:112: error: extra `;'
booltristate1out.cpp:91: error: extra `;'
booltristate1out.cpp:96: error: extra `;'
booltristate1out.cpp:405: error: extra `;'
implicitconverterbooltristate2bool.h:56: error: extra `;'
implicitconverterbooltristate2bool.cpp:82: error: extra `;'
extconnbooltristate.h:147: error: extra `;'
extconnbooltristate.cpp:116: error: extra `;'
extconnbooltristate.cpp:278: error: extra `;'
convertbooltristate2bool.h:84: error: extra `;'
convertbooltristate2bool.cpp:162: error: extra `;'
convertbool2booltristate.h:99: error: extra `;'
convertbool2booltristate.cpp:177: error: extra `;'
inverter.h:84: error: extra `;'
inverter.cpp:145: error: extra `;'
delay.h:145: error: extra `;'
delay.cpp:326: error: extra `;'
demultiplexer.h:201: error: extra `;'
demultiplexer.cpp:443: error: extra `;'
multiplexer.h:211: error: extra `;'
multiplexer.cpp:454: error: extra `;'
multidlatch.h:217: error: extra `;'
multidlatch.cpp:257: error: extra `;'
multidlatch.cpp:424: error: extra `;'
boolean7segment.h:131: error: extra `;'
boolean7segment.cpp:258: error: extra `;'
booleanconstant.h:73: error: extra `;'
booleanconstant.cpp:194: error: extra `;'
booleancounter.h:208: error: extra `;'
booleancounter.cpp:621: error: extra `;'
flipflopbase.h:138: error: extra `;'
flipflopbase.cpp:184: error: extra `;'
monoflop.h:148: error: extra `;'
monoflop.cpp:335: error: extra `;'
dflipflop.h:99: error: extra `;'
dflipflop.cpp:192: error: extra `;'
jkflipflop.h:172: error: extra `;'
jkflipflop.cpp:376: error: extra `;'
rsflipflop.h:78: error: extra `;'
rsflipflop.cpp:152: error: extra `;'
boolean2in1out.h:86: error: extra `;'
boolean2in1out.cpp:104: error: extra `;'
booleanor.h:66: error: extra `;'
booleanor.cpp:131: error: extra `;'
booleanxor.h:65: error: extra `;'
booleanxor.cpp:77: error: extra `;'
booleanxor.cpp:126: error: extra `;'
boolean.h:71: error: extra `;'
boolean.cpp:208: error: extra `;'
Comment 4 caslca 2005-04-15 18:06:48 UTC
Created attachment 56393 [details, diff]
ksimus-boolean patch for invalid ';'s

That's a patch to fix them all.
Comment 5 Olivier Fisette (RETIRED) gentoo-dev 2005-04-17 12:14:18 UTC
Thanks for reporting. I failed to reproduce this: all three packages compile fine here using gcc-3.4.3.20050110-r2 on x86. Could you provide me with the exact version of the gcc package you use? Also please paste the output from "emerge --info".
Comment 6 RonnyPeine 2005-04-18 13:08:42 UTC
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-multilib --disable-libgcj --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)

emerge --info:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm)  2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 16:05:25)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.8.5-r3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mtune=athlon-xp -mmmx -msse -m3dnow -march=athlon-xp -mfpmath=sse -ffast-math -fomit-frame-pointer -fpeel-loops -fprefetch-loop-arrays -ftracer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=athlon-xp -mmmx -msse -m3dnow -march=athlon-xp -mfpmath=sse -ffast-math -fomit-frame-pointer -fpeel-loops -fprefetch-loop-arrays -ftracer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms strict test"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="C"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib alsa apm asm audiofile avi berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr crypt cscope cups curl dga divx4linux doc dvb dvd dvdread emboss encode fam flac font-server foomaticdb fortran gd gdbm ggi gif gimpprint gpm gtk gtk2 guile imagemagick imlib innodb ithreads java joystick jpeg jpeg2k junit kde kdeenablefinal ldap libg++ libwww live mad mikmod mmap mmx mmxext mng motif mp3 mpeg mysql ncurses network nls nptl nvidia odbc ogg oggvorbis opengl oss pam pdflib perl physfs plotutils png povray ppds python qt quicktime readline real rtc samba sdl slang sndfile speex spell sse ssl tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis xine xml xml2 xmms xv xvid xvmc yv12 zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

The LANG var is normally at de_DE@euro, only set to C for gcc specs.
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2005-05-25 07:13:01 UTC
I could reproduce the problem for -boolean, will check during the next days.
Comment 8 Patrick Kursawe (RETIRED) gentoo-dev 2005-05-26 23:46:26 UTC
Done for ksimus-boolean, checking floatingpoint.
Comment 9 Patrick Kursawe (RETIRED) gentoo-dev 2005-05-27 04:52:19 UTC
floatingpoint fixed. One more to go.
Comment 10 Patrick Kursawe (RETIRED) gentoo-dev 2005-05-27 06:16:50 UTC
Done, thanks for the hint.