Using GCC 3.4.5 bundled with the stage3-sparc64-2006.0 tar file, the following directory contains files which prevent g++ programs compiling correctly: /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.5/include/g++-v3/sparc-unknown-linux-gnu/bits As well as corectly named files in this directory there are also 4 with the wrong file type. These are basic_file.h0000644 ctype_base.h0000644 gthr-posix.h0000644 os_defines.h0000644 Renaming these files to .h file type works fine, but could the stage3 tar file be updated please.
I am unable to replicate this on two different SPARCs or an AMD64 machine (all running Gentoo) using either tar or 7zip. Would you provide the method you used to unpack the stage3 and verify you have no hardware issues with the machine you experienced this on?
Using the stage3 tar ball at: ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/releases/sparc/2006.0/sparc64/stages/stage3-sparc64-2006.0.tar.bz2 As per the Gentoo SPARC handbook, the file is decompressed using tar xvjpf (having downloaded the file from another machine on my network and checked the md5 sum - which comes out good). The tar uncompiles cleanly. I've encountered this problem on two machines (Ultra1 Creator3D and Ultra1 Enterprise). The problem appears to be related to the tar itself, since I opened another copy of the tar using UlitmateZip under Windows 2000 and on the files list, os_defines is listed as a .h0000644 file. I think the problem is unique to this architecture since I haven't encountered it using the i686 stage3 tar ball.
I downloaded the same tarball and I am still unable to repllicate what you are seeing. Do you get the same with the 2006.1 stage3 (it was just released today)?
2006.1 is out and we've got no response about testing this, reopen with info otherwise.