Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 186544

Summary: media-gfx/blender-2.44 fails to compile with gcc-4.2.0
Product: Gentoo Linux Reporter: Nathan Caldwell <saintdev>
Component: [OLD] GCC PortingAssignee: Luca Barbato <lu_zero>
Status: RESOLVED DUPLICATE    
Severity: normal CC: esigra, graphics+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: media-gfx:blender-2.44:20070725-032733.log

Description Nathan Caldwell 2007-07-25 03:54:06 UTC
If I try to build blender with gcc 4.2.0 blender fails to compile. If I switch back to gcc-4.1.2 blender compiles fine.

Reproducible: Always

Steps to Reproduce:
1. gcc-config x86_64-pc-linux-gnu-4.2.0
2. emerge blender
3.

Actual Results:  
Build fails.

Expected Results:  
Successful build.

emerge --info
Portage 2.1.3_rc9 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-moo x86_64)
=================================================================
System uname: 2.6.22-moo x86_64 AMD Athlon(tm) 64 FX-55 Processor
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 24 Jul 2007 14:30:10 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer"
CHOST="x86_64-pc-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://cudlug.cudenver.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/common /usr/local/overlays/gentopia /usr/local/overlays/stormfront /usr/local/overlays/picard /usr/local/overlays/proaudio /usr/local/overlays/custom_kernels"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avahi avi berkdb bitmap-fonts boost bzip2 cairo cli cracklib crypt dbus divx4linux dri dssi dts dvd dvdread emboss encode exif fam ffmpeg fftw firefox flac fortran galago gd gdbm gif gimp glade gnome gnutls gpm gstreamer gtk gtk2 hal iconv ieee1394 ipv6 isdnlog jack java jpeg kdeenablefinal kdehiddenvisibility keyring ladspa lame lash libg++ libnotify libsamplerate logrotate mad midi mikmod mmap mmx mmxext mng mono mozilla mp3 mp4 mpeg mpeg4 mudflap mysql nautilus ncurses nfs nls nptl nptlonly nsplugin ogg openal openexr opengl openmp osc pam patch-loader pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sndfile spell spl sql sqlite sse sse2 ssl subtitles subversion svg tcpd theora threads tidy tiff tracker transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis x264 xml xml2 xorg xv xvid xvmc zeroconf zlib" ALSA_CARDS="emu10k1" 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" CAMERAS="canon logitech" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nathan Caldwell 2007-07-25 03:56:25 UTC
Created attachment 125950 [details]
media-gfx:blender-2.44:20070725-032733.log

Here is the build log for when blender fails.
Comment 2 Dijon Page 2007-07-25 13:02:06 UTC
Try recompiling openal. Doing that fixed this for me.
Comment 3 Nathan Caldwell 2007-07-26 05:48:11 UTC
(In reply to comment #2)
> Try recompiling openal. Doing that fixed this for me.
> 

Thanks. Compiles just fine after rebuilding OpenAL.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2007-08-06 16:54:12 UTC

*** This bug has been marked as a duplicate of bug 166723 ***