From owner-freebsd-dtrace@FreeBSD.ORG Sun Jun 30 19:41:21 2013 Return-Path: Delivered-To: dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A16AAFBC for ; Sun, 30 Jun 2013 19:41:21 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm6-vm1.bullet.mail.gq1.yahoo.com (nm6-vm1.bullet.mail.gq1.yahoo.com [98.136.218.192]) by mx1.freebsd.org (Postfix) with ESMTP id 7787D1992 for ; Sun, 30 Jun 2013 19:41:21 +0000 (UTC) Received: from [98.137.12.58] by nm6.bullet.mail.gq1.yahoo.com with NNFMP; 30 Jun 2013 19:38:03 -0000 Received: from [208.71.42.206] by tm3.bullet.mail.gq1.yahoo.com with NNFMP; 30 Jun 2013 19:38:03 -0000 Received: from [127.0.0.1] by smtp217.mail.gq1.yahoo.com with NNFMP; 30 Jun 2013 19:38:03 -0000 X-Yahoo-Newman-Id: 15832.32458.bm@smtp217.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: SvgY7QcVM1mcHdcCiFCawLgvJJ5VRPPGKTz3dPM24sl9UJz 9SNLmvrVbxZ9G4nMwrp4BVLT6N6iCnZfXfElrvdh_WLdaI4rtymbPvl8_v15 YdUn0cLmQIbitnjAHbd0_oAMagej8LHCwTbDkQTJR50_ajQaRA0BpItI0LWD MXxWqH81MO_gG5nMWI_F6DSY3o7..yAs3zZQQHT9aeA2IcN13H87vyx7TLxW TTZqv61EeDOG.5.PNKTTtu.urg49kUfJT4slCFSEbLGhRAAkJw8lcD8qtHU0 UF7n0E5O14IYUEyxTFs8rh7UnbbdYPe96rnZ51l_OspTK2Xiu2_6YaEo3Xfs D1FicNMw9Lj7mus9oPZSkJU7pf6i7an5COWWEouQ_hi8iyHiKEnPKiNb25y5 WwfjxOGHUKOpyHr81fXWjl8f0JAQeGFYGEWOotsqufM2e_ojQYBTIEuHbnl3 .wk71Izh5zXaCahHAI7A4_BJdPMkgrA7ojIwqUECNSghRrTNu4nn6JJBov4l _DY8RRZgref9s6xe63b06BhhrH9N7xZyQbeMKVQ70k5U9yTbdONquJNqRX5C 57kuj5k.JF0kH3qguD28HO67FNURwbLfuHw39YPKOOXPAmuSNVjVsIxHOIHe KaGBhbUEQlpftIqNsQU0lQyk2pyRFWRKOTCCrqfqe4AVY9nLO6.E7Y44IM4M .IF7eQmerMd5CscjzTqKxiIrANh0Asec2wzUiR0uqLEOXeslM X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with ) by smtp217.mail.gq1.yahoo.com with SMTP; 30 Jun 2013 19:38:00 +0000 UTC Message-ID: <51D08916.4030802@FreeBSD.org> Date: Sun, 30 Jun 2013 14:37:58 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130611 Thunderbird/17.0.6 MIME-Version: 1.0 To: dtrace@FreeBSD.org Subject: [CFT] gcc can cause segfaults in ctfmerge Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2013 19:41:21 -0000 Hi; I have been following a fix to ctfmerge that was done on NetBSD and is caused by a bug in upstream gcc. The issue is summarized here: https://www.illumos.org/issues/3776 I have a patch for FreeBSD here: http://people.freebsd.org/~pfg/patches/patch-dtrace-gcc.diff The process to get some change into illumos seems to be somewhat complex but the issue is not urgent for us as our base gcc was fixed. The patch will be important once we drop gcc from the base system and start using more frequently the pre-packaged gcc though so some more testing/review on this patch is welcome. regards, Pedro.