Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Martin Michlmayr <tbm@cyrius.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: Re: undefined reference to `__lshrdi3' error with GCC 4.0
Date: Fri, 17 Feb 2006 13:57:48 +0000	[thread overview]
Message-ID: <20060217135748.GA28319@deprecation.cyrius.com> (raw)
In-Reply-To: <20060117190859.GA2061@linux-mips.org>

* Ralf Baechle <ralf@linux-mips.org> [2006-01-17 19:08]:
> > > arch/mips/kernel/built-in.o: In function `time_init':
> > > : undefined reference to `__lshrdi3'
> 
> Thanks to Martin Michlmayr's testing I now know this problem is limited
> to kernels built with gcc 4.0 and newer when optimizing for size.
...
> There is an awful lot of libgcc bits flying around in the kernel and I guess
> I'd be flamed for submitting even more ;-)  so I tried to come up with
> something to make most if not all unnecessary.  Still needs a little
> polishing but below for testing and commenting.

I think you've cleaned it up in the meantime.  Can you please send the
patch to lkml as a RFC?
-- 
Martin Michlmayr
http://www.cyrius.com/

      parent reply	other threads:[~2006-02-17 13:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17 13:48 undefined reference to `__lshrdi3' error with GCC 4.0 Martin Michlmayr
2006-01-17 14:17 ` P. Christeas
2006-01-17 15:14   ` Ralf Baechle
2006-01-17 15:50     ` P. Christeas
2006-01-17 16:21       ` Ralf Baechle
2006-01-17 19:08   ` Ralf Baechle
2006-01-17 19:38     ` Jan-Benedict Glaw
2006-01-17 20:11       ` Daniel Jacobowitz
2006-02-17 13:57     ` Martin Michlmayr [this message]

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=20060217135748.GA28319@deprecation.cyrius.com \
    --to=tbm@cyrius.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox