public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16933] New: Compilation error for sh-coff-gcc little endian target
@ 2004-08-09 11:26 nitins2 at kpitcummins dot com
2004-08-09 15:45 ` [Bug c/16933] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: nitins2 at kpitcummins dot com @ 2004-08-09 11:26 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=16933
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/16933] Compilation error for sh-coff-gcc little endian target
2004-08-09 11:26 [Bug c/16933] New: Compilation error for sh-coff-gcc little endian target nitins2 at kpitcummins dot com
@ 2004-08-09 15:45 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-09 15:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-09 15:45 -------
*** This bug has been marked as a duplicate of 16932 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Summary|Compilation error for sh- |Compilation error for sh-
|coff-gcc little endian |coff-gcc little endian
|target |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16933
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-09 15:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-09 11:26 [Bug c/16933] New: Compilation error for sh-coff-gcc little endian target nitins2 at kpitcummins dot com
2004-08-09 15:45 ` [Bug c/16933] " 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).