https://sourceware.org/bugzilla/show_bug.cgi?id=17440

            Bug ID: 17440
           Summary: Build fails for --target=i686-freebsd4
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: trueroad at sea dot plala.or.jp

Created attachment 7811
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7811&action=edit
binutils-2.24-target-freebsd4.diff

In Cygwin64 environment, I tried to build binutils 2.24 by the following
commands.

$ ./configure --target=i686-freebsd4
$ make CFLAGS="-Wno-error=unused-but-set-variable
-Wno-error=unused-but-set-parameter"

Then, the following error occurred.

> /home/trueroad/src/binutils-2.24/bfd/elf32-i386.c:
> In function 'elf_i386_fbsd_post_process_headers':
> /home/trueroad/src/binutils-2.24/bfd/elf32-i386.c:5095:
> error: 'i_ehdrp' undeclared (first use in this function)

It could solve with the attached patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to