On Mon, Oct 26, 2015 at 12:49 PM, William Harrington <[email protected]>
wrote:

> On Mon, October 26, 2015 14:06, Michael Havens wrote:
> > On Sun, Oct 25, 2015 at 9:55 PM, Ken Moffat <[email protected]>
> > wrote:
> >
> >> What you have to do is work out in which directory configure was last
> >> run, i.e. identify the *newest* config.log file and then search for
> >> 'cannot compute suffix of object files'.  Use less or vim to search,
> >> e.g.
> >>
> >> /cannot\ compute\ suffix
> >>
> >> will probably take you to the right part of the file, then look back
> >> at the lines before that - you should see that a code fragment was
> >> created, probably with a message related to testing the suffix of
> >> object files, and then you should see what happened when configure
> >> tried to run that fragment.  i.e. A "real" descriptive error.
> >>
> >
> > That was easy..... it was on the line before:
> >
>
> > `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc':
>
> The config.log which has the error "cannot computer suffix of object
> files" is in that directory and you should notice that the configure
> script exited with status 1:
>
> /mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc/config.log
>
> When you go to the line in that log which gives the error, you'll find the
> error message either as or ld or gcc gave.
>
>
 http://pastebin.com/hBDE6XGf
So I am thinking this produced the error (found in the link above):

configure:3681: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }


however it may have been any of the following:
--
configure:3437: /mnt/lfs/sources/gcc-build/./gcc/xgcc
-B/mnt/lfs/sources/gcc-b
uild/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/
-B/tools/x86_64-lfs-linux-gnu/l
ib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem
/tools/x86_64-lfs-li
nux-gnu/sys-include    -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
--
configure:3437: /mnt/lfs/sources/gcc-build/./gcc/xgcc
-B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/
-B/tools/x86_64-lfs-linux-gnu/lib/ -isystem
/tools/x86_64-lfs-linux-gnu/include -isystem
/tools/x86_64-lfs-linux-gnu/sys-include    -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
--
configure:3695: error: in
`/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc':
configure:3698: error: cannot compute suffix of object files: cannot compile
--

Heck , it might be all of them! Do I need to search any and all errors or
is it fix them one at a time until it compiles?
You know, I was thinking that maybe this error has something to do with
building 64 bit.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to