
Ishiki wrote:Well... just CFLAGS from this guide alone will probably break many things, so I wouldn't expect much stability and "bug-freenes" from it. I propose to use the normal, stable, clean, fast, efficient, ultra cool way to install Gentoo - Gentoo Handbook
And after that, tell us, if that worked for You.

You can found it here http://dev.gentoo.org/~vapier/dist/RobNyc wrote:I'm still at step 8.3 please help
.........
!!! Couldn't download 'glibc-2.5-patches-1.4.tar.bz2'. Aborting.
emerge -pv glibc binutils gcc libstdc++-v3 libtool
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-libs/glibc-2.5-r1 USE="nptl nptlonly -build -debug -glibc-compat20 -glibc-omitfp -hardened -multilib -nls -nomalloccheck -profile -selinux" 0 kB [1]
[ebuild R ] sys-devel/binutils-2.17.50.0.16 USE="multislot -multitarget -nls -test -vanilla" 0 kB
[ebuild R ] sys-devel/gcc-4.1.0-r1 USE="gtk multislot -altivec -bootstrap -build -doc -fortran -gcj -hardened -ip28 -ip32r10k -mudflap -multilib -n32 -n64 -nls -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB
[ebuild UD] sys-libs/libstdc++-v3-3.3.3-r1 [3.3.4] USE="-build -nls* -nptl* -uclibc% (-multilib%)" 0 kB
[ebuild U ] sys-devel/libtool-1.5.23b [1.5.22] 0 kB
Total: 5 packages (1 upgrade, 1 downgrade, 3 reinstalls), Size of downloads: 0 kB
Portage overlays:
[1] /usr/local/overlays/conrad
[2] /usr/local/portage
small-gentoo_x86 distfiles # emerge libstdc++-v3 libtool Calculating dependencies... done!
>>> starting parallel fetching
>>> Emerging (1 of 2) sys-libs/libstdc++-v3-3.3.3-r1 to /
* gcc-3.3.3.tar.bz2 RMD160... [ ok ]
* gcc-3.3.3.tar.bz2 SHA1... [ ok ]
* gcc-3.3.3.tar.bz2 SHA256... [ ok ]
* gcc-3.3.3.tar.bz2 size... [ ok ]
>>> Unpacking source...
>>> Unpacking gcc-3.3.3.tar.bz2 to /var/tmp/portage/sys-libs/libstdc++-v3-3.3.3-r1/work
blablabla then the end of message is
In file included from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.3-r1/work/gcc-3.3.3/gcc/read-rtl.c:24:
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.3-r1/work/gcc-3.3.3/gcc/rtl.h:132: warning: type of bit-field 'code' is a GCC extension
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.3-r1/work/gcc-3.3.3/gcc/rtl.h:135: warning: type of bit-field 'mode' is a GCC extension
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.3-r1/work/gcc-3.3.3/gcc/read-rtl.c: In function 'fatal_with_file_and_line':
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.3-r1/work/gcc-3.3.3/gcc/read-rtl.c:53: warning: traditional C rejects ISO C style function definitions
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.3-r1/work/gcc-3.3.3/gcc/read-rtl.c: In function 'read_rtx':
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.3-r1/work/gcc-3.3.3/gcc/read-rtl.c:653: error: invalid lvalue in increment
make[1]: *** [read-rtl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.3-r1/work/build/gcc'
make: *** [all-gcc] Error 2
!!! ERROR: sys-libs/libstdc++-v3-3.3.3-r1 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_compile
ebuild.sh, line 973: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
libstdc++-v3-3.3.3-r1.ebuild, line 224: Called die
!!! (no error message)
!!! 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/sys-libs/libstdc++-v3-3.3.3-r1/temp/build.log'.
Code: Select all
ARCH="pentium3"
...
Code: Select all
mv -f /var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/shlib.ldsT
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/shlib.lds
x86_64-pc-linux-gnu-gcc -Wl,-O1 -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/lib32/ld-linux.so.2
-B/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/
-Wl,--version-script=/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc
-Wl,-z,relro -nostdlib -nostartfiles -e __libc_main -Wl,-z,now -L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl
-L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/math
-L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf
-L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn
-L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/nss
-L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/nis
-L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/rt
-L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv
-L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt
-L/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl
-Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl:
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/math:
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl -o
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so -T
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/shlib.lds
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/abi-note.o
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/soinit.os
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_pic.os
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/sofini.os
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/interp.os
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_pic.os: In function `sync_file_range':
: undefined reference to `.Lpseudo_end'
collect2: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6/work/glibc-2.6'
make: *** [all] Error 2
*
* ERROR: sys-libs/glibc-2.6 failed.
* Call stack:
* ebuild.sh, line 1648: Called dyn_compile
* ebuild.sh, line 988: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* glibc-2.6.ebuild, line 1168: Called src_compile
* glibc-2.6.ebuild, line 1179: Called toolchain-glibc_src_compile
* glibc-2.6.ebuild, line 275: Called die
*
* make for x86 failed
* 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/sys-libs/glibc-2.6/temp/build.log'.
*
* GNU info directory index is up-to-date.
Code: Select all
# Conrad make.conf v4.1
ARCH="nocona"
COREFLAGS="-frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -freorder-blocks-and-partition -fmerge-all-constants -combine"
# Only uncomment below item if CPU supports sse3
CPUFLAGS="-msse3"
CFLAGS="-Os -march=${ARCH} ${CPUFLAGS} ${COREFLAGS}"
#CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="~amd64"
CONRAD_OVERLAY="/usr/local/overlays/conrad"
PORTAGE_OVERLAY="/usr/local/portage"
PORTDIR_OVERLAY="${CONRAD_OVERLAY} ${PORTAGE_OVERLAY}"
PORTAGE_NICENESS="12"
FEATURES="parallel-fetch distlocks"
# USE="alsa arts cairo cdr dbus dvd dvdr eds emboss encode esd fam firefox gif gnome gstreamer gtk gtk2 hal jpeg kde mad mikmod mp3 mpeg ogg opengl oss png qt3 qt4 quicktime sdl spell truetype vorbis win32codecs X xml xv"
# Multiple Cores/CPUS (uncomment as necessary)
# 1 CPU: one core
#MAKEOPTS="-j2"
# 1 CPU: two cores
MAKEOPTS="-j3"
# 1 CPU: four cores
#MAKEOPTS="-j5"
# 2 CPUs: one core each
#MAKEOPTS="-j4"
# 2 CPUs: two cores each
#MAKEOPTS="-j6"
# 2 CPUs: four cores each
#MAKEOPTS="-j8"
# Input_Devices for Modular Xorg
# (nvidia-based example given)
# INPUT_DEVICES="keyboard mouse"
# VIDEO_CARDS="nv nvidia vesa"
thats NOT a fixStrowi wrote:hi,
it seems that this is a problem with the new glibc-2.6. As a quick fix, you could use an older glibc-2.5-r4 version (I did a few minutes ago, by deleting glibc-2.6.ebuild and doing "ebuild /usr/portage/sys-libs/glibc-2.5-r4.ebuild digest". Seems glibc2.6 has been put into ~arch recently.
Code: Select all
jaymzbox gcc # cat /etc/make.conf | grep CFLAGS
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CFLAGS="${CFLAGS} -fno-ident -frename-registers -fweb -msse3"
No, that's not correct. Please, take a look here.saffsd wrote:I have set ARCH="nocona", is this the correct setting for a Core 2 Duo E6420? I want a 64-bit OS.