Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167250 - media-sound/supercollider-20040903 fails to compile
Summary: media-sound/supercollider-20040903 fails to compile
Status: RESOLVED DUPLICATE of bug 153363
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-16 19:23 UTC by S.R.Mueller
Modified: 2007-07-29 13:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S.R.Mueller 2007-02-16 19:23:49 UTC
on powerbook G4
Linux 2.6.20 #2 Fri Feb 16 11:56:18 CET 2007 ppc 7447A, altivec supported PowerBook5,6 GNU/Linux
gcc-4.1.1 
(just tried the patch from http://bugs.gentoo.org/show_bug.cgi?id=153363)
supercollider-20040903 compile crashes with:

 powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../headers/common -I../../headers/plugin_interface -I../../headers/server -DSC_LINUX -D_REEN
TRANT -Wall -Wno-unknown-pragmas -DNDEBUG -fsigned-char -maltivec -mabi=altivec -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -M
T DelayUGens.lo -MD -MP -MF .deps/DelayUGens.Tpo -c DelayUGens.cpp  -fPIC -DPIC -o .libs/DelayUGens.o
In file included from ../../headers/plugin_interface/SC_InlineUnaryOp.h:25,
                 from ../../headers/plugin_interface/SC_PlugIn.h:28,
                 from DelayUGens.cpp:22:
../../headers/plugin_interface/SC_Constants.h:46:7: warning: no newline at end of file
In file included from ../../headers/plugin_interface/SC_PlugIn.h:35,
                 from DelayUGens.cpp:22:
../../headers/common/SC_Altivec.h:51:1: warning: "vec_cmplt" redefined
In file included from ../../headers/common/SC_Altivec.h:25,
                 from ../../headers/plugin_interface/SC_PlugIn.h:35,
                 from DelayUGens.cpp:22:
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/altivec.h:404:1: warning: this is the location of the previous definiti
In file included from ../../headers/plugin_interface/SC_PlugIn.h:35,
                 from DelayUGens.cpp:22:
../../headers/common/SC_Altivec.h:52:1: warning: "vec_cmple" redefined
In file included from ../../headers/common/SC_Altivec.h:25,
                 from ../../headers/plugin_interface/SC_PlugIn.h:35,
                 from DelayUGens.cpp:22:
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/altivec.h:405:1: warning: this is the location of the previous definiti
DelayUGens.cpp: In function 'void Pitch_next(Pitch*, int)':
DelayUGens.cpp:1436: error: cannot convert 'int' to 'unsigned int __vector__' in assignment
DelayUGens.cpp:1446: error: cannot convert 'int' to 'unsigned int __vector__' in assignment
DelayUGens.cpp:1455: error: could not convert 'ampok' to 'bool'
DelayUGens.cpp:1489: error: cannot convert 'int' to 'unsigned int __vector__' in assignment
DelayUGens.cpp:1498: error: cannot convert 'int' to 'unsigned int __vector__' in assignment
DelayUGens.cpp:1503: error: could not convert 'foundPeak' to 'bool'
DelayUGens.cpp:1514: error: could not convert 'foundPeak' to 'bool'
make[3]: *** [DelayUGens.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/supercollider-20040903/work/SuperCollider3/source/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/supercollider-20040903/work/SuperCollider3/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/supercollider-20040903/work/SuperCollider3'
make: *** [all] Error 2


i can't see what's wrong with DelayUGens.cpp.

Help anyone?
Comment 1 S.R.Mueller 2007-02-16 19:26:09 UTC
just adding one preceding call (from the compile output)
should read like:

/bin/sh ../../libtool --tag=CXX   --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../headers/common -I../../headers/plugin_int
erface -I../../headers/server -DSC_LINUX -D_REENTRANT -Wall -Wno-unknown-pragmas -DNDEBUG  -fsigned-char -maltivec -mabi=altivec -O2 -mcpu=G4 -mtune=G4 -mal
tivec -mabi=altivec -fno-strict-aliasing -pipe -MT DelayUGens.lo -MD -MP -MF .deps/DelayUGens.Tpo -c -o DelayUGens.lo DelayUGens.cpp

*and now the rest from the first post*
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-16 19:54:37 UTC
emerge --info please...
Comment 3 S.R.Mueller 2007-02-16 21:07:51 UTC
emerge --info

Portage 2.1.2-r9 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.5-r0, 2.6.20 ppc)
=================================================================
System uname: 2.6.20 ppc 7447A, altivec supported
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 15 Feb 2007 21:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib aiglx alsa altivec apache2 arts bash-completion berkdb bitmap-fonts bonobo cdda cddb cdr cli cracklib crypt cups directfb dlloader dri dts dvd dvdr dvdread eds emboss encode esd fbcon firefox flac flash fortran gdbm gif gnome gpm gstreamer gtk gtkhtml iconv ipv6 isdnlog java jpeg kde kerberos ldap libcaca libg++ libwww logrotate mad midi mikmod mozilla mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png ppc pppd python qt qt3 qt3support qt4 quicktime readline reflection ruby sdl session sndfile socks5 spell spl ssl sysfs tcpd truetype truetype-fonts type1-fonts unicode vcd vorbis xcomposite xinerama xml xorg xv xvid zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB" USERLAND="GNU" VIDEO_CARDS="radeon rv350"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-07-29 13:32:30 UTC
*** This bug has been marked as a duplicate of bug 153363 ***