|
Rockbox mail archiveSubject: Re: Error building cross-compilerRe: Error building cross-compiler
From: Jason Voegele <jason_at_jvoegele.com>
Date: Fri, 23 Jan 2009 14:38:25 -0500 On Friday 23 January 2009 02:12:59 pm Jason Voegele wrote: > On Friday 23 January 2009 10:49:44 am Mike . wrote: > > I wonder if your gcc install is broken. Can you system compile other > > programs? > > Well, it might not be a very good test, but I am able to compile and run a > simple "hello world" C program. See attached script session for example. > > Can you think of a more thorough test of my gcc that doesn't involve a > whole lot of dependency hunting? So after a little more digging, it looks like it is a problem with the libtool script that is bundled with binutils. Notice the error message: /bin/sh ./libtool [snip] libtool: link: `archive.lo' is not a valid libtool object That libtool script is in binutils/bfd/libtool. I can reproduce the error by changing to the binutils/bfd directory and executing the same libtool invocation that is done by make. However, if I replace "/bin/sh ./libtool" with "/usr/bin/libtool" (i.e. if I use the libtool installed from the Ubuntu repositories) it works fine. Maybe the version of gcc that I'm using produces object files that are incompatible with the version of libtool that is bundled with binutils-2.16.1. I'll experiment with some other gcc versions. -- Jason Voegele No matter how subtle the wizard, a knife in the shoulder blades will seriously cramp his style.Received on 2009-01-23 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |