Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-mips
Navigation:
Lists: gentoo-mips: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-mips@g.o
From: Jason Pepas <cell@...>
Subject: bootstrap.sh on asus wl500g
Date: Fri, 16 Sep 2005 08:34:43 -0500
Hi,

I have an asus wl500g (same chip as the linksys wrt54g).  I put openwrt
on it and chrooted into a 
experimental/mips/embedded/stages/stage1-mipsel-uclibc-2005.0.tar.bz2
tarball, with the idea of changing the profile and rebuiling.

I set up make.conf like so:

    CFLAGS="-Os -pipe -march=mips1"
    CHOST="mipsel-unknown-linux-gnu"

and the profile like so:

    make.profile -> /usr/portage/profiles/default-linux/mips/2005.0

then ran scripts/bootstrap.sh


gnuconfig had some bus errors, but didn't stop the script:

>>> Install gnuconfig-20050602 into
>>> /var/tmp/portage/gnuconfig-20050602/image/ category sys-devel
man:
prepallstrip:
strip: strip --strip-unneeded
strip: strip --strip-unneeded
   usr/share/gnuconfig/config.sub
/usr/lib/portage/bin/prepstrip: line 19: 12405 Bus error
${STRIP} -g "${x}"
   usr/share/gnuconfig/config.sub
/usr/lib/portage/bin/prepstrip: line 19: 12406 Bus error
${STRIP} "${x}"
   usr/share/gnuconfig/config.sub
/usr/lib/portage/bin/prepstrip: line 19: 12407 Bus error
${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}"
readelf: Error: Unable to read in 0x656e bytes of section headers
readelf: Error: Not an ELF file - it has the wrong magic bytes at the
start
   usr/share/gnuconfig/config.guess
/usr/lib/portage/bin/prepstrip: line 19: 12411 Bus error
${STRIP} -g "${x}"
   usr/share/gnuconfig/config.guess
/usr/lib/portage/bin/prepstrip: line 19: 12412 Bus error
${STRIP} "${x}"
   usr/share/gnuconfig/config.guess
/usr/lib/portage/bin/prepstrip: line 19: 12413 Bus error
${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}"
readelf: Error: Unable to read in 0x6d65 bytes of section headers
readelf: Error: Not an ELF file - it has the wrong magic bytes at the
start
>>> Completed installing gnuconfig-20050602 into
>>> /var/tmp/portage/gnuconfig-20050602/image/


and glibc failed during configure:

checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile
See `config.log' for more details.

!!! ERROR: sys-libs/glibc-2.3.5 failed.
!!! Function glibc_do_configure, Line 938, Exitcode 1
!!! failed to configure glibc


any ideas?  I see the mips project website was just updated today, and I
just realized last night that the cobalt images are little endian (the
asus wl500g is little endian), so I'll try chrooting into one of those
images next.

Thanks,
Jason Pepas

-- 
gentoo-mips@g.o mailing list


Replies:
Re: bootstrap.sh on asus wl500g
-- Hardave Riar
Re: bootstrap.sh on asus wl500g
-- Stephen P. Becker
Re: bootstrap.sh on asus wl500g
-- Jason Pepas
Navigation:
Lists: gentoo-mips: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
asus wl-500g
Next by thread:
Re: bootstrap.sh on asus wl500g
Previous by date:
asus wl-500g
Next by date:
Re: bootstrap.sh on asus wl500g


Updated Jun 17, 2009

Summary: Archive of the gentoo-mips mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.