Gentoo Archives: gentoo-mips

From: Jason Pepas <cell@×××××××××××.edu>
To: gentoo-mips@l.g.o
Subject: [gentoo-mips] bootstrap.sh on asus wl500g
Date: Fri, 16 Sep 2005 13:35:06
Message-Id: 20050916133443.GA1024@ices.utexas.edu
1 Hi,
2
3 I have an asus wl500g (same chip as the linksys wrt54g). I put openwrt
4 on it and chrooted into a
5 experimental/mips/embedded/stages/stage1-mipsel-uclibc-2005.0.tar.bz2
6 tarball, with the idea of changing the profile and rebuiling.
7
8 I set up make.conf like so:
9
10 CFLAGS="-Os -pipe -march=mips1"
11 CHOST="mipsel-unknown-linux-gnu"
12
13 and the profile like so:
14
15 make.profile -> /usr/portage/profiles/default-linux/mips/2005.0
16
17 then ran scripts/bootstrap.sh
18
19
20 gnuconfig had some bus errors, but didn't stop the script:
21
22 >>> Install gnuconfig-20050602 into
23 >>> /var/tmp/portage/gnuconfig-20050602/image/ category sys-devel
24 man:
25 prepallstrip:
26 strip: strip --strip-unneeded
27 strip: strip --strip-unneeded
28 usr/share/gnuconfig/config.sub
29 /usr/lib/portage/bin/prepstrip: line 19: 12405 Bus error
30 ${STRIP} -g "${x}"
31 usr/share/gnuconfig/config.sub
32 /usr/lib/portage/bin/prepstrip: line 19: 12406 Bus error
33 ${STRIP} "${x}"
34 usr/share/gnuconfig/config.sub
35 /usr/lib/portage/bin/prepstrip: line 19: 12407 Bus error
36 ${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}"
37 readelf: Error: Unable to read in 0x656e bytes of section headers
38 readelf: Error: Not an ELF file - it has the wrong magic bytes at the
39 start
40 usr/share/gnuconfig/config.guess
41 /usr/lib/portage/bin/prepstrip: line 19: 12411 Bus error
42 ${STRIP} -g "${x}"
43 usr/share/gnuconfig/config.guess
44 /usr/lib/portage/bin/prepstrip: line 19: 12412 Bus error
45 ${STRIP} "${x}"
46 usr/share/gnuconfig/config.guess
47 /usr/lib/portage/bin/prepstrip: line 19: 12413 Bus error
48 ${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}"
49 readelf: Error: Unable to read in 0x6d65 bytes of section headers
50 readelf: Error: Not an ELF file - it has the wrong magic bytes at the
51 start
52 >>> Completed installing gnuconfig-20050602 into
53 >>> /var/tmp/portage/gnuconfig-20050602/image/
54
55
56 and glibc failed during configure:
57
58 checking for suffix of object files... configure: error: cannot compute
59 suffix of object files: cannot compile
60 See `config.log' for more details.
61
62 !!! ERROR: sys-libs/glibc-2.3.5 failed.
63 !!! Function glibc_do_configure, Line 938, Exitcode 1
64 !!! failed to configure glibc
65
66
67 any ideas? I see the mips project website was just updated today, and I
68 just realized last night that the cobalt images are little endian (the
69 asus wl500g is little endian), so I'll try chrooting into one of those
70 images next.
71
72 Thanks,
73 Jason Pepas
74
75 --
76 gentoo-mips@g.o mailing list

Replies

Subject Author
Re: [gentoo-mips] bootstrap.sh on asus wl500g Jason Pepas <cell@×××××××××××.edu>
Re: [gentoo-mips] bootstrap.sh on asus wl500g "Stephen P. Becker" <geoman@g.o>
Re: [gentoo-mips] bootstrap.sh on asus wl500g Hardave Riar <hardave@g.o>