Current-Users archive

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

Re: Build failure - port amd64 - sys/rump/librump



BTW, it would appear that librump needs to include sys/kern/kern_lwp.c to get access to the lwp_unsleep() function.

I tried adding kern_lwp.c to librump/rumpkern/Makefile and even created dummy opt_lockdebug.h and opt_syscall_stats.h in rumpkern/opt/ but then it seems that kern_lwp.c tries to access the ci_mtx_count field in a cpu_info struct which doesn't appear to exist in rump (comments suggest that rump doesn't bother with the locking/mutex stuff).

So I'm stuck trying to figure out what the "right" thing to do would be. But until then a 'make release' seems to be futile. :)


On Mon, 17 Mar 2008, Paul Goyette wrote:

I updated again, picked up sys_generic.c rev 1.114, and now have a new issue:

--- dependall-efs ---
/usr/obj/objdir/amd64/sys/rump/librump/rumpkern/librump.a(sys_generic.o): In function `selnotify':
/build/src/sys/kern/sys_generic.c:1151: undefined reference to `lwp_unsleep'

On Mon, 17 Mar 2008, Paul Goyette wrote:

Sources updated less than 15 minutes ago...

dependall ===> sys/rump/librump/rumpkern
#   compile  rumpkern/sys_generic.o
/usr/obj/tooldir/x86_64/amd64/bin/x86_64--netbsd-gcc -g -O0 -ffreestanding
-Wno-pointer-sign -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch
-Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter
-std=gnu99  -Werror   -mcmodel=kernel -I/build/src/sys/rump/include
-I/build/src/sys/rump/librump/rumpkern -I. -D_KERNEL -DDIAGNOSTIC
-I/build/src/common/include -D_RUMPKERNEL -DDEBUG -nostdinc
-I/build/src/sys -I/build/src/sys -I/build/src/common/include
-I/build/src/sys/rump/librump/rumpuser
-I/build/src/sys/rump/librump/rumpkern/opt -DMAXUSERS=32
-DRUMP_WITHOUT_THREADS   -nostdinc -isystem
/usr/obj/destdir/amd64/usr/include -c /build/src/sys/kern/sys_generic.c
-o sys_generic.o/build/src/sys/kern/sys_generic.c: In function 'selnotify':
/build/src/sys/kern/sys_generic.c:1151: error: too few arguments to function 'lwp_unsleep'


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index