Activity log for bug #1781242

Date Who What changed Old value New value Message
2018-07-11 15:30:01 bugproxy bug added bug
2018-07-11 15:30:03 bugproxy tags architecture-s39064 bugnameltc-169493 severity-low targetmilestone-inin16044
2018-07-11 15:30:05 bugproxy attachment added Patch https://bugs.launchpad.net/bugs/1781242/+attachment/5162468/+files/binutils-march-fix.patch
2018-07-11 15:30:07 bugproxy ubuntu: assignee Skipper Bug Screeners (skipper-screen-team)
2018-07-11 15:30:12 bugproxy affects ubuntu linux (Ubuntu)
2018-07-12 05:06:20 Frank Heimes bug task added ubuntu-z-systems
2018-07-12 05:06:49 Frank Heimes affects linux (Ubuntu) binutils (Ubuntu)
2018-07-12 05:07:07 Frank Heimes ubuntu-z-systems: status New Triaged
2018-07-12 05:07:25 Frank Heimes ubuntu-z-systems: importance Undecided Low
2018-07-12 05:08:03 Frank Heimes ubuntu-z-systems: assignee Canonical Foundations Team (canonical-foundations)
2018-08-03 12:43:48 Dimitri John Ledkov nominated for series Ubuntu Xenial
2018-08-03 12:43:48 Dimitri John Ledkov bug task added binutils (Ubuntu Xenial)
2018-08-30 14:07:31 Dimitri John Ledkov description The GNU assembler segfaults with an invalid -march= option Contact Information = n/a ---uname output--- n/a Machine Type = n/a ---Debugger--- A debugger is not configured ---Steps to Reproduce--- $ as -march=foo Segmentation fault Userspace tool common name: as The userspace tool has the following bit modes: 64 Userspace rpm: binutils-2.26.1-1ubuntu1~16.04.6 Userspace tool obtained from project website: na *Additional Instructions for n/a: -Attach ltrace and strace of userspace application. The problem is not critical since usually 'as' is invoked through the gcc driver which itself errors out for wrong -march= options. It will only be a problem if somebody builds a more recent GCC from source and uses an -march= option for a machine not supported by the default binutils. Please consider integrating the attached patch into 16.04 binutils. The problem has been fixed in later binutils already. Ubuntu 18.04 does not appear to be affected. --> Package has to set corectly by Canonical The GNU assembler segfaults with an invalid -march= option Contact Information = n/a ---uname output--- n/a Machine Type = n/a ---Debugger--- A debugger is not configured ---Steps to Reproduce---  $ as -march=foo Segmentation fault Expected result: # as -march=foo Assembler messages: Error: invalid switch -march=foo Error: unrecognized option -march=foo Userspace tool common name: as The userspace tool has the following bit modes: 64 Userspace rpm: binutils-2.26.1-1ubuntu1~16.04.6 Userspace tool obtained from project website: na *Additional Instructions for n/a: -Attach ltrace and strace of userspace application. The problem is not critical since usually 'as' is invoked through the gcc driver which itself errors out for wrong -march= options. It will only be a problem if somebody builds a more recent GCC from source and uses an -march= option for a machine not supported by the default binutils. Please consider integrating the attached patch into 16.04 binutils. The problem has been fixed in later binutils already. Ubuntu 18.04 does not appear to be affected. --> Package has to set corectly by Canonical
2018-08-30 14:08:27 Dimitri John Ledkov binutils (Ubuntu): status New Fix Released
2018-08-30 14:08:31 Dimitri John Ledkov binutils (Ubuntu Xenial): status New In Progress
2018-08-30 14:08:36 Dimitri John Ledkov binutils (Ubuntu Xenial): milestone xenial-updates
2018-08-30 14:08:46 Dimitri John Ledkov bug added subscriber Ubuntu Stable Release Updates Team
2018-08-30 14:21:35 Frank Heimes ubuntu-z-systems: status Triaged In Progress
2018-08-31 00:03:42 Dimitri John Ledkov description The GNU assembler segfaults with an invalid -march= option Contact Information = n/a ---uname output--- n/a Machine Type = n/a ---Debugger--- A debugger is not configured ---Steps to Reproduce---  $ as -march=foo Segmentation fault Expected result: # as -march=foo Assembler messages: Error: invalid switch -march=foo Error: unrecognized option -march=foo Userspace tool common name: as The userspace tool has the following bit modes: 64 Userspace rpm: binutils-2.26.1-1ubuntu1~16.04.6 Userspace tool obtained from project website: na *Additional Instructions for n/a: -Attach ltrace and strace of userspace application. The problem is not critical since usually 'as' is invoked through the gcc driver which itself errors out for wrong -march= options. It will only be a problem if somebody builds a more recent GCC from source and uses an -march= option for a machine not supported by the default binutils. Please consider integrating the attached patch into 16.04 binutils. The problem has been fixed in later binutils already. Ubuntu 18.04 does not appear to be affected. --> Package has to set corectly by Canonical [Impact] * as segfaults, instead of exiting gracefully, when one specifies unsupported arch option (ie. one from future - cause xenial did not support z14) * this is bad, as detection fails around supported march options - as if binutils are completely broken, rather than just not supporting this or that CPU level of optimisations. [Test Case] Bad result:  $ as -march=foo Segmentation fault Expected result: # as -march=foo Assembler messages: Error: invalid switch -march=foo Error: unrecognized option -march=foo [Regression Potential] * The result is still a failure condition, but with a proper exit code and standard error messages, rather than an unexplainable generic segfault. [Other Info] * Original bug report The GNU assembler segfaults with an invalid -march= option Contact Information = n/a ---uname output--- n/a Machine Type = n/a ---Debugger--- A debugger is not configured ---Steps to Reproduce---  $ as -march=foo Segmentation fault Expected result: # as -march=foo Assembler messages: Error: invalid switch -march=foo Error: unrecognized option -march=foo Userspace tool common name: as The userspace tool has the following bit modes: 64 Userspace rpm: binutils-2.26.1-1ubuntu1~16.04.6 Userspace tool obtained from project website: na *Additional Instructions for n/a: -Attach ltrace and strace of userspace application. The problem is not critical since usually 'as' is invoked through the gcc driver which itself errors out for wrong -march= options. It will only be a problem if somebody builds a more recent GCC from source and uses an -march= option for a machine not supported by the default binutils. Please consider integrating the attached patch into 16.04 binutils. The problem has been fixed in later binutils already. Ubuntu 18.04 does not appear to be affected. --> Package has to set corectly by Canonical
2018-09-12 13:09:18 Robie Basak binutils (Ubuntu Xenial): status In Progress Fix Committed
2018-09-12 13:09:22 Robie Basak bug added subscriber SRU Verification
2018-09-12 13:09:25 Robie Basak tags architecture-s39064 bugnameltc-169493 severity-low targetmilestone-inin16044 architecture-s39064 bugnameltc-169493 severity-low targetmilestone-inin16044 verification-needed verification-needed-xenial
2018-09-12 14:26:51 Frank Heimes ubuntu-z-systems: status In Progress Fix Committed
2018-09-12 14:41:48 Frank Heimes tags architecture-s39064 bugnameltc-169493 severity-low targetmilestone-inin16044 verification-needed verification-needed-xenial architecture-s39064 bugnameltc-169493 severity-low targetmilestone-inin16044 verification-done verification-done-xenial
2018-09-20 07:20:21 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2018-09-20 07:20:26 Launchpad Janitor binutils (Ubuntu Xenial): status Fix Committed Fix Released
2018-09-20 07:32:30 Andrew Cloke ubuntu-z-systems: status Fix Committed Fix Released