bug-binutils
[Top][All Lists]
Advanced

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

Re: binutils no longer compiles on freebsd 4.10


From: Nick Clifton
Subject: Re: binutils no longer compiles on freebsd 4.10
Date: Fri, 09 Jul 2004 16:38:55 +0100
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

Hi Jesse,

I noticed that binutils 2.15 does not compile on FreeBSD 4.10 (it
does compile and function fine on 4.9). This is how it is configured:

I have not seen any replies to your email, so I thought that I would say something.

trad-core.c: In function `trad_unix_core_file_p':
trad-core.c:99: error: structure has no member named `u_dsize'

I know this isn't a bug in binutils, since it builds and works
flawlessly on older releases of FreeBSD. I just don't know if this
is a FreeBSD problem or a matter of binutils not recognizing something
it needs to recognize to build on 4.10.

Presumably FreeBSD 4.10 has changed the header files associated with its core file format, or possibly it has changed the format itself.

The simplest way to avoid this problem, assuming that you do not need to support reading in code files, is to find this line in bfd.configure.in:

i[3-7]86-*-bsd* | i[3-7]86-*-freebsd[123] | i[3-7]86-*-freebsd[123]\.* | i[3-7]86-*-freebsd4\.[01234] | i[3-7]86-*-freebsd4\.[01234]\.* | i[3-7]86-*-freebsd*aout*)

and insert before it some lines specifically to handle 4.10 like this:

  changequote(,)dnl
    i[3-7]86-*-freebsd4.10)
  changequote([,])dnl
        COREFILE=
        ;;

Cheers
  Nick




reply via email to

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