[indiana-discuss] build ON failed on test image
Mark Haywood
Mark.Haywood at Sun.COM
Sun Apr 27 07:49:57 PDT 2008
It should be built as part of a kernel build. I'm not sure why it isn't
being (re)built as part of your build. I think you'll have to
investigate your build areas and build log.
You might want to consider removing all the dtracestubs.[co] files in
your build directories and maybe remove the libdtracestubs.so file from
your proto area and try rebuilding.
Aubrey Li wrote:
> So how does this happen? I just build the kernel per build instruction.
>
> Thanks,
> -Aubrey
>
> On Sun, Apr 27, 2008 at 10:10 PM, Mark Haywood <Mark.Haywood at sun.com> wrote:
>
>> At the risk of stating the obvious, it looks like your libdtracestubs.so
>> isn't being created correctly? Note below that libgenunix.so is used to
>> create the stubs file.
>>
>> 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
>> /export/build/mh27603/onnv/usr/src/tools/proto/opt/onbld/bin/i386/aw -P
>> -xarch=a
>> md64 -P -Ui386 -U__i386 -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64
>> -D_DD
>> I_STRICT -Dsun -D__sun -D__SVR4 -Di86pc -D_MACHDEP -DOPTERON_ERRATUM_88
>> -DOPTERO
>> N_ERRATUM_91 -DOPTERON_ERRATUM_93 -DOPTERON_ERRATUM_95 -DOPTERON_ERRATUM_99
>> -DOP
>> TERON_ERRATUM_100 -DOPTERON_ERRATUM_101 -DOPTERON_ERRATUM_108
>> -DOPTERON_ERRATUM_
>> 109 -DOPTERON_ERRATUM_121 -DOPTERON_ERRATUM_122 -DOPTERON_ERRATUM_123
>> -DOPTERON_
>> ERRATUM_131 -DOPTERON_WORKAROUND_6336786 -DOPTERON_WORKAROUND_6323525
>> -DOPTERON_
>> ERRATUM_172 -D_ASM -D__STDC__=0 -I../../i86pc
>> -I/export/build/mh27603/onnv/
>> usr/src/common -I../../intel -I../../common -I../../i86pc/genassym/obj64
>> -o obj
>> 64/dtracestubs.o obj64/dtracestubs.s
>> /usr/ccs/bin/ld -o obj64/libdtracestubs.so -G -znoreloc -h dtracestubs
>> obj64/dtr
>> acestubs.o
>>
>>
More information about the indiana-discuss
mailing list