DragonFly users List (threaded) for 2007-07
DragonFly BSD
DragonFly users List (threaded) for 2007-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: compiling stops in bootstraps stage


From: "Noah yan" <noah.yan@xxxxxxxxx>
Date: Wed, 25 Jul 2007 21:13:34 -0600

i am taking off.

some progress when i look into the error, see below. the error is from
the latest patch command that calls mmap function in
/usr/src/usr.bin/patch/inp.c. since in my installation, the
kernel/modules are newer than world (I have buildworld, buildkernel,
installkernel succeeded, but install world failed in the middle). Is
the mmap in libc changed and causing this problem. please advice.

thanks


/usr/src/usr.bin/patch/patch -o sh.exp.c -i sh.exp.c.patch /usr/src/bin/csh/../../contrib/tcsh/sh.exp.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$DragonFly: src/bin/csh/sh.exp.c.patch,v 1.1 2004/07/27 21:01:44 dillon Exp $ |Index: sh.exp.c |=================================================================== |RCS file: /cvs/src/contrib/tcsh/sh.exp.c,v |retrieving revision 1.1 |diff -u -r1.1 sh.exp.c |--- sh.exp.c 17 Jun 2003 02:47:06 -0000 1.1 |+++ sh.exp.c 27 Jul 2004 20:25:12 -0000 -------------------------- mmap failed: Invalid argument Patching file /usr/src/bin/csh/../../contrib/tcsh/sh.exp.c using Plan B... Segmentation fault (core dumped)


On 7/25/07, Noah yan <noah.yan@gmail.com> wrote:
Not sure the following compling failure is for all or just my case.
That is from lates source base, but before that, my installworld did
not complete to the end. i suspect that partially installed world
causes the following error. appreciate if you have any hints or
comments on this.

Yonghong

cc -O -pipe -mtune=pentiumpro   -Wunknown-pragmas -Wsystem-headers
-Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls   -static -o mv mv.o
sh /usr/src/tools/install.sh -s -o root -g wheel -m 555   mv
/usr/obj/usr/src/btools_i386/bin
echo "===> bin/csh (bootstrap-tools)";  cd /usr/src/bin/csh;  make
DIRPRFX=bin/csh/ obj;  make DIRPRFX=bin/csh/ depend;  make
DIRPRFX=bin/csh/ all;  make DIRPRFX=bin/csh/
DESTDIR=/usr/obj/usr/src/btools_i386 install
===> bin/csh (bootstrap-tools)
/usr/obj/usr/src/btools_i386/usr/src/bin/csh created for /usr/src/bin/csh
grep '[FV]_' /usr/src/bin/csh/../../contrib/tcsh/ed.defns.c | grep
'^#define' >> ed.defns.h
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
'^#define' >> sh.err.h
cc -E -O -pipe -mtune=pentiumpro -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-Wno-uninitialized  /usr/src/bin/csh/../../contrib/tcsh/tc.const.c
/usr/src/bin/csh/../../contrib/tcsh/sh.char.h
/usr/src/bin/csh/config.h
/usr/src/bin/csh/../../contrib/tcsh/config_f.h
/usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
| grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
Char \1[];/' |  sort >> tc.const.h
CCVER=gcc34 OBJFORMAT_PATH=/ PATH=/usr/bin:/bin:/usr/sbin:/sbin cc -O
-pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh
-D_PATH_TCSHELL='"/bin/csh"' -Wno-uninitialized -static  -static
/usr/src/bin/csh/../../contrib/tcsh/gethost.c  -o gethost.nx
./gethost.nx /usr/src/bin/csh/host.defs >> tc.defs.c
mkdir -p .
patch -o sh.exp.c -i /usr/src/bin/csh/sh.exp.c.patch
/usr/src/bin/csh/../../contrib/tcsh/sh.exp.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$DragonFly: src/bin/csh/sh.exp.c.patch,v 1.1 2004/07/27 21:01:44 dillon Exp $
|Index: sh.exp.c
|===================================================================
|RCS file: /cvs/src/contrib/tcsh/sh.exp.c,v
|retrieving revision 1.1
|diff -u -r1.1 sh.exp.c
|--- sh.exp.c   17 Jun 2003 02:47:06 -0000      1.1
|+++ sh.exp.c   27 Jul 2004 20:25:12 -0000
--------------------------

              *** Signal 10
Stop in /usr/src/bin/csh.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]