Gentoo Archives: gentoo-alt

From: Mike Frysinger <vapier@g.o>
To: "C. Bergström" <cbergstrom@×××××××××.com>
Cc: gentoo-alt@l.g.o, sandbox@g.o
Subject: Re: [gentoo-alt] Any interest in sandbox on (open)solaris?
Date: Tue, 18 Nov 2008 23:02:42
Message-Id: 200811181802.40511.vapier@gentoo.org
In Reply to: Re: [gentoo-alt] Any interest in sandbox on (open)solaris? by "C. Bergström"
1 On Tuesday 18 November 2008 17:33:55 C. Bergström wrote:
2 > Fabian Groffen wrote:
3 > > On 18-11-2008 20:48:58 +0100, "C. Bergström" wrote:
4 > >> If anyone is interested in sandbox working correctly on (open)solaris
5 > >> please give both feedback and any technical details which may help. I'm
6 > >> looking into how LD_PRELOAD works and any difference between
7 > >> linux/solaris. I tried to compile the alpha version, but didn't read
8 > >> the code at all.
9 > >
10 > > Yes, very interesting in having it running. Please look at the current
11 > > git sources, which had a recent spike of activity:
12 > > http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=summary
13 >
14 > Ok. I pulled the latest git work and with a few really dirty hacks to
15 > the configure it was rolling..
16 >
17 > (Here's some of the output of the failure.. I haven't looked at it at all)
18 > http://rafb.net/p/fELaK960.html
19
20 very first rule if you want to make this work: never post log files to an
21 external site, especially one like rafb.net where things expire quickly.
22
23 you're hitting an issue with what i hinted at earlier ... symbol versioning.
24 iirc, the symbol version script (for our purposes) should be the same between
25 the GNU linker and the Solaris linker. but how you tell the linker about the
26 version script obviously wont be the same. you'll have to figure that out and
27 we can add a configure test to detect the linker in use.
28
29 all those warnings are kind of painful too ... probably have to find a
30 autoconf macro for detecting attribute support in the compiler. iirc, glibc
31 tends to use __GNUC__ type CPP macros though.
32
33 the memory (xmalloc, etc...) arent too surprising. that's a bit of a mess atm
34 and i intend to clean that stuff up anyways ...
35
36 the symbols.h errors are odd. probably a CPP difference between your compiler
37 and the GNU C compiler.
38
39 you should figure out how solaris forces C++ exception handling. clearly it
40 doesnt use the same flag as GCC: -fexceptions. that'll have to be turned into
41 a configure compiler test as well.
42
43 g'luck ... seems you got your work cut out for you :p
44 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-alt] Any interest in sandbox on (open)solaris? Mike Frysinger <vapier@g.o>
Re: [gentoo-alt] Any interest in sandbox on (open)solaris? "C. Bergström" <cbergstrom@×××××××××.com>