* Problems compiling the latest snapshot
@ 1999-07-10 7:34 Koundinya.K
1999-07-10 10:07 ` Mark Mitchell
0 siblings, 1 reply; 5+ messages in thread
From: Koundinya.K @ 1999-07-10 7:34 UTC (permalink / raw)
To: binutils
Hi all !!,
As the subject says I am getting the following errors when I am trying to
compile the binutils-990710 snapshot.
Here is the log:
_____________ Clip _________________________________________________
Earlier stuff not shown ....
"../../binutils-990710/bfd/elflink.h", line 2112: warning: semantics of "<"
change in ANSI C; use explicit cast
"../../binutils-990710/bfd/elflink.h", line 3082: operands have incompatible
types: op ":"
"../../binutils-990710/bfd/elflink.h", line 3083: operands have incompatible
types: op ":"
"../../binutils-990710/bfd/elflink.h", line 4787: operands have incompatible
types: op ":"
"../../binutils-990710/bfd/elflink.h", line 4788: operands have incompatible
types: op ":"
"../../binutils-990710/bfd/elflink.h", line 6362: warning: argument is
incompatible with prototype: arg #1
gnumake[3]: *** [elf32.lo] Error 1
gnumake[3]: Leaving directory `/proj/gnu/BINUTILS/make-binutils-990710/bfd'
gnumake[2]: *** [all-recursive] Error 1
gnumake[2]: Leaving directory `/proj/gnu/BINUTILS/make-binutils-990710/bfd'
gnumake[1]: *** [all-recursive-am] Error 2
gnumake[1]: Leaving directory `/proj/gnu/BINUTILS/make-binutils-990710/bfd'
gnumake: *** [all-bfd] Error 2
_________________________________________________________________________
Are anyone facing the same problem ??
Cheers !!
koundinya
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems compiling the latest snapshot
1999-07-10 7:34 Problems compiling the latest snapshot Koundinya.K
@ 1999-07-10 10:07 ` Mark Mitchell
1999-07-10 10:35 ` H.J. Lu
1999-07-10 17:52 ` Ian Lance Taylor
0 siblings, 2 replies; 5+ messages in thread
From: Mark Mitchell @ 1999-07-10 10:07 UTC (permalink / raw)
To: kk; +Cc: binutils
>>>>> "Koundinya" == Koundinya K <kk@ddeorg.soft.net> writes:
Koundinya> Hi all !!, As the subject says I am getting the
Koundinya> following errors when I am trying to compile the
Koundinya> binutils-990710 snapshot.
These problems are almost certainly due to my recent changes, since
they occur at lines I have touched. However, I don't understand *why*
they occur, and they do not occur on my machine. It's possible that I
missed a checkin of a generate file, but a) I can't see which one and
b) I wouldn't expect the symptoms you're seeing. Perhaps you could
preprocess the source file and send it to me?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems compiling the latest snapshot
1999-07-10 10:07 ` Mark Mitchell
@ 1999-07-10 10:35 ` H.J. Lu
1999-07-10 17:52 ` Ian Lance Taylor
1 sibling, 0 replies; 5+ messages in thread
From: H.J. Lu @ 1999-07-10 10:35 UTC (permalink / raw)
To: Mark Mitchell; +Cc: binutils
>
> >>>>> "Koundinya" == Koundinya K <kk@ddeorg.soft.net> writes:
>
> Koundinya> Hi all !!, As the subject says I am getting the
> Koundinya> following errors when I am trying to compile the
> Koundinya> binutils-990710 snapshot.
>
> These problems are almost certainly due to my recent changes, since
> they occur at lines I have touched. However, I don't understand *why*
> they occur, and they do not occur on my machine. It's possible that I
> missed a checkin of a generate file, but a) I can't see which one and
> b) I wouldn't expect the symptoms you're seeing. Perhaps you could
> preprocess the source file and send it to me?
There are some minor problems with the latest binutils. I am making
a patch now.
--
H.J. Lu (hjl@gnu.org)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems compiling the latest snapshot
1999-07-10 10:07 ` Mark Mitchell
1999-07-10 10:35 ` H.J. Lu
@ 1999-07-10 17:52 ` Ian Lance Taylor
1999-07-11 0:10 ` Mark Mitchell
1 sibling, 1 reply; 5+ messages in thread
From: Ian Lance Taylor @ 1999-07-10 17:52 UTC (permalink / raw)
To: mark; +Cc: kk, binutils
From: Mark Mitchell <mark@codesourcery.com>
Date: Sat, 10 Jul 1999 10:10:51 -0700
>>>>> "Koundinya" == Koundinya K <kk@ddeorg.soft.net> writes:
Koundinya> Hi all !!, As the subject says I am getting the
Koundinya> following errors when I am trying to compile the
Koundinya> binutils-990710 snapshot.
These problems are almost certainly due to my recent changes, since
they occur at lines I have touched. However, I don't understand *why*
they occur, and they do not occur on my machine. It's possible that I
missed a checkin of a generate file, but a) I can't see which one and
b) I wouldn't expect the symptoms you're seeing. Perhaps you could
preprocess the source file and send it to me?
These are portability issues.
"../../binutils-990710/bfd/elflink.h", line 2112: warning: semantics of "<" change in ANSI C; use explicit cast
You are comparing a signed value with an unsigned value.
"../../binutils-990710/bfd/elflink.h", line 3082: operands have incompatible types: op ":"
"../../binutils-990710/bfd/elflink.h", line 3083: operands have incompatible types: op ":"
"../../binutils-990710/bfd/elflink.h", line 4787: operands have incompatible types: op ":"
"../../binutils-990710/bfd/elflink.h", line 4788: operands have incompatible types: op ":"
These are telling you that a use of ?: has incompatible types. In
this case it is because the type of bfd_put_8 is not void, unlike the
types of the other cases of the bfd_put conditional.
"../../binutils-990710/bfd/elflink.h", line 6362: warning: argument is incompatible with prototype: arg #1
bfd_elf_hash takes a pointer to unsigned char (this seems strange to
me, but maybe most callers to call it that way). This line is passing
it a pointer to char.
Ian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems compiling the latest snapshot
1999-07-10 17:52 ` Ian Lance Taylor
@ 1999-07-11 0:10 ` Mark Mitchell
0 siblings, 0 replies; 5+ messages in thread
From: Mark Mitchell @ 1999-07-11 0:10 UTC (permalink / raw)
To: ian; +Cc: kk, binutils
>>>>> "Ian" == Ian Lance Taylor <ian@zembu.com> writes:
Ian> "../../binutils-990710/bfd/elflink.h", line 2112: warning:
Ian> semantics of "<" change in ANSI C; use explicit cast
I will repair this.
Ian> These are telling you that a use of ?: has incompatible
Ian> types. In this case it is because the type of bfd_put_8 is
Ian> not void, unlike the types of the other cases of the bfd_put
Ian> conditional.
May we change bfd_put_8 to be consistent with the others?
Ian> bfd_elf_hash takes a pointer to unsigned char (this seems
Ian> strange to me, but maybe most callers to call it that way).
Ian> This line is passing it a pointer to char.
This is unrelated to my changes; it is presumably the result of:
1998-10-26 15:58 Ulrich Drepper <drepper@cygnus.com>
* elflink.h (elf_collect_hash_codes): New function. This function is
called for each exported symbol and we compute the ELF hash value for
it.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-07-11 0:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-10 7:34 Problems compiling the latest snapshot Koundinya.K
1999-07-10 10:07 ` Mark Mitchell
1999-07-10 10:35 ` H.J. Lu
1999-07-10 17:52 ` Ian Lance Taylor
1999-07-11 0:10 ` Mark Mitchell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).