All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: ralf@uni-koblenz.de
To: Karel van Houten <K.H.C.vanHouten@research.kpn.com>
Cc: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
	linux-mips@vger.rutgers.edu
Subject: MIPS egcs bug, was: working modutils for DECStation Linux ??
Date: Mon, 8 Feb 1999 06:12:20 +0100	[thread overview]
Message-ID: <19990208061220.A1699@uni-koblenz.de> (raw)
In-Reply-To: <199902071436.PAA11929@sparta.research.kpn.com>; from Karel van Houten on Sun, Feb 07, 1999 at 03:36:40PM +0100

On Sun, Feb 07, 1999 at 03:36:40PM +0100, Karel van Houten wrote:

> The '#ident' line makes the array initialisation incorrect. After removing
> this line, depmod compiles and works correctly.

Thanks for tracking this down.

> EGCS guru's, any hints?

Adding this to egcs-1.0.2/gcc/config/mips/linux.h at the bottom should
fix things:

/* Attach a special .ident directive to the end of the file to identify
   the version of GCC which compiled this code.  The format of the
   .ident string is patterned after the ones produced by native svr4
   C compilers.  */

#undef IDENT_ASM_OP
#define IDENT_ASM_OP ".ident"

/* Output #ident as a .ident.  */

#undef ASM_OUTPUT_IDENT
#define ASM_OUTPUT_IDENT(FILE, NAME) \
  fprintf (FILE, "\t%s\t\"%s\"\n", IDENT_ASM_OP, NAME);

I'll test this and make a real patch later.  Until that -fno-ident is the
silver bullet to avoid such sick effects.

IRIX people: I think the same bug also hits IRIX, RISC/os and others,
it's probably as long in gcc / egcs as I can think back.  At least for some
of the affected targets the above fix can not be used.

  Ralf

           reply	other threads:[~1999-02-08 22:05 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <199902071436.PAA11929@sparta.research.kpn.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990208061220.A1699@uni-koblenz.de \
    --to=ralf@uni-koblenz.de \
    --cc=K.H.C.vanHouten@research.kpn.com \
    --cc=linux-mips@fnet.fr \
    --cc=linux-mips@vger.rutgers.edu \
    --cc=linux@cthulhu.engr.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.