Gentoo Archives: gentoo-alt

From: "C. Bergström" <cbergstrom@×××××××××.com>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-alt@l.g.o, sandbox@g.o
Subject: [gentoo-alt] Re: Any interest in sandbox on (open)solaris?
Date: Tue, 18 Nov 2008 23:02:46
Message-Id: 4923483E.1040904@netsyncro.com
1 Sorry for the quick follow-up/noise..
2
3 Another quick ugly hack to libsandbox/Makefile
4
5 -Wl,-Mlibsandbox.map
6
7 and I get some undefined symbols.. looks like I might be getting closer..
8
9 ./.libs/libsandbox.so.0.0.0: ELF 64-bit LSB shared object, x86-64,
10 version 1 (SYSV), dynamically linked, not stripped, uses CMOV SSE
11
12
13 -------------
14 /bin/sh ../libtool --tag=CC --mode=link cc -DOUTSIDE_LIBSANDBOX -i
15 -xO4 -xspace -xstrconst -fast -xregs=no%frameptr -m64 -KPIC -o
16 sandbox sandbox-environ.o sandbox-sandbox.o ../libsbutil/libsbutil.la
17 cc -DOUTSIDE_LIBSANDBOX -i -xO4 -xspace -xstrconst -fast
18 -xregs=no%frameptr -m64 -KPIC -o sandbox sandbox-environ.o
19 sandbox-sandbox.o ../libsbutil/.libs/libsbutil.a
20 Undefined first referenced
21 symbol in file
22 __check_arg_fd ../libsbutil/.libs/libsbutil.a(dynbuf.o)
23 __check_arg_ptr ../libsbutil/.libs/libsbutil.a(string.o)
24 __check_arg_str ../libsbutil/.libs/libsbutil.a(string.o)
25 __xrealloc sandbox-environ.o
26 check_strv ../libsbutil/.libs/libsbutil.a(file.o)
27 __xstrndup sandbox-environ.o
28 check_str sandbox-environ.o
29 check_ptr
30 ../libsbutil/.libs/libsbutil.a(sb_open.o)
31 __xcalloc sandbox-environ.o
32 __xmalloc sandbox-environ.o
33 ld: fatal: Symbol referencing errors. No output written to sandbox
34 gmake[2]: *** [sandbox] Error 1
35 gmake[2]: Leaving directory `/usr/local/src/sandbox/src'
36 gmake[1]: *** [all-recursive] Error 1
37 gmake[1]: Leaving directory `/usr/local/src/sandbox'