Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85001 - blender-2.36-r1 build failed with collect2: cannot find `ld'
Summary: blender-2.36-r1 build failed with collect2: cannot find `ld'
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-12 10:40 UTC by Matt Anderson
Modified: 2005-03-12 14:48 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 Matt Anderson 2005-03-12 10:40:20 UTC
Trying to emerge blender-2.36-r1 results in the following build error:

g++ -pipe -funsigned-char -march=pentium3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -Wall -W -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I/var/tmp/portage/blender-2.36-r1/work/build/linux2/intern/ghost -Iintern/ghost -Iintern/ghost -I/var/tmp/portage/blender-2.36-r1/work/build/linux2/intern/string -Iintern/string -Iintern/string -I/usr/include -c -o /var/tmp/portage/blender-2.36-r1/work/build/linux2/intern/ghost/intern/GHOST_Buttons.o intern/ghost/intern/GHOST_Buttons.cpp
g++ -pipe -funsigned-char -march=pentium3 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -Wall -W -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I/var/tmp/portage/blender-2.36-r1/work/build/linux2/intern/ghost -Iintern/ghost -Iintern/ghost -I/var/tmp/portage/blender-2.36-r1/work/build/linux2/intern/string -Iintern/string -Iintern/string -I/usr/include -c -o /var/tmp/portage/blender-2.36-r1/work/build/linux2/intern/ghost/intern/GHOST_C-api.o intern/ghost/intern/GHOST_C-api.cpp
gcc -pthread -o /var/tmp/portage/blender-2.36-r1/work/build/linux2/makesdna /var/tmp/portage/blender-2.36-r1/work/build/linux2/source/blender/makesdna/intern/makesdna.o -L/var/tmp/portage/blender-2.36-r1/work/build/linux2/lib -Llib -lblender_guardedalloc
collect2: cannot find `ld'
scons: *** [/var/tmp/portage/blender-2.36-r1/work/build/linux2/makesdna] Error 1
intern/ghost/GHOST_IWindow.h:196: warning: inline function `virtual void* GHOST_IWindow::getUserData() const' used but never defined
intern/ghost/GHOST_ITimerTask.h:70: warning: inline function `virtual void (* GHOST_ITimerTask::getTimerProc() const)(GHOST_ITimerTask*, GHOST_TUns64)' used but never defined
intern/ghost/GHOST_ITimerTask.h:76: warning: inline function `virtual void GHOST_ITimerTask::setTimerProc(void (*)(GHOST_ITimerTask*, GHOST_TUns64))' used but never defined
intern/ghost/GHOST_ITimerTask.h:82: warning: inline function `virtual void* GHOST_ITimerTask::getUserData() const' used but never defined
intern/ghost/GHOST_IWindow.h:82: warning: inline function `virtual GHOST_TDrawingContextType GHOST_IWindow::getDrawingContextType()' used but never defined
scons: building terminated because of errors.

!!! ERROR: media-gfx/blender-2.36-r1 failed.
!!! Function src_compile, Line 99, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

I do have ld available since I do not see anything like this with any other ebuild

xion root # which ld
/usr/bin/ld
xion root # ld
ld: no input files


I have tried this with and without the -mfpmath cflag


Reproducible: Always
Steps to Reproduce:
1. emerge blender
2.
3.

Actual Results:  
build fails

Expected Results:  
build successful

xion root # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.11-mm1 i686)
=================================================================
System uname: 2.6.11-mm1 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 13 2005, 19:11:56)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo ftp://gentoo.ccccom.com"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts crypt cups curl divx4linux dvd
dvdread emboss encode esd fam font-server foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 imlib ipv6 java jpeg junit libg++ libwww mad mikmod mmx motif
mp3 mpeg nas ncurses nls oggvorbis ogre opengl pam pdflib perl png python
quicktime readline samba sdl spell sse sse2 ssl svga tcpd theora tiff truetype
truetype-fonts type1-fonts v4l v4l2 xinerama xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Matt Anderson 2005-03-12 13:02:56 UTC
Please dissregard.  I had an intermittenly broken filesystem under load thanks to reiser4
Comment 2 Luca Barbato gentoo-dev 2005-03-12 13:12:50 UTC
Closing.

Please avoid reiserfs4 
Comment 3 Luca Barbato gentoo-dev 2005-03-12 14:48:32 UTC
.