Edward Pilatowicz wrote:
> hey rod,
>
> so i just filed:
> 6816972 check_rtime should not report libm_hwcap1.so.2 errors
>
> i took a quick look at nightly.sh and check_rtime.pl and i wasn't quite
> sure where the fix should go. both do some filtering of "unused
> object=" errors, and i didn't see anything to indicate where this extra
> filtering should belong.
>
> originally i was also thinking that perhaps the solution should just be
> to disable all HWCAP token expansion in check_rtime.pl, since that would
> solve this problem and well as any future filter library problems. so i
> spent some time staring at the linkers and libraries guide, but i didn't
> find any strait forward way to disable the filter functionality.
>
> ed
I think you'd set LD_NOAUXFLTR. On kodiak.eng:
% ldd /lib/libm.so
libc.so.1 => /lib/libc.so.1
/lib/libm/libm_hwcap1.so.2
/platform/SUNW,SPARC-Enterprise/lib/libc_psr.so.1
% LD_NOAUXFLTR=1 ldd /lib/libm.so
libc.so.1 => /lib/libc.so.1
- Ali