public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "nitins2 at kpitcummins dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/16933] New: Compilation error for sh-coff-gcc little endian target
Date: Mon, 09 Aug 2004 11:26:00 -0000	[thread overview]
Message-ID: <20040809112617.16933.nitins2@kpitcummins.com> (raw)

Hi,
I am getting following error while compiling the code for sh-coff little endian.

*********************test.c***************************
int main()
{
	printf("\nHello\n");
	return 0;
}
********************************************************************************
****************
Error comes for targets sh2/sh2e/sh3/sh3e.
command line 
>sh-coff-gcc -ml -m2 test.c
>sh-coff-gcc -ml -m2e test.c
>sh-coff-gcc -ml -m3 test.c
>sh-coff-gcc -ml -m3e test.c

*****************error text****************************************
../sh-coff/lib/libc.a(mprec.o)(.text+0x988):mprec.c: undefined reference to 
`__ashiftrt_r4_20'
****************************************************************************
If call to "printf" is removed from test code the error disappears.

I am using toolchain built from snapshots
1)gcc-3.4-20040730
2)newlib-1.12.0 CVS dated 07 July 2004
3)binutils-2.15

Same error is not observed in GCC-3.5-20040801 snapshot.

Kindly suggest how to solve this problem.

Thanks in advance.

Nitin Shah,
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools were released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
           Summary: Compilation error for sh-coff-gcc little endian target
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nitins2 at kpitcummins dot com
                CC: anilp1 at kpitcummins dot com,gcc-bugs at gcc dot gnu
                    dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh-unknown-coff


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


             reply	other threads:[~2004-08-09 11:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-09 11:26 nitins2 at kpitcummins dot com [this message]
2004-08-09 15:45 ` [Bug c/16933] " pinskia at gcc dot gnu dot org

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=20040809112617.16933.nitins2@kpitcummins.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).