[indiana-discuss] OpenSolaris 200805 build ON passed

Aubrey Li aubrey at blastwave.org
Fri May 9 01:38:34 PDT 2008


As I reported several days ago, OpenSolaris RC2a can't build ON.
The issue exists in the official release as well. Now the root cause
was found, and OpenSolaris 200805 can build ON successfully!

As Mark pointed out, libdtracestubs.so isn't being created correctly.
==============================================
nm -u ./obj64/unix.o ../../intel/genunix/obj64/libgenunix.so | grep __dtrace_pro
be_ | sort | uniq | nawk '{ \
  printf("\t.globl %s\n\t.type %s, at function\n%s:\n", \
  $1, $1, $1); }' > obj64/dtracestubs.s
==============================================
The problem is that dtracestubs.s isn't being created correctly.

Here, nm is the root cause.

When we build ON on SXCE,
#which nm
/usr/ccs/bin/nm

And on Opensolaris 200805,
#which nm
/usr/gnu/bin/nm

The really problem is, these two nm have different output.

So, the workaround is, before build the ON, execute
"export PATH=/usr/ccs/bin:$PATH"

Now ON get the right "nm" and can be built properly.

Thanks,
-Aubrey


More information about the indiana-discuss mailing list