You are not logged in.
Hi, i'd like to have Archlinux on a machine with a Geode LX800, i'm trying to follow this Wiki but
pacman -S cvsup ccache libtar libolis not correct (i can't find cvsup and libol anywhere)
Moreover i've modified the makepkg.conf, since gcc 4.3.x provides a geode optimization, adding:
export CC="ccache gcc"
export CPP="ccache cpp"
export CXX="ccache g++"
export CARCH="i586"
export PKGDEST=/home/marco/i586/core
export CHOST="i586-pc-linux-gnu"
export CFLAGS="-march=geode -Os -pipe -fomit-frame-pointer"
export CXXFLAGS="${CFLAGS}"then i've read:
There are two bugs in the gcc-4.0.2-1 package, do the following to fix them.
* remove the compile backward compatible gcc-3.x dynamic library.
* add a --host=$CHOST in compile gcc-4.0.2 line like following code./configure --host=$CHOST ...
That i couldn't really understand but i've skipped it beacuse i thought that dued it's a gcc-4.0.2 bug i could skip it...was I wrong?
And then i've tried to use makeworld as suggested on the wiki but with no results, the first package on the list acl gives:
checking for gcc... ccache gcc
checking for C compiler default output file name...
configure: error: in `/var/abs/i586/core/acl/src/acl-2.2.47':
configure: error: C compiler cannot create executables
See `config.log' for more details.
autoconf
./configure \
--prefix=/ \
--exec-prefix=/ \
--sbindir=/bin \
--bindir=/usr/bin \
--libdir=/lib \
--libexecdir=/usr/lib \
--enable-lib64=yes \
--includedir=/usr/include \
--mandir=/usr/share/man \
--datadir=/usr/share \
$LOCAL_CONFIGURE_OPTIONS
checking for gcc... ccache gcc
checking for C compiler default output file name...
configure: error: in `/var/abs/i586/core/acl/src/acl-2.2.47':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [include/builddefs] Error 77and in config.log i find:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --prefix=/ --exec-prefix=/ --sbindir=/bin --bindir=/usr/bin --libdir=/lib --libexecdir=/usr/lib --enable-lib64=yes --includedir=/usr/include --mandir=/usr/share/man --datadir=/usr/share
## --------- ##
## Platform. ##
## --------- ##
hostname = zonzock
uname -m = x86_64
uname -r = 2.6.27-MARCO
uname -s = Linux
uname -v = #1 SMP Mon Sep 29 21:30:52 CEST 2008
/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
/bin/uname -X = unknown
/bin/arch = x86_64
/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/ccache/bin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/share/eclipse
PATH: /opt/kde/bin
PATH: /usr/bin/perlbin/site
PATH: /usr/bin/perlbin/vendor
PATH: /usr/bin/perlbin/core
PATH: /opt/qt/bin
PATH: /opt/matlab/bin
PATH: /opt/matlab/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1938: checking for gcc
configure:1965: result: ccache gcc
configure:2197: checking for C compiler version
configure:2205: ccache gcc --version >&5
gcc (GCC) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2209: $? = 0
configure:2216: ccache gcc -v >&5
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.3.2 (GCC)
configure:2220: $? = 0
configure:2227: ccache gcc -V >&5
gcc: '-V' option must have argument
configure:2231: $? = 1
configure:2254: checking for C compiler default output file name
configure:2276: ccache gcc -march=geode -Os -pipe -fomit-frame-pointer conftest.c >&5
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
configure:2280: $? = 1
configure:2318: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2324: error: in `/var/abs/i586/core/acl/src/acl-2.2.47':
configure:2327: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value='ccache gcc'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=geode -Os -pipe -fomit-frame-pointer'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='ccache cpp'
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC='ccache gcc'
## ----------------- ##
## Output variables. ##
## ----------------- ##
AWK=''
CC='ccache gcc'
CFLAGS='-march=geode -Os -pipe -fomit-frame-pointer'
CPP='ccache cpp'
CPPFLAGS=''
DEFS=''
ECHO=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKE=''
MAKEDEPEND=''
MSGFMT=''
MSGMERGE=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RPM=''
RPMBUILD=''
SED=''
SHELL='/bin/sh'
SORT=''
TAR=''
XGETTEXT=''
ZIP=''
ac_ct_CC='ccache gcc'
awk=''
bindir='/usr/bin'
build_alias=''
cc=''
datadir='/usr/share'
datarootdir='${prefix}/share'
debug_build='-DDEBUG'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
echo=''
enable_gettext='yes'
enable_lib64='yes'
enable_shared='yes'
exec_prefix='/'
have_zipped_manpages=''
host_alias=''
htmldir='${docdir}'
includedir='/usr/include'
infodir='${datarootdir}/info'
libattr=''
libdir='/lib'
libdirsuffix=''
libexecdir='/usr/lib'
libtool=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
make=''
makedepend=''
malloc_lib=''
mandir='/usr/share/man'
msgfmt=''
msgmerge=''
oldincludedir='/usr/include'
opt_build='-g -O2'
pdfdir='${docdir}'
pkg_distribution='Linux'
pkg_group='root'
pkg_name='acl'
pkg_platform='linux'
pkg_release='1'
pkg_user='root'
pkg_version='2.2.47'
prefix='/'
program_transform_name='s,x,x,'
psdir='${docdir}'
rpm=''
rpm_version=''
rpmbuild=''
sbindir='/bin'
sed=''
sharedstatedir='${prefix}/com'
sort=''
sysconfdir='${prefix}/etc'
tar=''
target_alias=''
xgettext=''
zip=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
configure: exit 77How could i solve my problem?
I could go with another distro (i.e. Debian) but i'm too at ease with Arch and i'd like to port it on that machine (and i'd like to have a recent kernel too)...thanks a lot
Last edited by Demind (2008-09-29 23:05:32)
Offline
I solved this and bit a bit i'm trying to build an usable distro...if anyone is interested please post here or write a mail.
Offline
The wiki article hasn't been updated in 3 years, so I wouldn't wonder too much about some quirks.
Your problem comes from the fact you're running Arch64.
I don't know what would be the best way for cross-building, but I suspect it starts with a 32-bit chroot. See mkarchroot -> http://projects.archlinux.org/?p=devtools.git;a=tree
1000
Offline
The wiki article hasn't been updated in 3 years, so I wouldn't wonder too much about some quirks.
Your problem comes from the fact you're running Arch64.
I don't know what would be the best way for cross-building, but I suspect it starts with a 32-bit chroot. See mkarchroot -> http://projects.archlinux.org/?p=devtools.git;a=tree
I'm working in a 32-bit chroot now in fact...without mkarchroot hope this works thanks!
Offline
Could you provide some more info on how to obtain a working i586 installation starting from a bare metal i586 machine and an i686 Arch installation?
Do I need to create an install CD or can I start with lowarch http://www.lowarch.org/ and update packages?
Any help would be really welcome
Offline
i will attempt this whole i586 stuff too in some time (also with a fanless Geode machine) and I think I'll update the wiki afterwards if I can figure out how to ![]()
cheers Barde
Offline