lee sudo | 23 May 13:28
Picon

HELP ME: issue about arm cross toolchain (cannot find gmp.so, mpfr.so...)

Dear all,

I built arm cross toolchain using the script in attachment. And finally succeed.
But I moved the toolchain from the dir (it was) to another one, e.g. from "/home/sudolee/toolchain/cross_toolchain" to "/home/sudolee/".
Then i compile my source code by new cross toolchain, but it cannot find some *.so, e.g. gmp.so mpfr.so cloog.so...

Anybody know about this issue?
Could anybody kindly help me?

--
Thanks & BR,
sudolee

Attachment (build-toolchain-0.3.sh): application/x-sh, 5626 bytes
_______________________________________________
Clfs-dev mailing list
Clfs-dev <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
zxx zxx | 8 May 04:43
Picon

Error at cross compiler final stage at Cross-Compiled Linux From Scratch - Sysroot - Version SVN-0.0.1-20090726-ARM

Hi all,
I am a newbie for cfs and want to build linux system for my arm board. Because I haven't find arm with eglibc in clfs1.2. So I have to choose Cross-Compiled Linux From Scratch - Sysroot - Version SVN-0.0.1-20090726-ARM book to build my arm linux system.

I meet a problem when I build gcc-4.4.1 cross compiler final according to "5.12 gcc-4.4.1-cross compiler final" , here is a error log:

-------------------------------------------------------------------------------------------------------------------------------------
checking for arm-unknown-linux-gnu-strip... /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/strip
checking for arm-unknown-linux-gnu-gcc... /home/zxx/sysroot/build/gcc-build/./gcc/xgcc -B/home/zxx/sysroot/build/gcc-build/./gcc/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/sys-include
checking for C compiler default output file name... configure: error: in `/home/zxx/sysroot/build/gcc-build/arm-unknown-linux-gnu/libgomp':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libgomp] Error 1
make[1]: Leaving directory `/home/zxx/sysroot/build/gcc-build'
make: *** [all] Error 2
exit
-------------------------------------------------------------------------------------------------------------------------------------


and there is libgomp 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 GNU OpenMP Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ /home/zxx/sysroot/build/gcc-4.4.1/libgomp/configure --cache-file=./config.cache --with-cross-host=i486-cross-linux-gnu --prefix=/home/zxx/sysroot/clfs/cross-tools --disable-multilib --with-sysroot=/home/zxx/sysroot/clfs --disable-nls --enable-shared --enable-__cxa_atexit --with-mpfr=/home/zxx/sysroot/clfs/cross-tools --with-gmp=/home/zxx/sysroot/clfs/cross-tools --with-ppl=/home/zxx/sysroot/clfs/cross-tools --with-cloog=/home/zxx/sysroot/clfs/cross-tools --enable-c99 --enable-long-long --enable-threads=posix --enable-languages=c,c++ --program-transform-name=s,^,arm-unknown-linux-gnu-, --with-target-subdir=arm-unknown-linux-gnu --build=i486-cross-linux-gnu --host=arm-unknown-linux-gnu --target=arm-unknown-linux-gnu --srcdir=../../../gcc-4.4.1/libgomp

## --------- ##
## Platform. ##
## --------- ##

