Date: Sat, 17 Dec 2016 15:07:59 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: gnn@neville-neil.com Cc: rm@joyent.com, freebsd-dtrace@freebsd.org Subject: Re: malformed symbol Message-ID: <20161217.150759.295686080150201223.hrs@allbsd.org> In-Reply-To: <0921189E-481D-4F8D-BAEA-6B656EE5ECFB@neville-neil.com> References: <6b0842f5-46e8-e90e-0cc6-ec0cbe74669a@joyent.com> <20161215.145424.2283983185637049413.hrs@allbsd.org> <0921189E-481D-4F8D-BAEA-6B656EE5ECFB@neville-neil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sat_Dec_17_15_07_59_2016_309)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "George Neville-Neil" <gnn@neville-neil.com> wrote in <0921189E-481D-4F8D-BAEA-6B656EE5ECFB@neville-neil.com>: gn> gn> gn> On 15 Dec 2016, at 0:54, Hiroki Sato wrote: gn> gn> > Robert Mustacchi <rm@joyent.com> wrote gn> > in <6b0842f5-46e8-e90e-0cc6-ec0cbe74669a@joyent.com>: gn> > gn> > rm> On 12/14/16 14:51 , Hiroki Sato wrote: gn> > rm> > This was reproducible on 11.x and 12.x, not on 10.x. Could anyone gn> > rm> > try this and let me know if this is reproducible on your 11.x or 12.x gn> > rm> > box? I guess this is a regression of symbol rewrite routine such as gn> > rm> > s/__/-/ in the dtrace utility while I have not investigated the gn> > rm> > details yet. Or am I missing something here? gn> > rm> gn> > rm> We've seen something similar on illumos that corresponds with newer gn> > rm> binutils versions (2.26). See https://www.illumos.org/issues/6653. gn> > gn> > Thank you for the info. Certainly passing -no-integrated-as flag to gn> > clang to make it use an old gas avoids this issue. Simply doing gn> > objcopy sample.o before "dtrace -G" is another workaround. gn> > gn> gn> Can you open a PR for this one, so we can track it? Sure. I will. -- Hiroki ----Security_Multipart(Sat_Dec_17_15_07_59_2016_309)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlhU1j8ACgkQTyzT2CeTzy2DXwCgwi+vVYke3eLx4+kuKi09jZzD MlYAn398kCtRgAuh+VqCNaMxhDAUm0y5 =c6D2 -----END PGP SIGNATURE----- ----Security_Multipart(Sat_Dec_17_15_07_59_2016_309)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161217.150759.295686080150201223.hrs>