Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2016 14:54:24 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        rm@joyent.com
Cc:        freebsd-dtrace@freebsd.org
Subject:   Re: malformed symbol
Message-ID:  <20161215.145424.2283983185637049413.hrs@allbsd.org>
In-Reply-To: <6b0842f5-46e8-e90e-0cc6-ec0cbe74669a@joyent.com>
References:  <20161215.075124.1459885758696268380.hrs@allbsd.org> <6b0842f5-46e8-e90e-0cc6-ec0cbe74669a@joyent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Thu_Dec_15_14_54_24_2016_334)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Robert Mustacchi <rm@joyent.com> wrote
  in <6b0842f5-46e8-e90e-0cc6-ec0cbe74669a@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

----Security_Multipart(Thu_Dec_15_14_54_24_2016_334)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlhSMBAACgkQTyzT2CeTzy1nigCgy8pQrp41RhIx4PfouUN1H5yV
vAcAnin5e6sgQE8k33gqAYpVWzDgS4/x
=h6MM
-----END PGP SIGNATURE-----

----Security_Multipart(Thu_Dec_15_14_54_24_2016_334)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161215.145424.2283983185637049413.hrs>