[ale] g++ problem resolving '__builtin_delete' in cross compilation/lin
John Mills
Jmills at TGA.com
Thu Jun 17 17:40:34 EDT 1999
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01BEB90A.07D744F4
Content-Type: text/plain;
charset="ISO-8859-1"
I built a partial set of ecosSWtools-990319 targeting the SH-2 from a
Linux/RH6.0 installation which appears to compile and link properly for
simple 'C' source. Moving to 'C++', I also get executables which map
properly to my target board, and better yet, produce debug data sufficient
for an Hitachi debugger to step through the code from source level.
When I link, I have an undefined reference to '__builtin_delete' at exit
where the C++ object is deleted. (I have no actual destructor nor
dynamically allocated storage for the simple example.) If I simply edit the
assembly language and remove the call to '__builtin_delete' the code links
and runs fine.
I looked through my provisional libs, and those for the established
mips-tx39-elf target, without finding where this might have arisen and
should be resolved. There is a remark in 'gcc/Changelog.egcs', on Nov 20,
1997, to the effect:
"* libgcc2.c: Remove __builtin_new, [...], __builtin_delete, and [...]."
Can anyone suggest what I need to provide here? Thanks.
John Mills, Sr. Software Engineer
TGA Technologies, Inc.
100 Pinnacle Way, Suite 140
e-mail: jmills at tga.com
Norcross, GA 30071-3633
Phone: 770-421-2100 ext.124 (voice)
770-449-7740 (FAX)
------_=_NextPart_001_01BEB90A.07D744F4
Content-Type: text/html;
charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
</pre>
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DISO-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2232.0">
<TITLE>g++ problem resolving '__builtin_delete' in cross =
compilation/linkage</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=3D2>I built a partial set of ecosSWtools-990319 targeting =
the SH-2 from a Linux/RH6.0 installation which appears to compile and =
link properly for simple 'C' source. Moving to 'C++', I also get =
executables which map properly to my target board, and better yet, =
produce debug data sufficient for an Hitachi debugger to step through =
the code from source level.</FONT></P>
<P><FONT SIZE=3D2>When I link, I have an undefined reference to =
'__builtin_delete' at exit where the C++ object is deleted. (I have no =
actual destructor nor dynamically allocated storage for the simple =
example.) If I simply edit the assembly language and remove the call to =
'__builtin_delete' the code links and runs fine.</FONT></P>
<P><FONT SIZE=3D2>I looked through my provisional libs, and those for =
the established mips-tx39-elf target, without finding where this might =
have arisen and should be resolved. There is a remark in =
'gcc/Changelog.egcs', on Nov 20, 1997, to the effect:</FONT></P>
<P><FONT SIZE=3D2>"* libgcc2.c: Remove __builtin_new, [...], =
__builtin_delete, and [...]."</FONT>
</P>
<P><FONT SIZE=3D2>Can anyone suggest what I need to provide here? =
Thanks.</FONT>
</P>
<P><FONT SIZE=3D2> John Mills, Sr. Software Engineer</FONT>
<BR><FONT SIZE=3D2> TGA Technologies, Inc.</FONT>
<BR><FONT SIZE=3D2> 100 Pinnacle Way, Suite 140</FONT>
<BR><FONT SIZE=3D2> e-mail: jmills at tga.com</FONT>
<BR><FONT SIZE=3D2> Norcross, GA 30071-3633</FONT>
<BR><FONT SIZE=3D2> Phone: 770-421-2100 ext.124 (voice)</FONT>
<BR><FONT SIZE=3D2> =
770-449-7740 (FAX)</FONT>
</P>
</BODY>
</HTML>
<pre>
------_=_NextPart_001_01BEB90A.07D744F4--
More information about the Ale
mailing list