* [gentoo-user] Error while `emerge grub`
@ 2011-06-09 5:54 Pandu Poluan
2011-06-09 22:46 ` [gentoo-user] " walt
0 siblings, 1 reply; 5+ messages in thread
From: Pandu Poluan @ 2011-06-09 5:54 UTC (permalink / raw
To: Gentoo-user
Okay, what's going on here...
While `emerge grub` I got "configure: error: unsupported CPU type"
Here's "/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/config.log" :
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GRUB configure 0.97, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --prefix=/usr --build=x86-pc-linux-gnu
--host=x86-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/lib --datadir=/usr/lib/grub
--exec-prefix=/ --disable-auto-linux-mem-opt --with-curses
## --------- ##
## Platform. ##
## --------- ##
hostname = livecd
uname -m = i686
uname -r = 2.6.36-gentoo-r8
uname -s = Linux
uname -v = #1 SMP Tue Apr 26 12:51:08 UTC 2011
/usr/bin/uname -p = Intel(R) Xeon(R) CPU X7460 @ 2.66GHz
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/lib/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.4.5
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2270: checking for a BSD-compatible install
configure:2338: result: /usr/bin/install -c
configure:2349: checking whether build environment is sane
configure:2399: result: yes
configure:2540: checking for a thread-safe mkdir -p
configure:2579: result: /bin/mkdir -p
configure:2592: checking for gawk
configure:2608: found /usr/bin/gawk
configure:2619: result: gawk
configure:2630: checking whether make sets $(MAKE)
configure:2652: result: yes
configure:2737: checking build system type
configure:2751: result: x86-pc-linux-gnu
configure:2771: checking host system type
configure:2784: result: x86-pc-linux-gnu
configure:2808: error: unsupported CPU type
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86-pc-linux-gnu
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
grub_cv_prog_objcopy_absolute=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL}
/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/missing --run
aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL}
/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/missing --run
tar'
AUTOCONF='${SHELL}
/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/missing --run
autoconf'
AUTOHEADER='${SHELL}
/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/missing --run
autoheader'
AUTOMAKE='${SHELL}
/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/missing --run
automake-1.11'
AWK='gawk'
BUILD_EXAMPLE_KERNEL_FALSE=''
BUILD_EXAMPLE_KERNEL_TRUE=''
CC=''
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DISKLESS_SUPPORT_FALSE=''
DISKLESS_SUPPORT_TRUE=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FSYS_CFLAGS=''
GRAPHICS_SUPPORT_FALSE=''
GRAPHICS_SUPPORT_TRUE=''
GREP=''
GRUB_CFLAGS=''
GRUB_LIBS=''
HERCULES_SUPPORT_FALSE=''
HERCULES_SUPPORT_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL}
/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/missing --run
makeinfo'
MKDIR_P='/bin/mkdir -p'
NETBOOT_DRIVERS=''
NETBOOT_SUPPORT_FALSE=''
NETBOOT_SUPPORT_TRUE=''
NET_CFLAGS=''
NET_EXTRAFLAGS=''
OBJCOPY=''
OBJEXT=''
PACKAGE='grub'
PACKAGE_BUGREPORT='bug-grub@gnu.org'
PACKAGE_NAME='GRUB'
PACKAGE_STRING='GRUB 0.97'
PACKAGE_TARNAME='grub'
PACKAGE_URL=''
PACKAGE_VERSION='0.97'
PATH_SEPARATOR=':'
PERL=''
RANLIB=''
SERIAL_SPEED_SIMULATION_FALSE=''
SERIAL_SPEED_SIMULATION_TRUE=''
SERIAL_SUPPORT_FALSE=''
SERIAL_SUPPORT_TRUE=''
SET_MAKE=''
SHELL='/bin/sh'
STAGE1_CFLAGS=''
STAGE2_CFLAGS=''
STRIP=''
VERSION='0.97'
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86-pc-linux-gnu'
build_alias='x86-pc-linux-gnu'
build_cpu='x86'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/lib/grub'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/'
host='x86-pc-linux-gnu'
host_alias='x86-pc-linux-gnu'
host_cpu='x86'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL}
/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/install-sh'
libdir='/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "GRUB"
#define PACKAGE_TARNAME "grub"
#define PACKAGE_VERSION "0.97"
#define PACKAGE_STRING "GRUB 0.97"
#define PACKAGE_BUGREPORT "bug-grub@gnu.org"
#define PACKAGE_URL ""
#define PACKAGE "grub"
#define VERSION "0.97"
configure: exit 1
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com
Google Talk: pepoluan
Y! messenger: pepoluan
MSN / Live: pepoluan@hotmail.com (do not send email here)
Skype: pepoluan
More on me: My LinkedIn Account My Facebook Account
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Error while `emerge grub`
2011-06-09 5:54 [gentoo-user] Error while `emerge grub` Pandu Poluan
@ 2011-06-09 22:46 ` walt
2011-06-10 0:16 ` Dale
2011-06-10 14:42 ` Pandu Poluan
0 siblings, 2 replies; 5+ messages in thread
From: walt @ 2011-06-09 22:46 UTC (permalink / raw
To: gentoo-user
On 06/08/2011 10:54 PM, Pandu Poluan wrote:
> Okay, what's going on here...
>
> While `emerge grub` I got "configure: error: unsupported CPU type"
>
> Here's "/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/config.log" :
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by GRUB configure 0.97, which was
> generated by GNU Autoconf 2.65. Invocation command line was
>
> $ ./configure --prefix=/usr --build=x86-pc-linux-gnu
Hm. That should be --build=i686-pc-linux-gnu (for 32-bit machines)
My first thought would be to grep through /etc/* for x86. At this
minute I don't have a second thought :(
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Error while `emerge grub`
2011-06-09 22:46 ` [gentoo-user] " walt
@ 2011-06-10 0:16 ` Dale
2011-06-10 14:42 ` Pandu Poluan
1 sibling, 0 replies; 5+ messages in thread
From: Dale @ 2011-06-10 0:16 UTC (permalink / raw
To: gentoo-user
walt wrote:
> On 06/08/2011 10:54 PM, Pandu Poluan wrote:
>
>> Okay, what's going on here...
>>
>> While `emerge grub` I got "configure: error: unsupported CPU type"
>>
>> Here's "/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/config.log" :
>>
>> This file contains any messages produced by compilers while
>> running configure, to aid debugging if configure makes a mistake.
>>
>> It was created by GRUB configure 0.97, which was
>> generated by GNU Autoconf 2.65. Invocation command line was
>>
>> $ ./configure --prefix=/usr --build=x86-pc-linux-gnu
>>
> Hm. That should be --build=i686-pc-linux-gnu (for 32-bit machines)
>
> My first thought would be to grep through /etc/* for x86. At this
> minute I don't have a second thought :(
>
>
I did a bit of googlin and the only thing I can think of is to make sure
gcc is pointing correctly. That would be gcc-config -l and that is a
little L or short for list. I mention in case you are a bit new.
Hope that helps.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Error while `emerge grub`
2011-06-09 22:46 ` [gentoo-user] " walt
2011-06-10 0:16 ` Dale
@ 2011-06-10 14:42 ` Pandu Poluan
2011-06-10 15:35 ` Alan McKinnon
1 sibling, 1 reply; 5+ messages in thread
From: Pandu Poluan @ 2011-06-10 14:42 UTC (permalink / raw
To: gentoo-user
On Fri, Jun 10, 2011 at 05:46, walt <w41ter@gmail.com> wrote:
> On 06/08/2011 10:54 PM, Pandu Poluan wrote:
>>
>> $ ./configure --prefix=/usr --build=x86-pc-linux-gnu
>
> Hm. That should be --build=i686-pc-linux-gnu (for 32-bit machines)
>
> My first thought would be to grep through /etc/* for x86. At this
> minute I don't have a second thought :(
>
Amazing! You're right!
Apparently I created a make.conf with x86-pc-linux-gnu instead of
i686-linux-gnu.
I'll blame that to installing too many x86_64-pc-linux-gnu systems :-P
( That said, isn't it ... inconsistent that the flags are ~amd64 and
~x86 while the CHOST can be x86_64 and i686 ... )
Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Error while `emerge grub`
2011-06-10 14:42 ` Pandu Poluan
@ 2011-06-10 15:35 ` Alan McKinnon
0 siblings, 0 replies; 5+ messages in thread
From: Alan McKinnon @ 2011-06-10 15:35 UTC (permalink / raw
To: gentoo-user
Apparently, though unproven, at 16:42 on Friday 10 June 2011, Pandu Poluan did
opine thusly:
> On Fri, Jun 10, 2011 at 05:46, walt <w41ter@gmail.com> wrote:
> > On 06/08/2011 10:54 PM, Pandu Poluan wrote:
> >> $ ./configure --prefix=/usr --build=x86-pc-linux-gnu
> >
> > Hm. That should be --build=i686-pc-linux-gnu (for 32-bit machines)
> >
> > My first thought would be to grep through /etc/* for x86. At this
> > minute I don't have a second thought :(
>
> Amazing! You're right!
>
> Apparently I created a make.conf with x86-pc-linux-gnu instead of
> i686-linux-gnu.
>
> I'll blame that to installing too many x86_64-pc-linux-gnu systems :-P
>
> ( That said, isn't it ... inconsistent that the flags are ~amd64 and
> ~x86 while the CHOST can be x86_64 and i686 ... )
Not at all inconsistent. Stupid, but not inconsistent.
AMD developed the 64 bit instructions set so it is correctly amd64. Intel
developed the 32 bit instruction set so they can call it what they want it to
be, which is x86.
Now, as for CHOST. Well, that comes from Red Hat who are deeply involved in
glibc and gcc and they insist that the OneAndOnlyTrueName(tm) is x86_64.
Red Hat are flat out wrong of course, but that doesn't stop them punting their
wrong idea and shoving it into the toolchain when we regular schmucks have to
deal with it.
So now you know. The stupid ones are very very consistent in their stupidity.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-10 16:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 5:54 [gentoo-user] Error while `emerge grub` Pandu Poluan
2011-06-09 22:46 ` [gentoo-user] " walt
2011-06-10 0:16 ` Dale
2011-06-10 14:42 ` Pandu Poluan
2011-06-10 15:35 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox