Hi again, I have restart everything again : - delete my SYSROOT directory - clean my crossdev
and start again the gentoo embedded handbook. I am using the xmerge script. I have done the following command: xmerge --root /home/newRoot baselayout glibc binutils And I still get some compilation errors, see the log attached. Any idead ??? cheers, Maxime On Wed, Mar 19, 2008 at 3:01 PM, maxime louvel <[EMAIL PROTECTED]> wrote: > Thanks a lot Jason, > > I gonna start again > > > On Wed, Mar 19, 2008 at 2:56 PM, Jason <[EMAIL PROTECTED]> wrote: > > > maxime louvel wrote: > > ... > > > I want to install a gentoo system on a mpc8548amc (powerpc based board > > from > > > Freescale). > > > The board is following the powerpc standard (32bits) but has no > > Floating > > > Point Unit. > > > > ok > > > > > Thus I have tryed to create a cross compiler > > powerpc-softfloat-linux-gnu. > > > I have followed the gentoo handbok to do that. > > > > I assume you mean the gentoo embedded handbook? [1] > > > > > > > > I have been able to emere portage (after a sync) for my CHOST. > > > > > > I have tried to > > > emerge baselayout glibc binutils > > > > > > There is what I start encountering trouble... > > > > From the error message, it look as though you were cross-emerging on > > your host. Were you using the xmerge script in [1]? > > > > At any rate, make sure to read Section 5 of [2] carefully: > > > > "Warning: xmerge defaults to ROOT=$SYSROOT. Because SYSROOT is where the > > cross toolchain is hosted on the host system, if you need to cross > > emerge any toolchain components (i.e. gcc, system libc, binutils, kernel > > headers, or gdb) for hosting on the target system, you do not want to > > use ROOT=$SYSROOT; use the --root option to specify a different > > directory instead. If you ignore this warning, you will end up > > overwriting your cross toolchain with the target system's toolchain > > components and breaking cross emerging completely, and the only way to > > fix it will be to delete your SYSROOT directory and rebuild your cross > > toolchain." > > > > I looked for this warning in [1] and couldn't find it. Perhaps it > > should be added? ;-) > > > > So, if this looks like what happened to you, you'll need to start over. > > Delete $SYSROOT, and crossdev -C the toolchain, then rebuild it. > > > > Once that's done, you can either use INSTALL_MASK as suggested by [1], > > or 'xmerge --root /tmp/newroot packagename' or do what I do, rsync it > > out of $SYSROOT with a good rsync filter file. > > > > hth, > > > > Jason. > > > > [1] - http://www.gentoo.org/proj/en/base/embedded/handbook/ > > [2] - http://www.gentoo.org/proj/en/base/embedded/cross-development.xml > > > > -- > > [email protected] mailing list > > > > > > > -- > Maxime Louvel > 0044 7964 5555 80 > 43 Allen road > Whitemore reans > WV60AW Wolverhampton > United Kingdom > -- Maxime Louvel 0044 7964 5555 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom
