public inbox for gentoo-mips@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-mips] bootstrap.sh on asus wl500g
@ 2005-09-16 13:34 Jason Pepas
  2005-09-16 13:42 ` Jason Pepas
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Jason Pepas @ 2005-09-16 13:34 UTC (permalink / raw
  To: gentoo-mips

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@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2005-09-16 19:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-16 13:34 [gentoo-mips] bootstrap.sh on asus wl500g Jason Pepas
2005-09-16 13:42 ` Jason Pepas
2005-09-16 13:48   ` Jason Pepas
2005-09-16 13:48 ` Stephen P. Becker
2005-09-16 13:52   ` Stephen P. Becker
2005-09-16 14:01   ` Jason Pepas
2005-09-16 14:28     ` Stephen P. Becker
2005-09-16 14:44       ` Jason Pepas
2005-09-16 15:44         ` Hardave Riar
2005-09-16 16:28           ` Jason Pepas
2005-09-16 19:00           ` Stephen P. Becker
2005-09-16 13:52 ` Hardave Riar
2005-09-16 14:02   ` Stuart Longland
2005-09-16 14:07   ` Jason Pepas
2005-09-16 14:25     ` Stephen P. Becker
2005-09-16 14:39       ` Jason Pepas
2005-09-16 15:37         ` Hardave Riar
2005-09-16 15:53           ` Jason Pepas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox