I removed /etc/portage/bashrc (per package ld/c/cxx flags) - recompiled binutils, and now everything works


I tried to resync the patches but it wouldn´t compile with tons of errors. I guess we´re stuck with .6 until Michael updates his patches.Joffer wrote:binutils-2.16.91.0.7.ebuild is out in portage. Will there be a new overlay?
Code: Select all
gcc -shared .libs/archive.o .libs/archures.o .libs/bfd.o .libs/bfdio.o .libs/bfdwin.o .libs/cache.o .libs/coffgen.o .libs/corefile.o .libs/format.o .libs/init.o .libs/libbfd.o .libs/opncls.o .libs/reloc.o .libs/section.o .libs/syms.o .libs/targets.o .libs/hash.o .libs/linker.o .libs/srec.o .libs/binary.o .libs/tekhex.o .libs/ihex.o .libs/stabs.o .libs/stab-syms.o .libs/merge.o .libs/dwarf2.o .libs/simple.o .libs/bfdsort.o .libs/archive64.o .libs/elf32-i386.o .libs/elf-vxworks.o .libs/elf32.o .libs/elf.o .libs/elflink.o .libs/elf-strtab.o .libs/elf-eh-frame.o .libs/dwarf1.o .libs/i386linux.o .libs/aout32.o .libs/efi-app-ia32.o .libs/peigen.o .libs/cofflink.o .libs/elf64-x86-64.o .libs/elf64.o .libs/elf64-gen.o .libs/elf32-gen.o .libs/cpu-i386.o .libs/trad-core.o -L/var/tmp/portage/binutils-2.16.91.0.6/work/build/libiberty/pic -liberty -Wl,-soname -Wl,libbfd-2.16.91.0.6.so -o .libs/libbfd-2.16.91.0.6.so
(cd .libs && rm -f libbfd.so && ln -s libbfd-2.16.91.0.6.so libbfd.so)
i586-pc-linux-gnu-ar cru .libs/libbfd.a archive.o archures.o bfd.o bfdio.o bfdwin.o cache.o coffgen.o corefile.o format.o init.o libbfd.o opncls.o reloc.o section.o syms.o targets.o hash.o linker.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o merge.o dwarf2.o simple.o bfdsort.o archive64.o elf32-i386.o elf-vxworks.o elf32.o elf.o elflink.o elf-strtab.o elf-eh-frame.o dwarf1.o i386linux.o aout32.o efi-app-ia32.o peigen.o cofflink.o elf64-x86-64.o elf64.o elf64-gen.o elf32-gen.o cpu-i386.o trad-core.o
i586-pc-linux-gnu-ranlib .libs/libbfd.a
creating libbfd.la
(cd .libs && rm -f libbfd.la && ln -s ../libbfd.la libbfd.la)
libtooldir=`/bin/sh ./libtool --config | sed -n -e 's/^objdir=//p'`; \
if [ -f $libtooldir/libbfd.a ]; then \
cp $libtooldir/libbfd.a libbfd.tmp; \
i586-pc-linux-gnu-ranlib libbfd.tmp; \
/bin/sh /var/tmp/portage/binutils-2.16.91.0.6/work/binutils-2.16.91.0.6/bfd/../move-if-change libbfd.tmp libbfd.a; \
else true; fi
touch stamp-lib
make[4]: Leaving directory `/var/tmp/portage/binutils-2.16.91.0.6/work/build/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/binutils-2.16.91.0.6/work/build/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/binutils-2.16.91.0.6/work/build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/var/tmp/portage/binutils-2.16.91.0.6/work/build'
make: *** [all] Error 2
!!! ERROR: sys-devel/binutils-2.16.91.0.6 failed.
Call stack:
ebuild.sh, line 1557: Called dyn_compile
ebuild.sh, line 966: Called src_compile
ebuild.sh, line 1272: Called toolchain-binutils_src_compile
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
nxsty: Do you have any messengers or an irc client? I would like to talk to you about fixing the binutils patches. I see where the problem lies, but I am not the greatest with diff files.nxsty wrote:I tried to resync the patches but it wouldn´t compile with tons of errors. I guess we´re stuck with .6 until Michael updates his patches.Joffer wrote:binutils-2.16.91.0.7.ebuild is out in portage. Will there be a new overlay?
Anyway yesterday after some extensive compiling my main computer decided it had enough and broke down. So I'll probably not update my overlays for a couple of days until my new motherboard arrives.
Code: Select all
!!! All ebuilds that could satisfy ">=sys-devel/gcc-3.4.4" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/gcc-3.4.6 (masked by: package.mask, missing keyword)
- sys-devel/gcc-3.4.5-r1 (masked by: package.mask)
- sys-devel/gcc-3.4.4-r1 (masked by: package.mask)
- sys-devel/gcc-4.1.0 (masked by: package.mask)
# Mark Loeser <halcy0n@gentoo.org> (02 Mar 2006)
# Will be in flux for the next week or so while we get issues straightened out
- sys-devel/gcc-4.0.2-r3 (masked by: package.mask, missing keyword)
- sys-devel/gcc-3.4.5 (masked by: package.mask)
- sys-devel/gcc-4.0.3 (masked by: package.mask, missing keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "sys-libs/glibc-2.4-r1" [ebuild])
It doesn't need gcc 3.4.4 but anything above it. And those versions isn't masked in portage so perhaps you've doe something wrong with your /etc/portage/package.mask?weedy wrote:WTH, why does it need less then gcc-4.1Code: Select all
!!! All ebuilds that could satisfy ">=sys-devel/gcc-3.4.4" have been masked. !!! One of the following masked packages is required to complete your request: - sys-devel/gcc-3.4.6 (masked by: package.mask, missing keyword) - sys-devel/gcc-3.4.5-r1 (masked by: package.mask) - sys-devel/gcc-3.4.4-r1 (masked by: package.mask) - sys-devel/gcc-4.1.0 (masked by: package.mask) # Mark Loeser <halcy0n@gentoo.org> (02 Mar 2006) # Will be in flux for the next week or so while we get issues straightened out - sys-devel/gcc-4.0.2-r3 (masked by: package.mask, missing keyword) - sys-devel/gcc-3.4.5 (masked by: package.mask) - sys-devel/gcc-4.0.3 (masked by: package.mask, missing keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by "sys-libs/glibc-2.4-r1" [ebuild])