View previous topic :: View next topic |
Author |
Message |
oldan Tux's lil' helper
Joined: 11 Dec 2003 Posts: 137 Location: Atlanta, Georgia, USA
|
Posted: Wed Mar 02, 2005 3:31 am Post subject: gcc-sparc64 failed to compile [RESOLVED] |
|
|
G'day!
I'm installing Gentoo on my new-to-me Sun Ultra-10 using a network connected stage 2 install (using the minimal ISO).
Everything compiled just fine until we got to the gcc compile (naturally!).
As it finished the *LAST* file for "emerge system" I got the following error:
Code: | make[2]: sparc64-unknown-linux-gnu-ar: Command not found |
I suspect the command that caused it is above in this mess:
Code: |
make[3]: Entering directory '/var/tmp/portage/gcc-sparc64-3.3.5/work/build/gcc'
make[3]: Leaving directory '/var/tmp/portage/gcc-sparc64-3.3.5/work/build/gcc'
rm -rf ./libgcc.a
sparc64-unknown-linux-gnu-ar rc ./libgcc.a libgcc/ (followed by a bunch of .o filenames) | .
Apparently this is in src_compile of the ebuild.
Any ideas what could be amiss?
--Oldan |
|
Back to top |
|
|
oldan Tux's lil' helper
Joined: 11 Dec 2003 Posts: 137 Location: Atlanta, Georgia, USA
|
Posted: Thu Mar 03, 2005 4:13 pm Post subject: Resolution |
|
|
Well, now - I'm happy to report that the problem has been resolved.
I took a careful look for the file that was being requested
Oldan wrote: | sparc64-unknown-linux-gnu-ar | .
I didn't find it. I did, however find
Newdan wrote: | sparc64-Sun4u-linux-gnu-ar | .
Then it hit me. I had been going through the documentation which clearly says:
Documentation wrote: | Although it may be tempting for non-stage1 users, they should not change CHOST setting in make.conf | .
But I did. I changed from sparc64-unknown to sparc64-Sun4u (attempting to specify my processor more correctly).
Clearly this is why you don't change your CHOSTS.
Part of the process creates an "ar" file specific to your host type which is called when compiling stuff.
So all you lookey lous who came by and found this post... put that in the back of your brain for the next time someone asks!
Hanging my head down for not reading the perfectly wonderful docs,
--oldan |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|