hostname = zxx
uname -m = i686
uname -r = 2.6.24-26-generic
uname -s = Linux
uname -v = #1 SMP Tue Dec 1 18:37:31 UTC 2009

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/zxx/sysroot/clfs/cross-tools/bin
PATH: /bin
PATH: /usr/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1399: loading cache ./config.cache
configure:1516: checking for --enable-version-specific-runtime-libs
configure:1533: result: no
configure:1541: checking for --enable-generated-files-in-srcdir
configure:1558: result: no
configure:1621: checking build system type
configure:1639: result: i486-cross-linux-gnu
configure:1647: checking host system type
configure:1661: result: arm-unknown-linux-gnu
configure:1669: checking target system type
configure:1683: result: arm-unknown-linux-gnu
configure:1725: checking for a BSD-compatible install
configure:1791: result: /usr/bin/install -c
configure:1802: checking whether build environment is sane
configure:1845: result: yes
configure:1910: checking for gawk
configure:1926: found /usr/bin/gawk
configure:1936: result: gawk
configure:1946: checking whether make sets $(MAKE)
configure:1966: result: yes
configure:2042: checking for arm-unknown-linux-gnu-strip
configure:2068: result: /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/strip
configure:2220: checking for arm-unknown-linux-gnu-gcc
configure:2246: result: /home/zxx/sysroot/build/gcc-build/./gcc/xgcc -B/home/zxx/sysroot/build/gcc-build/./gcc/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/sys-include
configure:2530: checking for C compiler version
configure:2533: /home/zxx/sysroot/build/gcc-build/./gcc/xgcc -B/home/zxx/sysroot/build/gcc-build/./gcc/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/sys-include --version </dev/null >&5
xgcc (GCC for Cross-LFS 4.4.1.20090722) 4.4.1
Copyright (C) 2009 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:2536: $? = 0
configure:2538: /home/zxx/sysroot/build/gcc-build/./gcc/xgcc -B/home/zxx/sysroot/build/gcc-build/./gcc/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/sys-include -v </dev/null >&5
Reading specs from /home/zxx/sysroot/build/gcc-build/./gcc/specs
Target: arm-unknown-linux-gnu
Configured with: ../gcc-4.4.1/configure --prefix=/home/zxx/sysroot/clfs/cross-tools --build=i486-cross-linux-gnu --host=i486-cross-linux-gnu --target=arm-unknown-linux-gnu --disable-multilib --with-sysroot=/home/zxx/sysroot/clfs --disable-nls --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --with-mpfr=/home/zxx/sysroot/clfs/cross-tools --with-gmp=/home/zxx/sysroot/clfs/cross-tools --with-ppl=/home/zxx/sysroot/clfs/cross-tools --with-cloog=/home/zxx/sysroot/clfs/cross-tools --enable-c99 --enable-long-long --enable-threads=posix
Thread model: posix
gcc version 4.4.1 (GCC for Cross-LFS 4.4.1.20090722)
configure:2541: $? = 0
configure:2543: /home/zxx/sysroot/build/gcc-build/./gcc/xgcc -B/home/zxx/sysroot/build/gcc-build/./gcc/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/sys-include -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2546: $? = 1
configure:2569: checking for C compiler default output file name
configure:2572: /home/zxx/sysroot/build/gcc-build/./gcc/xgcc -B/home/zxx/sysroot/build/gcc-build/./gcc/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/sys-include -g -O2     conftest.c  >&5
/home/zxx/sysroot/build/gcc-build/./gcc/cc1: error while loading shared libraries: /home/zxx/sysroot/build/gcc-build/./gcc/libgcc_s.so.1: ELF file OS ABI invalid
configure:2575: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU OpenMP Runtime Library"
| #define PACKAGE_TARNAME "libgomp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgomp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2613: error: in `/home/zxx/sysroot/build/gcc-build/arm-unknown-linux-gnu/libgomp':
configure:2616: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i486-cross-linux-gnu
ac_cv_build_alias=i486-cross-linux-gnu
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_FCFLAGS_set=
ac_cv_env_FCFLAGS_value=
ac_cv_env_FC_set=
ac_cv_env_FC_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i486-cross-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-unknown-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-unknown-linux-gnu
ac_cv_host=arm-unknown-linux-gnu
ac_cv_host_alias=arm-unknown-linux-gnu
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/zxx/sysroot/build/gcc-build/./gcc/xgcc -B/home/zxx/sysroot/build/gcc-build/./gcc/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/sys-include'
ac_cv_prog_STRIP=/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/strip
ac_cv_prog_make_make_set=yes
ac_cv_target=arm-unknown-linux-gnu
ac_cv_target_alias=arm-unknown-linux-gnu

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/zxx/sysroot/build/gcc-4.4.1/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/zxx/sysroot/build/gcc-4.4.1/missing --run tar'
AR='/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ar'
AUTOCONF='${SHELL} /home/zxx/sysroot/build/gcc-4.4.1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/zxx/sysroot/build/gcc-4.4.1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/zxx/sysroot/build/gcc-4.4.1/missing --run automake-1.9'
AWK='gawk'
BUILD_INFO_FALSE=''
BUILD_INFO_TRUE=''
CC='/home/zxx/sysroot/build/gcc-build/./gcc/xgcc -B/home/zxx/sysroot/build/gcc-build/./gcc/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/sys-include'
CCDEPMODE=''
CFLAGS='-g -O2  '
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FC=''
FCFLAGS=''
FGREP=''
GENINSRC_FALSE=''
GENINSRC_TRUE='#'
GREP=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LD='/home/zxx/sysroot/build/gcc-build/./gcc/collect-ld'
LDFLAGS=''
LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE=''
LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO='arm-unknown-linux-gnu-lipo'
LN_S=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='makeinfo --split-size=5000000'
NM='/home/zxx/sysroot/build/gcc-build/./gcc/nm'
NMEDIT=''
OBJDUMP='/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/objdump'
OBJEXT=''
OMP_LOCK_25_ALIGN=''
OMP_LOCK_25_KIND=''
OMP_LOCK_25_SIZE=''
OMP_LOCK_ALIGN=''
OMP_LOCK_KIND=''
OMP_LOCK_SIZE=''
OMP_NEST_LOCK_25_ALIGN=''
OMP_NEST_LOCK_25_KIND=''
OMP_NEST_LOCK_25_SIZE=''
OMP_NEST_LOCK_ALIGN=''
OMP_NEST_LOCK_KIND=''
OMP_NEST_LOCK_SIZE=''
OPT_LDFLAGS=''
OTOOL64=''
OTOOL=''
PACKAGE='libgomp'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='GNU OpenMP Runtime Library'
PACKAGE_STRING='GNU OpenMP Runtime Library 1.0'
PACKAGE_TARNAME='libgomp'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
PERL=''
RANLIB='/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/ranlib'
SECTION_LDFLAGS=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='/home/zxx/sysroot/clfs/cross-tools/arm-unknown-linux-gnu/bin/strip'
USE_FORTRAN_FALSE=''
USE_FORTRAN_TRUE=''
VERSION='1.0'
XCFLAGS=''
XLDFLAGS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DSYMUTIL=''
ac_ct_DUMPBIN=''
ac_ct_FC=''
ac_ct_LIPO=''
ac_ct_NMEDIT=''
ac_ct_OBJDUMP=''
ac_ct_OTOOL64=''
ac_ct_OTOOL=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i486-cross-linux-gnu'
build_alias='i486-cross-linux-gnu'
build_cpu='i486'
build_os='linux-gnu'
build_vendor='cross'
config_path=''
datadir='${prefix}/share'
enable_shared='yes'
enable_static=''
exec_prefix='NONE'
host='arm-unknown-linux-gnu'
host_alias='arm-unknown-linux-gnu'
host_cpu='arm'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/zxx/sysroot/build/gcc-4.4.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libtool_VERSION=''
link_gomp=''
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
multi_basedir='../../../gcc-4.4.1/libgomp/..'
oldincludedir='/usr/include'
prefix='/home/zxx/sysroot/clfs/cross-tools'
program_transform_name='s,^,arm-unknown-linux-gnu-,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='arm-unknown-linux-gnu'
target_alias='arm-unknown-linux-gnu'
target_cpu='arm'
target_os='linux-gnu'
target_vendor='unknown'
toolexecdir='$(exec_prefix)/$(target_alias)'
toolexeclibdir='$(toolexecdir)/lib'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "libgomp"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "GNU OpenMP Runtime Library"
#define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
#define PACKAGE_TARNAME "libgomp"
#define PACKAGE_VERSION "1.0"
#define VERSION "1.0"

