This is the mail archive of the mailing list for the gas2 project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bugs in gcc or binutils 2.7?

   From: (H.J. Lu)
   Date: Thu, 18 Jul 1996 00:25:30 -0700 (PDT)

   I got this with binutils 2.7 under i486-linux:

   # cat foo.c
   #pragma weak foo
   foo ()
   # gcc -c foo.c
   /tmp/cca21074.s: Assembler messages:
   /tmp/cca21074.s:17: Error: foo already declared as global

The assembler has issued this warning for over a year, including the
2.6 release.  I recently (July 5) changed the warning into an error.
Do you receive a warning when you use an earlier version of the