malformed symbol

Hiroki Sato hrs at FreeBSD.org
Thu Dec 15 05:56:20 UTC 2016


Robert Mustacchi <rm at joyent.com> wrote
  in <6b0842f5-46e8-e90e-0cc6-ec0cbe74669a at joyent.com>:

rm> On 12/14/16 14:51 , Hiroki Sato wrote:
rm> >  This was reproducible on 11.x and 12.x, not on 10.x.  Could anyone
rm> >  try this and let me know if this is reproducible on your 11.x or 12.x
rm> >  box?  I guess this is a regression of symbol rewrite routine such as
rm> >  s/__/-/ in the dtrace utility while I have not investigated the
rm> >  details yet.  Or am I missing something here?
rm>
rm> We've seen something similar on illumos that corresponds with newer
rm> binutils versions (2.26). See https://www.illumos.org/issues/6653.

 Thank you for the info.  Certainly passing -no-integrated-as flag to
 clang to make it use an old gas avoids this issue. Simply doing
 objcopy sample.o before "dtrace -G" is another workaround.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-dtrace/attachments/20161215/3123e318/attachment.sig>


More information about the freebsd-dtrace mailing list