Binutils-Version for ArchC 2.4.1

10 views
Skip to first unread message

Jakob Lechner

unread,
May 15, 2017, 4:57:55 PM5/15/17
to archc
Hi everybody,

I'm trying to generate the binutils for the MIPS processor model based on the instructions given on the following two pages:


Unfortunately, when building the binutils I end up with the following error message:

/home/jakob/ArchCv2.4.1/binutils-2.24/bfd/elf32-acmips.c: In function ‘elf_archc_patch_plt0_entry’:
/home/jakob/ArchCv2.4.1/binutils-2.24/bfd/elf32-acmips.c:91:46: error: unused parameter ‘got_displacement’ [-Werror=unused-parameter]

The versions I'm using are:

- ArchC 2.4.1
- Binutils-2.24
- MIPS 2.4.0 processor model

Any ideas what I'm doing wrong? Any help would be much appreciated!

Cheers,
Jakob

Gabriel Krisman Bertazi

unread,
May 15, 2017, 8:53:28 PM5/15/17
to Jakob Lechner, archc
Jakob Lechner <lechne...@gmail.com> writes:

> Hi everybody,
>
> I'm trying to generate the binutils for the MIPS processor model based
> on the instructions given on the following two pages:
>
> https://github.com/ArchC/ArchC/wiki/Getting-Started
> https://github.com/ArchC/ArchC/wiki/Generating-the-Binutils-tools
>
> Unfortunately, when building the binutils I end up with the following
> error message:
>
> /home/jakob/ArchCv2.4.1/binutils-2.24/bfd/elf32-acmips.c: In function
> ‘elf_archc_patch_plt0_entry’:
> /home/jakob/ArchCv2.4.1/binutils-2.24/bfd/elf32-acmips.c:91:46: error:
> unused parameter ‘got_displacement’ [-Werror=unused-parameter]
>

Change the makefile or set your CFLAGS to stop using -Werror

> The versions I'm using are:
>
> - ArchC 2.4.1
> - Binutils-2.24
> - MIPS 2.4.0 processor model
>
> Any ideas what I'm doing wrong? Any help would be much appreciated!
>
> Cheers,
> Jakob

--
Gabriel Krisman Bertazi
Reply all
Reply to author
Forward
0 new messages