This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [buildrobot][patch] aarch64: Fix ifunc support
- From: Will Newton <will dot newton at linaro dot org>
- To: Jan-Benedict Glaw <jbglaw at lug-owl dot de>
- Cc: Binutils Development <binutils at sourceware dot org>
- Date: Fri, 4 Oct 2013 08:08:22 +0100
- Subject: Re: [buildrobot][patch] aarch64: Fix ifunc support
- Authentication-results: sourceware.org; auth=none
- References: <20131003182810 dot GR16772 at lug-owl dot de>
On 3 October 2013 19:28, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> Hi!
>
> My build robot[1] found a breakage[2] after the recently committed
> ifunc support for aarch64:
>
> /bin/sh ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -o as-new app.o as.o atof-generic.o compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-aarch64.o obj-elf.o atof-ieee.o ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a -lz
> libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -o as-new app.o as.o atof-generic.o compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-aarch64.o obj-elf.o atof-ieee.o ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -lz
> ../bfd/.libs/libbfd.a(elf64-aarch64.o): In function `elf64_aarch64_allocate_ifunc_dynrelocs':
> /home/jbglaw/repos/binutils/bfd/elfnn-aarch64.c:6241: undefined reference to `_bfd_elf_allocate_ifunc_dyn_relocs'
> ../bfd/.libs/libbfd.a(elf64-aarch64.o): In function `elf64_aarch64_check_relocs':
> /home/jbglaw/repos/binutils/bfd/elfnn-aarch64.c:5119: undefined reference to `_bfd_elf_create_ifunc_sections'
> ../bfd/.libs/libbfd.a(elf32-aarch64.o): In function `elf32_aarch64_allocate_ifunc_dynrelocs':
> /home/jbglaw/repos/binutils/bfd/elfnn-aarch64.c:6241: undefined reference to `_bfd_elf_allocate_ifunc_dyn_relocs'
> ../bfd/.libs/libbfd.a(elf32-aarch64.o): In function `elf32_aarch64_check_relocs':
> /home/jbglaw/repos/binutils/bfd/elfnn-aarch64.c:5119: undefined reference to `_bfd_elf_create_ifunc_sections'
> collect2: error: ld returned 1 exit status
> make[3]: *** [as-new] Error 1
> make[3]: Leaving directory `/home/jbglaw/build/aarch64_be-elf/build-binutils-full/gas'
>
> Simple fix: commit regenerated bfd/configure. Albeit mentioned in the
> Changelog, it's missing from the commit:
>
> 2013-10-03 Jan-Benedict Glaw <jbglaw@lug-owl.de>
>
> bfd/
> * configure: Regenerate.
>
Thanks for fixing this, I remembered I had forgotten to do it at 2 AM
this morning. ;-)
--
Will Newton
Toolchain Working Group, Linaro