motzky wrote:the linker cannot find -ldl because it searches /usr/lib AND NOT /usr/lib64 !!!
So it skipps all 32bit versions since they are incompatible.
At least on my install, /usr/lib64 is a symlink to /usr/lib, so it wouldn't matter which one it looked for.
I also found that using the 2004.0 liveCD I get no errors except for the annoying openssl <-> perl circular dependency. I bootstrapped with gcc-3.3.3-r3, then emerged gcc-3.4.0-r2 (and this was only a few days ago!) and
emerge systemed with that, and it worked for me!
lexylexy wrote:CFLAGS="-m64 -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -frename-registers"
USE="amd64 -multilib"
Isn't -m64 discouraged in case programs naturally want to compile things in 32-bit mode? Also doesn't portage add amd64 to your USE flags anyway?
For example:
Code: Select all
# emerge info | grep USE
USE="X alsa amd64 apache2 apm avi berkdb cdr cdrw crypt cups divx4linux dvd encode esd fam fbcon foomaticdb gdbm gif gpm gtk gtk2 imagemagick imlib jpeg libg++ libwww linguas_en_GB mikmod mpeg ncurses nls nogcj nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcltk tcpd truetype usb xml2 xmms xv xvid zlib"
but...
Code: Select all
# cat /etc/make.conf | grep USE
USE="alsa dvd cdrw crypt encode divx4linux xvid fam fbcon gpm gtk2 -gnome -qt -kde -arts -java mpeg -mozilla -mysql oggvorbis png pdflib readline imagemagick zlib -multilib usb cups apache2 nptl -motif"
Edit: I did use scripts/bootstrap-2.6.sh though.... I've used it before despite not using 2.6 headers (though I am now), with no problems....