bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld relocation error for AArm64


From: Bob Proulx
Subject: Re: ld relocation error for AArm64
Date: Tue, 26 Feb 2019 12:49:34 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

Hello Alan,

> With this gentle urging tacked on:
> /usr/bin/ld: Please report this bug.

Thanks for making the report.  However we don't know anything about ld
here. :-)

  ld --help
  ...
  Report bugs to <http://www.sourceware.org/bugzilla/>

However the web page https://www.gnu.org/software/binutils/ says:

  address@hidden
  For reporting bugs.

Therefore mailing to address@hidden would get your report to the
binutils ld maintainers.

Good luck!
Bob


Alan O. Freier wrote:
> This is the message from ld:
> 
> gcc -g -I. -pthread -fomit-frame-pointer objs/AssignmentInstructions.o
> objs/Common.o objs/InstructionInterpreter.o objs/JumpInstructions.o
> objs/ControlTransfers.o objs/StackInstructions.o objs/MemoryOrganization.o
> objs/BlockTransfers.o objs/Processes.o objs/Unimplemented.o objs/Test.o
> objs/Float.o objs/Driver.o -o RunMesa.run
> /usr/bin/ld: objs/Test.o: relocation R_AARCH64_ABS32 against `a local
> symbol' can not be used when making a shared object
> /usr/bin/ld: BFD (GNU Binutils for Debian) 2.31.1 internal error, aborting
> at ../../bfd/elfnn-aarch64.c:5546 in elf64_aarch64_final_link_relocate
> 
> With this gentle urging tacked on:
> /usr/bin/ld: Please report this bug.
> 
> The object file noted in the message is the product of an assembly file, and
> it is not what you might call trivial. 'a local symbol' doesn't get me much
> closer to the source of the problem. Test.o is one of 13 object files (12
> from assembly files, one from c) being linked into an executable, not a
> shared library.
> 
> > cat /etc/os-release
> PRETTY_NAME="Debian GNU/Linux buster/sid"
> NAME="Debian GNU/Linux"
> ID=debian
> HOME_URL="https://www.debian.org/";
> SUPPORT_URL="https://www.debian.org/support";
> BUG_REPORT_URL="https://bugs.debian.org/";
> 
> > $ ld -V
> GNU ld (GNU Binutils for Debian) 2.31.1
> 
> For what it's worth, the same code builds just fine on open_Suse running
> (apparently) the same vintage of ld.
> 
> > ld -V
> GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.31.1.20180828-2
> 
> AO
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]