blender-2.49b won't compile I get this result> Emerging (2 of 2) media-gfx/blender-2.49b * blender-2.49b.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ o * checking ebuild checksums ;-) ... [ o * checking auxfile checksums ;-) ... [ o * checking miscfile checksums ;-) ... [ o * This profile has not been tested thoroughly and is not considered to be * a supported server profile at this time. For a supported server * profile, please check the Hardened project (http://hardened.gentoo.org). * This profile is merely a convenience for people who require a more * minimal profile, yet are unable to use hardened due to restrictions in * the software being used on the server. This profile should also be used * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this * applies to you, then it doesn't and you should probably be using * Hardened, instead. >>> Unpacking source... >>> Unpacking blender-2.49b.tar.gz to /var/tmp/portage/media-gfx/blender-2.49b/work >>> Source unpacked in /var/tmp/portage/media-gfx/blender-2.49b/work >>> Preparing source in /var/tmp/portage/media-gfx/blender-2.49b/work/blender-2.49b ... * Applying blender-2.48a-CVE-2008-4863.patch ... [ * Applying blender-2.37-dirs.patch ... [ * Applying blender-2.44-scriptsdir.patch ... [ * Applying blender-2.49a-sys-openjpeg.patch ... [ >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/blender-2.49b/work/blender-2.49b ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/blender-2.49b/work/blender-2.49b ... scons: Reading SConscript files ... Command-line arguments No command-line arguments given Command-line targets No targets given, using default Using config file: config/linux2-config.py Using user-config file: user-config.py Build with 2 parallel jobs Linux platform detected: checking for FreeAlut... no Building in ../build/linux2/ Configuring library bf_soundsystem Configuring library bf_string Configuring library bf_ghost Configuring library bf_guardedalloc Configuring library bf_bmfont Configuring library bf_moto Configuring library blender_CTR Configuring library bf_memutil Configuring library bf_decimation Configuring library bf_IK Configuring library blender_bop Configuring library blender_ONL Configuring library bf_elbeem Configuring library blender_BSP Configuring library extern_glew Configuring library extern_qhull Configuring library extern_solid Configuring library extern_bullet2linmath Configuring library extern_bullet2dynamics Configuring library extern_bullet2collision_broadphase Configuring library extern_bullet2collision_dispatch Configuring library extern_bullet2collision_gimpact Configuring library extern_bullet2collision_shapes Configuring library extern_bullet2collision_narrowphase Configuring library extern_bullet2softbody Configuring library extern_ftgl Building on linux2 Configuring library verse Configuring program verse Configuring library extern_binreloc Configuring library bf_avi Configuring library blenkernel_blc Configuring library bf_blenkernel Configuring library bf_blenlib Configuring library bf_blenloader Configuring library bf_blenpluginapi Configuring library bf_gpu Configuring library bf_imbuf Configuring library bf_cineon Configuring library bf_dna Configuring library blender_radiosity Configuring library bf_readblenfile Configuring library blender_render Configuring library src Configuring library bf_nodes Configuring library bf_cmpnodes Configuring library bf_shdnodes Configuring library bf_texnodes Configuring library blender_python Configuring library bf_yafray Configuring library bf_ftfont Configuring library bf_dds Configuring library bf_openexr Configuring library bf_kernel Configuring library blender_creator Configuring library bf_bloutines Configuring library bf_converter Configuring library bf_expressions Configuring library bf_logic Configuring library bf_ketsji Configuring library kx_network Configuring library bf_ngnetwork Configuring library bf_loopbacknetwork Configuring library bf_common Configuring library bf_dummy Configuring library bf_rasterizer Configuring library bf_oglrasterizer Configuring library bf_scenegraph Configuring library bf_bullet Configuring library bf_videotex Configuring library bf_sumo Configuring library gp_common Configuring library gp_ghost Configuring program blender Configuring program blenderplayer scons: done reading SConscript files. scons: Building targets ... Compiling ==> 'SND_DummyDevice.cpp' cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" scons: *** [/var/tmp/portage/media-gfx/blender-2.49b/work/build/linux2/intern/SoundSystem/dummy/SND_DummyDevice.o] Error 1 Compiling ==> 'SND_Utils.cpp' cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" scons: *** [/var/tmp/portage/media-gfx/blender-2.49b/work/build/linux2/intern/SoundSystem/intern/SND_Utils.o] Error 1 scons: building terminated because of errors. * * ERROR: media-gfx/blender-2.49b failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3246: Called die * The specific snippet of code: * scons ${MAKEOPTS/-l[0-9]} || die '!!! Please add "${S}/scons.config" when filing bugs reports \ * to bugs.gentoo.org'; * The die message: * !!! Please add "${S}/scons.config" when filing bugs reports \ * to bugs.gentoo.org * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-gfx/blender-2.49b/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.49b/temp/environment'. * emerge --info Portage 2.1.6.13 (default/linux/x86/10.0/server, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r8-i686-AMD_Athlon-tm-_XP_2200+-with-gentoo-1.12.13 Timestamp of tree: Wed, 30 Dec 2009 08:30:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7-r1, 2.1.9-r2 dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.4 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="cs us" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip acl alsa apache2 berkdb bluetooth bzip2 cli cracklib crypt cups cxx dri dvd dvdread faad fortran gdbm gpm iconv ipv6 jack java kde ldap modules mudflap mysql ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl pppd python qt readline reflection sdl session slang snmp spl ssl sysfs tcpd truetype unicode usb x86 xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs us" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 214707 [details] environment
There are a few questions, starting with your profile. But one semi-obvious thing is that you were using a more recent version of gcc, then for some reason switched to an older one. openmp is since 4.2.
I have the most recent stable gcc. I'm not aware of any downgrouding. nice -n 19 emerge -avD gcc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/gcc-4.3.4 USE="fortran gcj mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gtk (-hardened) -ip28 -ip32r10k (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla" 0 kB
> Portage 2.1.6.13 (default/linux/x86/10.0/server, gcc-4.1.2, I disagree. Check gcc-config.
Thanks I changed the gcc profile with gcc-config to i686-pc-linux-gnu-4.3.4. And it looks that it helped.