Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-12-10
22:40 • Ticket [1839086fff] dtrace does not build on opensolaris status still Closed... artifact: a25b6b31b9 user: mic42
2007-11-28
03:46 • Closed ticket [1839086fff]. artifact: a69410e414 user: mic42
2007-11-27
09:17 • Ticket [1839086fff]: 4 changes artifact: 993979b2a8 user: das
07:50 • Ticket [1839086fff]: 5 changes artifact: 0f48695510 user: mic42
00:48 • New ticket [1839086fff]. artifact: 849213d45b user: mic42

dtrace does not build on opensolaris

Closed / Duplicate1839086fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-11-27 00:48:44
using configure --enable-dtrace does not work with opensolaris.

The build stage for tclDTrace.o from tclDTrace.d throws a syntax error when the other *.o files are specified on the dtrace commandline, but compiles okay if they are left out.

Probably the dtrace commandline is different on OS X and solaris.
mic42plain2007-11-27 07:50:42
Logged In: YES 
user_id=302287
Originator: YES

Oh, should add this is with Opensolaris x86 (amd64) SunOS 5.11 svn_55b using the sun studio compiler and the Tcl 8.5.0 RC 0 tar files.
dasplain2007-11-27 09:17:09
Logged In: YES 
user_id=90580
Originator: NO

As mentioned in patch 1793984, I have tested the dtrace support in Solaris Express DE 5/07 x86 (~ OpenSolaris build 64a) with both gcc and sun cc. It works fine there and in later opensolaris versions.

Is the syntax error you see the same as the one mentioned in the comments to patch 1793984 by Peter Bray ? if so that is a solaris bug fixed in later versions, and my comments in the patch mention a workaround.

Otherwise please provide details about your syntax error (error text, dtrace version...)
mic42plain2007-11-28 03:46:33
Logged In: YES 
user_id=302287
Originator: YES

Its the same error and my opensolaris version is older, so consider it closed, its the same issue as:
http://sourceforge.net/tracker/index.php?func=detail&aid=1793984&group_id=10894&atid=310894
mic42plain2007-12-10 22:40:41
Logged In: YES 
user_id=302287
Originator: YES

Dtrace builds still fail with Solaris Dev Express 09/07, which is about opensolaris build 70.

It detects a syntax error in the systems iscsi.d and then fails to go on.

But thats a bug in dtrace, which seems to be fixed in opensolaris build 72, see:
http://www.opensolaris.org/jive/thread.jspa?messageID=161688
Log in (anonymous is fine) to add a comment.