This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
status porting kde2 - ld crashes
- To: "Binutils" <binutils at sources dot redhat dot com>
- Subject: status porting kde2 - ld crashes
- From: "Ralf Habacker" <Ralf dot Habacker at saght dot tessag dot com>
- Date: Thu, 31 May 2001 09:26:46 +0200
Hi Paul,
The current state on cpmpiling kde2 is, that kdesupport and kdecore are
compiled, but while compiling kdeui the linker crashes after consuming 390
MB RAM. I have looked in the source and found that it crashes in
bfd_find_target() (see below).
Do you have any ideas, what I can do ?
Regards
Ralf
const bfd_target *
bfd_find_target (target_name, abfd)
const char *target_name;
bfd *abfd;
{
const char *targname;
const bfd_target *target;
if (target_name != NULL)
targname = target_name;
else
targname = getenv ("GNUTARGET");
/* This is safe; the vector cannot be null */
if (targname == NULL || strcmp (targname, "default") == 0)
{
abfd->target_defaulted = true;
if (bfd_default_vector[0] != NULL)
abfd->xvec = bfd_default_vector[0];
else
abfd->xvec = bfd_target_vector[0];
return abfd->xvec;
}
--crashes on setting.....---------------------------
abfd->target_defaulted = false;
----------------------------------------------------
target = find_target (targname);
if (target == NULL)
return NULL;
abfd->xvec = target;
return target;
}
Ralf Habacker
EMail: Ralf@habacker.de
Ralf.Habacker@saght.tessag.com