public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16932] New: Compilation error for sh-coff-gcc little endian target
@ 2004-08-09 11:24 nitins2 at kpitcummins dot com
  2004-08-09 15:45 ` [Bug c/16932] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: nitins2 at kpitcummins dot com @ 2004-08-09 11:24 UTC (permalink / raw)
  To: gcc-bugs

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=16932


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

end of thread, other threads:[~2004-12-13  9:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-09 11:24 [Bug c/16932] New: Compilation error for sh-coff-gcc little endian target nitins2 at kpitcummins dot com
2004-08-09 15:45 ` [Bug c/16932] " pinskia at gcc dot gnu dot org
2004-08-09 15:46 ` [Bug target/16932] " pinskia at gcc dot gnu dot org
2004-08-09 16:21 ` pinskia at gcc dot gnu dot org
2004-08-13 12:11 ` nitins2 at kpitcummins dot com
2004-08-14  1:45 ` wilson at specifixinc dot com
2004-08-18 13:02 ` nitins2 at kpitcummins dot com
2004-08-20  3:29 ` wilson at specifixinc dot com
2004-08-20 13:48 ` nitins2 at kpitcummins dot com
2004-08-21  1:53 ` wilson at specifixinc dot com
2004-12-10  3:17 ` pinskia at gcc dot gnu dot org
2004-12-10  6:06 ` nitins2 at kpitcummins dot com
2004-12-10 13:39 ` pinskia at gcc dot gnu dot org
2004-12-13  9:21 ` nitins2 at kpitcummins dot com

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