gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mcpu=ultrasparc -O3 -pipe -falign-functions=4 -fprefetch-loop-arrays -ffast-math -c elf32.c -fPIC -DPIC -o .libs/elf32.o elf32-sparc.c: In function `elf32_sparc_relocate_section': elf32-sparc.c:2535: structure has no member named `sec_info_type' make[3]: *** [elf32-sparc.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mcpu=ultrasparc -O3 -pipe -falign-functions=4 -fprefetch-loop-arrays -ffast-math -c elf32.c -o elf32.o >/dev/null 2>&1 make[3]: Leaving directory `/var/tmp/portage/binutils-2.13.90.0.18-r1/work/binutils-2.13.90.0.18/bfd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/binutils-2.13.90.0.18-r1/work/binutils-2.13.90.0.18/bfd' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/binutils-2.13.90.0.18-r1/work/binutils-2.13.90.0.18/bfd' make: *** [all-bfd] Error 2 !!! ERROR: sys-devel/binutils-2.13.90.0.18-r1 failed. !!! Function src_compile, Line 98, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3.
*** Bug 17486 has been marked as a duplicate of this bug. ***
I think its a redundent patch .. try to comment: epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-sparc-nonpic.patch And see if that works. It prob got invalidated by the branch update ...
Commenting out sparc-nonpic.patch makes it build on sparc.
yep, confirmed. just out of curiosity -- how come the patches are not applied like in xfree -- so that arch-specific patches are applied on the specific arches they are meant for. I just ask because I noticed x86-64 and alpha patches were applied.
I guess this is fixed now ...