List Info

Thread: 3.1 can't selfhost??




3.1 can't selfhost??
country flaguser name
Canada
2007-03-04 23:17:05
I have a WorkPad z50, which I have booting 3.1 (diskless,
for the time
being).  As usual, the first thing I did when I got it
working from the
release binaries was to try to rebuild from source.

In this case, that meant first building a kernel and
rebooting from it,
which went fine.  Then I created ~/DESTDIR and ~/OBJDIR and
running

===> build.sh command: ./build.sh -D /home/mouse/DESTDIR
-O /home/mouse/OBJDIR -U build

This ticked along nicely for about a day and a half, then
fell over:

do-lib-libc ===> .
dependall ===> lib/libc
#      yacc  libc/nsparser.c
...many lines snipped...
#     build  libc/libc.so.12.128.2
rm -f libc.so.12.128.2
/home/mouse/OBJDIR/tooldir.NetBSD-3.1-mipsel/bin/mipsel--net
bsd-gcc [...]
ln -sf libc.so.12.128.2 libc.so.12.tmp
mv -f libc.so.12.tmp libc.so.12
ln -sf libc.so.12.128.2 libc.so.tmp
mv -f libc.so.tmp libc.so
#   compile  libc/llib-lc.ln
rm -f llib-lc.ln
CC=/home/mouse/OBJDIR/tooldir.NetBSD-3.1-mipsel/bin/mipsel--
netbsd-gcc
/home/mouse/OBJDIR/tooldir.NetBSD-3.1-mipsel/bin/mipsel--net
bsd-lint -Cc Lint_bswap16.ln Lint_bswap32.ln
Lint_swapcontext.ln Lint_htonl.ln Lint_htons.ln
Lint_ntohl.ln Lint_ntohs.ln Lint_Ovfork.ln [...many
more...]
Lint pass2:
mipsel--netbsd-lint2: input file error: sysconf.ln

*** Failed target:  llib-lc.ln
*** Failed command: [the same huge command]
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libc
[...failure cascade up to the top level...]

Inspection reveals that OBJDIR/lib/libc/sysconf.ln is an
"ELF 32-bit
LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not
stripped" instead
of the text files that all the other .ln files in
OBJDIR/lib/libc are.
How it got that way is, of course, the mystery.

Is 3.1 hpcmips known to self-host, in which case I should be
digging
locally to find out why it isn't working for me?  Or is this
a real
bug?

I'm going to empty out DESTDIR and OBJDIR and try again, but
I expect
it to take another day and a half before I have any
results.

/~ The ASCII				der Mouse
 / Ribbon Campaign
 X  Against HTML	       mouserodents.montreal.qc.ca
/  Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3
27 4B

Re: 3.1 can't selfhost??
user name
2007-03-05 07:59:38
On 3/4/07, der Mouse <mouserodents.montreal.qc.ca>
wrote:
> Is 3.1 hpcmips known to self-host, in which case I
should be digging
> locally to find out why it isn't working for me?  Or is
this a real
> bug?
>
> I'm going to empty out DESTDIR and OBJDIR and try
again, but I expect
> it to take another day and a half before I have any
results.

There was another guy on the list doing pkgsrc builds (the
whole
thing) on an NEC Mobilepro 780. I know it's not comparing
apples to
apples, but it's proof that hpcmips can handle some compile
load on
some machine.

I can give it a shot on my 880. What branch of source are
you trying
to build? What commands are you using (did you build tools
first,
etc)?

FYI, I built the entire current tree a few weeks ago on my
Cobalt
Qube2. It's also mipsel. Might be some kind of machine
problem
particular to your machine.

Andy

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )