On Fri, Aug 31, 2012 at 11:14:53AM -0500, Bruce Dubbs wrote: > Stefano Di Martino wrote: > > Hi everyone! > > I'm new to LFS and just a beginner. > > While compiling Binutils-2.2 Pass 2 I've got following error message: > > > > "checking for type equivalent to int8_t... configure: error: no 8-bit > > type, please report a bug" > > > > This bug is open since 2010! > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45084 > > You need ot tell us about your host system. What is the output of the > script in the Host Requirements section. > > -- Bruce
If Stefano's system _isn't_ unusual (that bug report relates to m68k, arm, and cross-compiling from cygwin : and it was closed as invalid - broken toolchain), he needs to consider the following: 1. For everything, use freshly untarred source, and (where used) a fresh -build directory. Using -pass1 source/build directories for -pass2 (or in chapter 6) can cause weird failures. 2. Find the appropriate config.log in binutils (there are several, in different subdirectories) - grep them for 'no 8-bit type'. When you find the one with that error message, look at it (in 'view', or 'less'), find the message using the '/' command [ /no\ 8-bit ] and then scroll up looking at approximately a screen or two before that message. Somewhere, there will be an error message from gcc or ld. It points to why the test-program for the 8-bit type failed. That is the key to fixing whatever is wrong. I'll note in passing that pass 2 binutils is the first thing you build after adjusting the toolchain in chapter 5. Perhaps something went wrong in the adjustment. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
