Re: [oi-dev] gcc default

2011-11-24 Thread Igor Pashev
24.11.2011 11:22, Jorgen Lundman пишет:
 
 After figuring out the sfe repository stuff, we finally managed to
 install gcc-4. OpenIndiana runs nicely in 64bit, and everything is
 64bit, including perl and perl modules.
 
 And yet, when you use gcc, the default output is 32bit. Does this really
 make sense any more? (on intel at least).
 
 Sure I can add -m64 to everything I compile, (presumably including perl
 modules) but is there no easy way to change the default from -m32 to -m64 ?
 
 I was stuffing around in the
 /usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.2/plugin/include/config/i386 
 area,
 but it appears to be used when compiling gcc. Not after.
 
 Should the default be changed to 64bit in the repository?
 
 Lund
 

GCC = 4.7 will produce 64bit code by default on x86_64-solaris2.11 ;-)

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Feature 1768 - add dovecot to oi-build

2011-11-24 Thread Guido Berhoerster
* Colin Ellis panamaya...@gmail.com [2011-11-20 12:35]:
 hopefully this is everything
 https://bitbucket.org/cellis_oidev/oi-build/changeset/856e6772091a

Thanks, that looks good.

As a minor nitpick, I think the category System/Services might be
a bit better (mostly for the lack of more fitting alternatives)
than Web Services/Communications since dovecot is not a WWW
service.  The underlying problem is of course that the
org.opensolaris.category.2008 namespace is utterly incomplete and
arbitrary.
-- 
Guido Berhoerster

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


[oi-dev] DTrace probes in Python 2.7 (and next 3.3)

2011-11-24 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.

I have spend some time trying to integrate DTrace probes in official
Python: Currently I have a patch to python 2.7, and my plan in to
integrate officially in 3.3.

The initial probes were based on previous work from OpenSolaris, and
similar, but currently I have quite a few more probes. Current details
in
http://hg.jcea.es/cpython-2011/file/b1a39702dfd8/Doc/library/dtrace.rst

The probes are tested under Solaris 10 x86 and x86-64. I would need
somebody to try on Solaris 10 Sparc (32 and 64 bits), Solaris 11,
OpenIndiana, FreeBSD (seems to need a kernel recompilation to enable
user mode tracing, check Google), Mac (I doubt it works as is), etc.,
any other platform running DTrace. What about SystemTap compatibility?

Details: http://bugs.python.org/issue13405

How to check: http://bugs.python.org/issue13405#msg147706.

The easier way to get the patch is to clone my repository at
https://hg.jcea.es/cpython-2011/ (with mercurial) and move to the
branch dtrace-issue13405_2.7. Keep the clone around if you plan to
try future versions of this patch, including the future 3.3 version.

You can manually apply the patch in
http://bugs.python.org/file23758/a9f4ae43fd85.diff to python 2.7.2+
sourcecode. The patch is developed against version 3c3009f63700
(2011-11-14). It might not apply cleanly to 2.7.2 sourcecode (not
checked). I will provide a direct patch to 2.7.3 when available. Maybe
to 2.7.2 if there is demand.

This is still work in progress. I will improve support with your
feedback. I am considering probes to monitor GIL and thinking how to
monitor C function calls from Python in an easy and fast way. Feedback
very welcomed.

Please, if you care about this, test it and provide some feedback :).

PS: Better post feedback in the bug tracker that by personal email :-).

- -- 
Jesus Cea Avion _/_/  _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
jabber / xmpp:j...@jabber.org _/_/_/_/  _/_/_/_/_/
.  _/_/  _/_/_/_/  _/_/  _/_/
Things are not so easy  _/_/  _/_/_/_/  _/_/_/_/  _/_/
My name is Dump, Core Dump   _/_/_/_/_/_/  _/_/  _/_/
El amor es poner tu felicidad en la felicidad de otro - Leibniz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTs50+Jlgi5GaxT1NAQKWUwQAnl99nFd6nM5yiPGl8yw4/YR81BTIS563
3wyPz74o5wAE3k9quexr+UPCndPogiH6nhnJ9DNXfUpVyaouGG/tGEbZn/x+h7Dv
jc5616IRnHxGAxxuoTscCRRN88zsPVY6i71QMxK2BOS+zXMdcrsBajLrmx1UIzHY
Elr7fq8L988=
=uQM5
-END PGP SIGNATURE-

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] DTrace probes in Python 2.7 (and next 3.3)

2011-11-24 Thread Andrzej Szeszo

Hi Jesus

Just noticed that there is a python 2.7 package in Oracle's userland 
repo here:


http://hg.openindiana.org/upstream/oracle/userland-gate/file/ea6a3f09379c/components/python/python27

It includes DTrace patch. Did you see/use that?

Andrzej

On 24/11/2011 16:46, Jesus Cea wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.

I have spend some time trying to integrate DTrace probes in official
Python: Currently I have a patch to python 2.7, and my plan in to
integrate officially in 3.3.

