Subject: Re: z50 kernel compile problem
To: Oliver Schweitzer <oliver.schweitzer@epost.de>
From: Thomas Miller <thomas.miller@lycos.com>
List: port-hpcmips
Date: 11/28/2002 15:27:21
Hi,

Perhaps it might help people to assist you if you would please post the commands you are using to build.  Did you use the build.sh script?  Did you read the BUILDING and UPDATING files in /usr/src?

My z50 is just now finishing building -current from last Saturday's sources.  (The z50 is making the comp.tgz release set as I write this.)  I used approximately the build command sequence suggested by Alan Barrett in his post to the current-users list on 12 Nov 2002.

This is the first time I have tried compiling -current on the z50, so I did everything with the default GENERIC configurations. 

Build times are roughly as follows:

tools   6 hours
kernel  5 hours
everything  110+ hours :-)

Hope this helps!

Kindest regards, 

Tom

thomas.miller@lycos.com 
(Thomas Miller)
(617) 248-8900

Any following text may include a message which was added by Lycos and which is not a communication from me.





On Thu, 28 Nov 2002 17:37:49  
 Oliver Schweitzer wrote:
>Hello,
>
>I am trying to compile -current on my z50 (not cross), starting with the 
>kernel, config adapted from Jolan Luff, and I get the following messages:
>
><code>
>making sure the compat library is up to date...
>building standard compat library
>/usr/src/tools/obj/tools.NetBSD-1.6-mipsel/bin/mipsel--netbsd-ranlib 
>libcompat.a
>making sure the kern library is up to date...
>building standard kern library
>/usr/src/tools/obj/tools.NetBSD-1.6-mipsel/bin/mipsel--netbsd-ranlib 
>libkern.a
>sh ../../../../conf/newvers.sh
>/usr/src/tools/obj/tools.NetBSD-1.6-mipsel/bin/mipsel--netbsd-gcc  
>-mips2 -EL -G
> 8 -mno-abicalls -msoft-float -ffreestanding  -Os -mmemcpy -Werror -Wall 
>-Wno-ma
>in -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes 
>-Wstrict-prototy
>pes -Wno-sign-compare -Wno-uninitialized  -Dhpcmips -I.  
>-I../../../../arch -I..
>/../../.. -nostdinc -DSOFTFLOAT -DMIPS3 -DMIPS3_4100 
>-DMSGBUFSIZE="0x1000" -DITE
>8181_LCD_CONTROL_ENABLE -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT  -c vers.c
>/usr/src/tools/obj/tools.NetBSD-1.6-mipsel/bin/mipsel--netbsd-ld -T 
>../../../../
>arch/mips/conf/kern.ldscript -Ttext 0x80001000 -e start -EL -G 8 
>--oformat elf32
>-littlemips -x -o netbsd ${SYSTEsubr_autoconf.o: In function `evcnt_init':
>../../../../kern/subr_autoconf.c(.text+0x160c): relocation truncated to 
>fit: R_M
>IPS_GPREL16 __start_link_set_evcnts
>../../../../kern/subr_autoconf.c(.text+0x1614): relocation truncated to 
>fit: R_M
>IPS_GPREL16 __stop_link_set_evcnts
>M_OBJ} vers.o
>*** Error code 1
>Stop.
>nbmake: stopped in /usr/src/sys/arch/hpcmips/compile/WORKPAD1
></code>
>
>After a lot of fiddling and reading, I don't know what to do now.
>
>Any help?
>
>Best wishes,
>
>OS
>
>


_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus