[Clfs-support] clfs 1.2.0 powerpc 5.14 configure: error: cannot compute suffix of object files: cannot compile

Tobi Ipaye tipaye at gmail.com
Wed Sep 5 04:48:21 PDT 2012


On 4 September 2012 21:06, William Harrington <berzerkula at cox.net> wrote:

>
> checking build system type... i486-cross-linux-gnu   If your uname -a
> output is for i686, why is this set to i486?
>

The i486 comes from setting CLFS_HOST in the step at chapter 5.3 Build
Variables:

export CLFS_HOST=$(echo ${MACHTYPE} | sed -e 's/-[^-]*/-cross/')

I tried:
clfs at ubuntu:/mnt/clfs/sources$ echo $MACHTYPE
i486-pc-linux-gnu

and:
clfs at ubuntu:/mnt/clfs/sources$ echo $(echo ${MACHTYPE} | sed -e
's/-[^-]*/-cross/')
i486-cross-linux-gnu

Also, is it safe to ignore the xgcc errors? Below:

configure:3028:  /mnt/clfs/sources/gcc-build/./gcc/xgcc
-B/mnt/clfs/sources/gcc-build/./gcc/
-B/cross-tools/powerpc-unknown-linux-gnu/bin/
-B/cross-tools/powerpc-unknown-linux-gnu/lib/ -isystem
/cross-tools/powerpc-unknown-linux-gnu/include -isystem
/cross-tools/powerpc-unknown-linux-gnu/sys-include    -V >&5
xgcc: error: unrecognized option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3039: $? = 1
configure:3028:  /mnt/clfs/sources/gcc-build/./gcc/xgcc
-B/mnt/clfs/sources/gcc-build/./gcc/
-B/cross-tools/powerpc-unknown-linux-gnu/bin/
-B/cross-tools/powerpc-unknown-linux-gnu/lib/ -isystem
/cross-tools/powerpc-unknown-linux-gnu/include -isystem
/cross-tools/powerpc-unknown-linux-gnu/sys-include    -qversion >&5
xgcc: error: unrecognized option '-qversion'
xgcc: fatal error: no input files
compilation terminated.


> Maybe you can check your command history with the book and maybe find a
> typo or it may in fact be an issue cause of Ubuntu. Who knows. I do know,
> when i did my cross tools and tools for my powerbook G4 before the big
> version updates to CLFS GIT (our development version) I had no issues and I
> used a debian squeeze install, and all went well. Was using x86_64 host in
> vmware.
>
> I've tried again from scratch, copying and pasting the commands from the
book, to avoid typos, and I face the same results :-(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20120905/174a3f63/attachment-0001.htm>


More information about the Clfs-support mailing list