The initial probes were based on previous work from OpenSolaris, and
similar, but currently I have quite a few more probes. Current details
in
http://hg.jcea.es/cpython-2011/file/b1a39702dfd8/Doc/library/dtrace.rst

The probes are tested under Solaris 10 x86 and x86-64. I would need
somebody to try on Solaris 10 Sparc (32 and 64 bits), Solaris 11,
OpenIndiana, FreeBSD (seems to need a kernel recompilation to enable
user mode tracing, check Google), Mac (I doubt it works as is), etc.,
any other platform running DTrace. What about SystemTap compatibility?

Details:http://bugs.python.org/issue13405

How to check:http://bugs.python.org/issue13405#msg147706.

The easier way to get the patch is to clone my repository at
https://hg.jcea.es/cpython-2011/  (with mercurial) and move to the
branch dtrace-issue13405_2.7. Keep the clone around if you plan to
try future versions of this patch, including the future 3.3 version.

You can manually apply the patch in
http://bugs.python.org/file23758/a9f4ae43fd85.diff  to python 2.7.2+
sourcecode. The patch is developed against version 3c3009f63700
(2011-11-14). It might not apply cleanly to 2.7.2 sourcecode (not
checked). I will provide a direct patch to 2.7.3 when available. Maybe
to 2.7.2 if there is demand.

This is still work in progress. I will improve support with your
feedback. I am considering probes to monitor GIL and thinking how to
monitor C function calls from Python in an easy and fast way. Feedback
very welcomed.

Please, if you care about this, test it and provide some feedback :).

PS: Better post feedback in the bug tracker that by personal email :-).

- -- 
Jesus Cea Avion _/_/  _/_/_/_/_/_/

j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
jabber / xmpp:j...@jabber.org _/_/_/_/  _/_/_/_/_/
.  _/_/  _/_/_/_/  _/_/  _/_/
Things are not so easy  _/_/  _/_/_/_/  _/_/_/_/  _/_/
My name is Dump, Core Dump   _/_/_/_/_/_/  _/_/  _/_/
El amor es poner tu felicidad en la felicidad de otro - Leibniz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTs50+Jlgi5GaxT1NAQKWUwQAnl99nFd6nM5yiPGl8yw4/YR81BTIS563
3wyPz74o5wAE3k9quexr+UPCndPogiH6nhnJ9DNXfUpVyaouGG/tGEbZn/x+h7Dv
jc5616IRnHxGAxxuoTscCRRN88zsPVY6i71QMxK2BOS+zXMdcrsBajLrmx1UIzHY
Elr7fq8L988=
=uQM5
-END PGP SIGNATURE-

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] DTrace probes in Python 2.7 (and next 3.3)

2011-11-24 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/11/11 19:49, Andrzej Szeszo wrote:
 Hi Jesus
 
 Just noticed that there is a python 2.7 package in Oracle's
 userland repo here:
 
 http://hg.openindiana.org/upstream/oracle/userland-gate/file/ea6a3f09379c/components/python/python27

 
 
 It includes DTrace patch. Did you see/use that?

That was my starting point.

Talking about that... How is the license going?. Mailing the guy...

- -- 
Jesus Cea Avion _/_/  _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
jabber / xmpp:j...@jabber.org _/_/_/_/  _/_/_/_/_/
.  _/_/  _/_/_/_/  _/_/  _/_/
Things are not so easy  _/_/  _/_/_/_/  _/_/_/_/  _/_/
My name is Dump, Core Dump   _/_/_/_/_/_/  _/_/  _/_/
El amor es poner tu felicidad en la felicidad de otro - Leibniz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTs7a0plgi5GaxT1NAQLNUAP/WUopUbet5NN5K1kgJ6/5KNJFX/HMXqIl
JXWXHro72f3SFuWws1QL82nos/nhVn5JQkkc3sRDwi3EV0dFM2Zi9BS8paHfOrQi
2qNNbvnTMzGKjZ9ZQrhiC+aSfr5qG6ou53mtQch53W7v15t7flqrDWr/VqlKxRWO
xn0P8WzSC8g=
=G9Ie
-END PGP SIGNATURE-

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] pkg version bump in /dev

2011-11-24 Thread Josef 'Jeff' Sipek
On Wed, Nov 23, 2011 at 09:26:55PM -0500, Richard Lowe wrote:
 On Wed, Nov 23, 2011 at 19:18, Josef 'Jeff' Sipek jef...@josefsipek.net 
 wrote:
  On Wed, Nov 23, 2011 at 06:41:22PM -0500, Richard Lowe wrote:
  The changes of Yuri's to illumos's pkg build, recently, should make
  this no longer harmful to us.  It'd be nice if someone could confirm
  that though.
 
  How does one test it?  Just compile the gate?
 
 Yeah.  The canonical 'pkgfmt' form of manifests changed, we now force
 'v1' (which is the one we actually use).  It should build and onu just
 fine now.

Yep, it does work now.

Jeff.

-- 
FORTUNE PROVIDES QUESTIONS FOR THE GREAT ANSWERS: #19
A:  To be or not to be.
Q:  What is the square root of 4b^2?

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev