This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16588] New: H8 / SH
- From: "nitins2 at kpitcummins dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jul 2004 12:03:20 -0000
- Subject: [Bug c/16588] New: H8 / SH
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
I have taken following source code version to build H8(COFF/ELF) and SH
(COFF/ELF) toolchain,
1. GCC(gcc-3.5.20040711).
2. binutils(binutils-040713).
3. newlib-1.12.0 (Dated 15/07/2004 from CVS).
While building toolchain for targets H8(COFF/ELF) and SH(COFF/ELF),
I am getting error as mentioned below at the stage of newlib building.
Kindly suggest how to remove this error.
Patch from following link has already been applied to these latest snapshots.
http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01251.html
**************************error text
********************************************
removed `build-newlib-1.12.0/h8300-elf/h8sx/int32/newlib/libm/config.status'
removed `build-newlib-1.12.0/h8300-elf/h8sx/int32/newlib/libm/Makefile'
/home/kpit/fsfsrc/downloads/newlib-1.12.0/newlib/libc/sys/sh/syscalls.c:182:
warning: 'struct tms' declared inside parameter list
/home/kpit/fsfsrc/downloads/newlib-1.12.0/newlib/libc/sys/sh/syscalls.c:182:
warning: its scope is only this definition or declaration, which is probably
not what you want
/home/kpit/fsfsrc/downloads/newlib-1.12.0/newlib/libc/sys/sh/syscalls.c: In
function `_sbrk':
/home/kpit/fsfsrc/downloads/newlib-1.12.0/newlib/libc/sys/sh/syscalls.c:9:
error: register name not specified for 'stack_ptr'
make[8]: *** [syscalls.o] Error 1
********************************************************************************
***
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 are released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Summary: H8 / SH
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nitins2 at kpitcummins dot com
CC: gcc-bugs at gcc dot gnu dot org,nitins2 at kpitcummins
dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: h8300-unknown-elf/coff , sh-unknown-elf/coff
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16588