Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49844 - blender fails with gcc 3.4
Summary: blender fails with gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-05-03 07:58 UTC by Hanno Böck
Modified: 2005-01-10 14:08 UTC (History)
2 users (show)

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


Attachments
(partly) fix for gcc 3.4-compilation (blender_gcc34_fix,452 bytes, patch)
2004-05-03 07:58 UTC, Hanno Böck
Details | Diff
Whole fix for blender 2.33 (blender-2.33-gcc34.patch,1.29 KB, patch)
2004-05-03 09:50 UTC, Ville Leskinen
Details | Diff
Whole fix for blender 2.33 (blender-2.33-gcc34.patch,1.43 KB, patch)
2004-05-03 10:21 UTC, Ville Leskinen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2004-05-03 07:58:12 UTC
There was one trivial bug I have a fix for (see attachement) and another one I couldn't fix.

This is the error message:
intern/exotic.c: In function `read_videoscape_nurbs':
intern/exotic.c:619: warning: passing arg 1 of `Mat3MulMat3' from incompatible pointer type
intern/exotic.c: In function `iv_finddata':
intern/exotic.c:838: error: invalid operands to binary -

I just checked also version 2.33 (not yet in portage) which fails with the same problems.
Comment 1 Hanno Böck gentoo-dev 2004-05-03 07:58:53 UTC
Created attachment 30601 [details, diff]
(partly) fix for gcc 3.4-compilation
Comment 2 Ville Leskinen 2004-05-03 09:50:37 UTC
Created attachment 30614 [details, diff]
Whole fix for blender 2.33

This might also work with 2.32
Comment 3 Ville Leskinen 2004-05-03 10:21:38 UTC
Created attachment 30620 [details, diff]
Whole fix for blender 2.33

I knew I forgot something crucial.
Comment 4 Robert Moss (RETIRED) gentoo-dev 2004-05-03 19:40:12 UTC
I'm fairly sure that the latter "error" doesn't need fixing as it's a glibc bug, and that this bug should depend on bug #48797.
Comment 5 Bret Towe 2004-09-29 17:07:46 UTC
i just tried out blender 2.34 and it merged fine for me
also loads but i havent used blender in ages so i dont recall how to use it
to see if it works right or not
perhaps this could be closed now tho

Portage 2.0.51_rc6 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040619-r1, 2.6.9-rc2-bk6 i686)
=================================================================
System uname: 2.6.9-rc2-bk6 i686 Unknown CPU Typ
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mdhd/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mdhd/portage.local"
SYNC="rsync://vox.net/gentoo-portage"
USE="3dnow X acpi alsa apache2 avi berkdb bitmap-fonts bonobo canna cdr crypt cups dvd dvdread encode esd foomaticdb gd gd-external gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib ipv6 jpeg kde ldap libg++ libwww mad matroska mikmod mmx mmx2 motif mozilla mpeg mysql ncurses network nls nptl oggvorbis oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl tcltk tcpd tetex theora tiff truetype unicode userlocales v4l v4l2 x86 xml2 xmms xprint xv xvid zlib linguas_en linguas_ja"
Comment 6 Hanno Böck gentoo-dev 2005-01-10 14:08:30 UTC
No longer an issue.