configure: exit 77

--------------------------------------------------------------------------------------------------------------------------------------



I search this error with google and find this guy have the same error with me:

http://comments.gmane.org/gmane.linux.lfs.clfs.devel/1442

According thie url, I find the there are 3 solution to solve this problem:

1. using 64bit linux to compile
2. change the configure of gcc (--enable-shared --> --disble-shared)
3. patch the gcc4.4.1

I think the best solution is patch gcc4.4.1, but this " http://quandary.cross-lfs.org/~animeloe/" is not exist.

Could you give me this patch or some advice to solve this problem?

thanks






_______________________________________________
Clfs-dev mailing list
Clfs-dev <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
John Harrigan | 2 May 22:00
Picon
Favicon

util-linux GIT-20120314-x86_64-Multilib

I'm mostly following the 2.x development version of the x86_64-Multilib
book.  My host is a pure 64bit LFS 7.1.  I'm following the chroot path,
using gcc-4.6.3 and util-linux-2.20.1.tar.bz2.

In chapter 8.2 the configure step of util-linux fails for me with an
error:

   checking needed scanf type modifiers... configure: error: in `/mnt/clfs/build/util-linux-2.20.1':
   configure: error: cannot run test program while cross compiling

The following change to the configure step allows util-linux to build
successfully.  (I haven't made it much past chapter 8.2 so I don't know
if this change is going to cause any problems later on)

echo "scanf_cv_type_modifier=as" > config.cache

 CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --disable-makeinstall-chown \
    --cache-file=config.cache
John Harrigan | 2 May 21:46
Picon
Favicon

eglibc patches GIT-20120314-x86_64-Multilib

In chapter 3.4 "Needed Patches" it lists two eglibc patches:

    http://patches.cross-lfs.org/dev/eglibc-2.15-r17386-dl_dep_fix-1.patch
    http://patches.cross-lfs.org/dev/eglibc-2.15-fixes-1.patch

The -r17386 patch doesn't exist and doesn't appear to be used in
 chapter 10.  Should it be removed from chapter 3.4 or am I missing
something?

Also, the md5sum on eglibc-2.15-fixes-1.patch doesn't check for me.
I get:
  872128f0f087f2036798680c3b118c65
 instead of
  fd640e7758e8560839bde1358ee44885

Can someone else check eglibc-2.15-fixes-1.patch to see if the value
in the book is incorrect or if it's something on my end?

Thanks.
Martin Ward | 30 Apr 14:00

Re Latest Pure x64 build

Hi

First of all thanks for the continued updates to CLFS.

Some observations and typos on the current build.

1. The date is wrong, surely should be GIT-20120415 ?

2.     5.14. Cross Binutils-2.22

    why? --with-cloog=/cross-tools --enable-cloog-backend=isl, surely 
binutils doesn't do graphite optimisation, I could understand this if 
binutils was built at the same time as gcc, under the same tree, but it 
doesn't make sense to me.

3.     6.9. Binutils-2.22
  ditto as above --with-ppl=/tools --with-cloog=/tools 
--enable-cloog-backend=isl

4.     7.5. E2fsprogs-1.42

in the compile section

LDFLAGS="-Wl,-rpath,/tools/lib64", surely not needed at the linker is set to tools/lib, if we are going
to keep it the it should beLDFLAGS="-Wl,-rpath,/tools/lib

5.     7.7. Kmod-6

--with-rootlibdir=/lib64, should be --with-rootlibdir=/lib

6.  7.8. Udev-181
BLKID_LIBS="-L/tools/lib64 -lblkid" should be BLKID_LIBS="-L/tools/lib -lblkid"
KMOD_LIBS="-L${CLFS}/lib64 -lkmod"  should be KMOD_LIBS="-L${CLFS}/lib -lkmod"

--libdir=/usr/lib64, should be --libdir=/usr/lib,

although I don't install in /&  /usr, I installs in /tools and create symlinks, seems cleaner to me

7. 10.15. Binutils-2.22

ditto item 2

8. 10.61. Udev-181

--disable-keymay should be --disable-keymap

probably should add --with-firmware-path=/lib/firmware, otherwise udev 
won't find kernel modules

9. Change in udev handling

I sorted out my own changes to the bootscripts and came up with 
something slightly different involving /run and /dev, will post my 
solution later

cheers

Martin
tony lemaire | 21 Mar 00:20
Picon

CLFS book patch for typo and update parted to version 3.1

Hello,
 
The extension are bz2, gz and xz
 
Someboby could update the book with that fix ?
 
Here are good links :
 
http://www.kernel.org/pub//linux/utils/kernel/kmod/kmod-6.tar.bz2
http://www.kernel.org/pub//linux/utils/kernel/kmod/kmod-6.tar.gz
http://www.kernel.org/pub//linux/utils/kernel/kmod/kmod-6.tar.xz
 
In the same change, is it possible to update kmod from version 6 to 7 ?
 
http://www.kernel.org/pub//linux/utils/kernel/kmod/kmod-7.tar.bz2
http://www.kernel.org/pub//linux/utils/kernel/kmod/kmod-7.tar.gz
http://www.kernel.org/pub//linux/utils/kernel/kmod/kmod-7.tar.xz
 
Regards,
 
Tony

 > From: code monkey <lfscodemonkey <at> gmail.com>
> To: CLFS development discussion <clfs-dev <at> lists.cross-lfs.org>
> Subject: [Clfs-dev] CLFS book patch for typo and update parted to
> version 3.1
> Message-ID:
> <CAKbJ4khkXZ++3WiRYEu3n1oNCiyHweYPepgoC4ywpN4B5vHdXg <at> mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> There is a typo in the name of the kmod package. The typo is
> that its extension is 'bz' instead of xz (or maybe it was meant to be
> bz2...).
>
> There is a new version of parted. It is 3.1.
>
> The attached patch fixes the typo and bumps parted to 3.1.

_______________________________________________
Clfs-dev mailing list
Clfs-dev <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
code monkey | 20 Mar 04:33
Picon

CLFS book patch for typo and update parted to version 3.1

Hello,

    There is a typo in the name of the kmod package.   The typo is
that its extension is 'bz' instead of xz (or maybe it was meant to be
bz2...).

     There is a new version of parted.   It is 3.1.

    The attached patch fixes the typo and bumps parted to 3.1.
Attachment (clfs_0319.patch): application/octet-stream, 1123 bytes
_______________________________________________
Clfs-dev mailing list
Clfs-dev <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
tony lemaire | 7 Mar 09:05
Picon

Upgrading some packages

Hello,
 
I have trying to upgrade some packages into CLFS.
Currently, i have upgrade successfully :
- GCC 4.6.2 to 4.6.3 (the patchs for 4.6.2 works with 4.6.3)
- Grep 2.10 to 2.11
- File 5.10 to 5.11
- Linux 3.2.6 to 3.2.9
 
I will try to upgrade this day :
- util-linux 2.20 to 2.21
- psmisc 22.15 to 22.16
- Udev 168 to 181
 
If it's needed, i will write or modify some patchs.
 
Those upgrades are OK on x86 and x86_64. I test on other architectures as soon as my x86 and x86_64 builds are completed.
 
Regards,
Tony
_______________________________________________
Clfs-dev mailing list
Clfs-dev <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
cross-lfs | 3 Mar 22:30

CLFS Render Error on meander.cross-lfs.org

CLFS-TRUNK-GIT-20120303

Validating x86 book...
Validating x86_64 book...
Validating sparc64 book...
Validating x86_64-64 book...
Validating sparc book...
Validating mips book...
Validating sparc64-64 book...
common/changelog.xml:21: element itemizedlist: Relax-NG validity error : Expecting element caution,
got title
common/changelog.xml:18: element para: Relax-NG validity error : Element sect1 has extra content: para
common/how.xml:8: element sect1: Relax-NG validity error : Expecting element toc, got sect1
common/how.xml:8: element sect1: Relax-NG validity error : Element chapter has extra content: sect1
introduction/sparc-chapter.xml:8: element chapter: Relax-NG validity error : Expecting element toc,
got chapter
/srv/userhome/clfs/repos/cross-lfs/BOOK/sparc-index.xml fails to validate
make[2]: *** [sparc-validate_dump-xml] Error 3
make[1]: *** [sparc-profiled-xml] Error 2
make: *** [sparc-html] Error 2
make: *** Waiting for unfinished jobs....
common/changelog.xml:21: element itemizedlist: Relax-NG validity error : Expecting element caution,
got title
common/changelog.xml:18: element para: Relax-NG validity error : Element sect1 has extra content: para
common/how.xml:8: element sect1: Relax-NG validity error : Expecting element toc, got sect1
common/how.xml:8: element sect1: Relax-NG validity error : Element chapter has extra content: sect1
introduction/x86-chapter.xml:8: element chapter: Relax-NG validity error : Expecting element toc,
got chapter
/srv/userhome/clfs/repos/cross-lfs/BOOK/x86-index.xml fails to validate
make[2]: *** [x86-validate_dump-xml] Error 3
make[1]: *** [x86-profiled-xml] Error 2
make: *** [x86-html] Error 2
common/changelog.xml:21: element itemizedlist: Relax-NG validity error : Expecting element caution,
got title
common/changelog.xml:18: element para: Relax-NG validity error : Element sect1 has extra content: para
common/how.xml:8: element sect1: Relax-NG validity error : Expecting element toc, got sect1
common/how.xml:8: element sect1: Relax-NG validity error : Element chapter has extra content: sect1
introduction/mips-chapter.xml:8: element chapter: Relax-NG validity error : Expecting element toc,
got chapter
/srv/userhome/clfs/repos/cross-lfs/BOOK/mips-index.xml fails to validate
make[2]: *** [mips-validate_dump-xml] Error 3
make[1]: *** [mips-profiled-xml] Error 2
make: *** [mips-html] Error 2
common/changelog.xml:21: element itemizedlist: Relax-NG validity error : Expecting element caution,
got title
common/changelog.xml:18: element para: Relax-NG validity error : Element sect1 has extra content: para
common/how.xml:8: element sect1: Relax-NG validity error : Expecting element toc, got sect1
common/how.xml:8: element sect1: Relax-NG validity error : Element chapter has extra content: sect1
introduction/x86_64-64-chapter.xml:8: element chapter: Relax-NG validity error : Expecting element
toc, got chapter
/srv/userhome/clfs/repos/cross-lfs/BOOK/x86_64-64-index.xml fails to validate
make[2]: *** [x86_64-64-validate_dump-xml] Error 3
make[1]: *** [x86_64-64-profiled-xml] Error 2
make: *** [x86_64-64-html] Error 2
common/changelog.xml:21: element itemizedlist: Relax-NG validity error : Expecting element caution,
got title
common/changelog.xml:18: element para: Relax-NG validity error : Element sect1 has extra content: para
common/how.xml:8: element sect1: Relax-NG validity error : Expecting element toc, got sect1
common/how.xml:8: element sect1: Relax-NG validity error : Element chapter has extra content: sect1
introduction/sparc64-64-chapter.xml:8: element chapter: Relax-NG validity error : Expecting
element toc, got chapter
/srv/userhome/clfs/repos/cross-lfs/BOOK/sparc64-64-index.xml fails to validate
make[2]: *** [sparc64-64-validate_dump-xml] Error 3
make[1]: *** [sparc64-64-profiled-xml] Error 2
make: *** [sparc64-64-html] Error 2
common/changelog.xml:21: element itemizedlist: Relax-NG validity error : Expecting element caution,
got title
common/changelog.xml:18: element para: Relax-NG validity error : Element sect1 has extra content: para
common/how.xml:8: element sect1: Relax-NG validity error : Expecting element toc, got sect1
common/how.xml:8: element sect1: Relax-NG validity error : Element chapter has extra content: sect1
introduction/x86_64-chapter.xml:8: element chapter: Relax-NG validity error : Expecting element
toc, got chapter
/srv/userhome/clfs/repos/cross-lfs/BOOK/x86_64-index.xml fails to validate
make[2]: *** [x86_64-validate_dump-xml] Error 3
make[1]: *** [x86_64-profiled-xml] Error 2
make: *** [x86_64-html] Error 2
common/changelog.xml:21: element itemizedlist: Relax-NG validity error : Expecting element caution,
got title
common/changelog.xml:18: element para: Relax-NG validity error : Element sect1 has extra content: para
common/how.xml:8: element sect1: Relax-NG validity error : Expecting element toc, got sect1
common/how.xml:8: element sect1: Relax-NG validity error : Element chapter has extra content: sect1
introduction/sparc64-chapter.xml:8: element chapter: Relax-NG validity error : Expecting element
toc, got chapter
/srv/userhome/clfs/repos/cross-lfs/BOOK/sparc64-index.xml fails to validate
make[2]: *** [sparc64-validate_dump-xml] Error 3
make[1]: *** [sparc64-profiled-xml] Error 2
make: *** [sparc64-html] Error 2
tony lemaire | 2 Mar 16:11
Picon

EGlibC 2.15 configure script error

Hello,

I've seen an error into all eglibc configure scripts in all platforms .
In command, you say us to write (example chapter 10.7 EglibC-2.15 Version GIT-20120229-x86) :
CFLAGS="-march=$(cut -d- -f1 <<< $MACHTYPE) \ -mtune=generic -g -O2" ../eglibc-2.15/configure --prefix=/usr \ --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ --libexecdir=/usr/lib/eglibc

But the folder name is eglibc-2_15. The right configure command should be

CFLAGS="-march=$(cut -d- -f1 <<< $MACHTYPE) \ -mtune=generic -g -O2" ../eglibc-2_15/configure --prefix=/usr \ --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ --libexecdir=/usr/lib/eglibc

It is not critical, but more convenient to copy/paste or scripting if we are not careful.

Regards,
Tony
_______________________________________________
Clfs-dev mailing list
Clfs-dev <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
code monkey | 25 Feb 23:05
Picon

CLFS patch for redundant and missing rdisc targets in iputils make

This is related to what I reported before.   rdisc is missing from the
multilib build of iputils.   rdisc was added before the release of
1.2.0 but it got added to the common build of iputils rather than to
the multilib build.

The attached patch removes the extra rdisc from common and adds it to
the multilib build of iputils.
Attachment (clfsrdisc.patch): application/octet-stream, 1368 bytes
_______________________________________________
Clfs-dev mailing list
Clfs-dev <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Gmane