[indiana-discuss] build ON failed on test image
Aubrey Li
aubrey at blastwave.org
Sun Jun 1 06:30:46 PDT 2008
On Sun, Jun 1, 2008 at 8:16 PM, Li Qin <Mikore.Li at sun.com> wrote:
> I absolutely encountered the same issue in a mercurial managed gate under OpenSolaris-2008.05, when I do "make all" under $GATE/usr/src/uts direcotry. Except SUNWhea package, I think I have installed all necessary packages.
>
> I'd like to know what is missing... can anyone help?
As I posted on another thread several weeks ago,
Nothing is missing, :-)
The problem is 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
==============================================
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