public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17167] New: FATAL:Symbol L_foo$stub already defined.
@ 2004-08-24 14:18 kminola at eng dot umd dot edu
  2004-08-24 15:18 ` [Bug target/17167] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kminola at eng dot umd dot edu @ 2004-08-24 14:18 UTC (permalink / raw)
  To: gcc-bugs

% uname -a
Darwin varro 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug  5 19:26:16 PDT 2004; 
root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC  Power Macintosh powerpc
% gcc -v
Reading specs from /private/var/automount/usr/local/gcc-3.4.1/powerpc-
Darwin/bin/../lib/gcc/powerpc-apple-darwin7.3.0/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --enable-languages=c --
prefix=/usr/local/gcc-3.4.1/powerpc-Darwin
Thread model: posix
gcc version 3.4.1
% cat foo.c
/* On powerpc-apple-darwin7.5.0 gcc-3.4.1 gives

% gcc -c foo.c
/var/tmp//ccdpYiCe.s:24:FATAL:Symbol L_foo$stub already defined.

This is a regression from gcc-3.3.3.  It does not seem
to happen on other architectures that I have tried.

It seems to be fixed in gcc-3.5-20040530.
*/

int foo(a)
  int a;
{
    int    foo();  /* if you remove this line, the bug disappears */

    foo(a);
    return 0;
}

%

-- 
           Summary: FATAL:Symbol L_foo$stub already defined.
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kminola at eng dot umd dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.5.0
  GCC host triplet: powerpc-apple-darwin7.5.0
GCC target triplet: powerpc-apple-darwin7.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17167


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/17167] [3.4 Regression] FATAL:Symbol L_foo$stub already defined.
  2004-08-24 14:18 [Bug c/17167] New: FATAL:Symbol L_foo$stub already defined kminola at eng dot umd dot edu
@ 2004-08-24 15:18 ` pinskia at gcc dot gnu dot org
  2004-08-24 21:00 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-24 15:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-24 15:17 -------
Testing a patch.

The patch which fixed on the mainline which I am back porting:
<http://gcc.gnu.org/ml/gcc-patches/2004-02/msg02647.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
          Component|c                           |target
     Ever Confirmed|                            |1
  GCC build triplet|powerpc-apple-darwin7.5.0   |
   GCC host triplet|powerpc-apple-darwin7.5.0   |
 GCC target triplet|powerpc-apple-darwin7.5.0   |*-darwin*
           Keywords|                            |wrong-code
      Known to fail|                            |3.4.0
      Known to work|                            |3.3.3 3.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-24 15:17:58
               date|                            |
            Summary|FATAL:Symbol L_foo$stub     |[3.4 Regression]
                   |already defined.            |FATAL:Symbol L_foo$stub
                   |                            |already defined.
   Target Milestone|---                         |3.4.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17167


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/17167] [3.4 Regression] FATAL:Symbol L_foo$stub already defined.
  2004-08-24 14:18 [Bug c/17167] New: FATAL:Symbol L_foo$stub already defined kminola at eng dot umd dot edu
  2004-08-24 15:18 ` [Bug target/17167] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-08-24 21:00 ` pinskia at gcc dot gnu dot org
  2004-08-29 19:09 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-24 21:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-24 21:00 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01933.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17167


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/17167] [3.4 Regression] FATAL:Symbol L_foo$stub already defined.
  2004-08-24 14:18 [Bug c/17167] New: FATAL:Symbol L_foo$stub already defined kminola at eng dot umd dot edu
  2004-08-24 15:18 ` [Bug target/17167] [3.4 Regression] " pinskia at gcc dot gnu dot org
  2004-08-24 21:00 ` pinskia at gcc dot gnu dot org
@ 2004-08-29 19:09 ` mmitchel at gcc dot gnu dot org
  2004-09-11 20:32 ` cvs-commit at gcc dot gnu dot org
  2004-09-11 20:33 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-29 19:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-08-29 19:09 -------
Postponed until GCC 3.4.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.2                       |3.4.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17167


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/17167] [3.4 Regression] FATAL:Symbol L_foo$stub already defined.
  2004-08-24 14:18 [Bug c/17167] New: FATAL:Symbol L_foo$stub already defined kminola at eng dot umd dot edu
                   ` (2 preceding siblings ...)
  2004-08-29 19:09 ` mmitchel at gcc dot gnu dot org
@ 2004-09-11 20:32 ` cvs-commit at gcc dot gnu dot org
  2004-09-11 20:33 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-11 20:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-09-11 20:32 -------
Subject: Bug 17167

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	pinskia@gcc.gnu.org	2004-09-11 20:32:24

Modified files:
	gcc/config     : darwin-protos.h darwin.c darwin.h 
	gcc            : ChangeLog 

Log message:
	2004-09-11  Andrew Pinski  <apinski@apple.com>
	
	PR target/17167
	backport from the mainline:
	2004-02-28  Andrew Pinski  <pinskia@physics.uc.edu>
	* config/darwin.h (machopic_finish): Output stub even if
	the symbol is already defined.
	2004-02-27  Dale Johannesen  <dalej@apple.com>
	* config/darwin.c (machopic_output_possible_stub_label):
	Remove.
	config/darwin-protos.h:  Ditto.
	config/darwin.h:  Remove call to it.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/darwin-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.29&r2=1.29.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/darwin.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.55.6.1&r2=1.55.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/darwin.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.65.4.2&r2=1.65.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.618&r2=2.2326.2.619



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17167


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/17167] [3.4 Regression] FATAL:Symbol L_foo$stub already defined.
  2004-08-24 14:18 [Bug c/17167] New: FATAL:Symbol L_foo$stub already defined kminola at eng dot umd dot edu
                   ` (3 preceding siblings ...)
  2004-09-11 20:32 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-11 20:33 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-11 20:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-11 20:33 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|3.3.3 4.0                   |3.3.3 4.0.0
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17167


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-09-11 20:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-24 14:18 [Bug c/17167] New: FATAL:Symbol L_foo$stub already defined kminola at eng dot umd dot edu
2004-08-24 15:18 ` [Bug target/17167] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-08-24 21:00 ` pinskia at gcc dot gnu dot org
2004-08-29 19:09 ` mmitchel at gcc dot gnu dot org
2004-09-11 20:32 ` cvs-commit at gcc dot gnu dot org
2004-09-11 20:33 ` pinskia at gcc dot gnu dot org

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).