[Bug 1781242] Re: as segfault with invalid -march= option

2018-09-20 Thread Andrew Cloke
** Changed in: ubuntu-z-systems
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-09-20 Thread Launchpad Bug Tracker
This bug was fixed in the package binutils - 2.26.1-1ubuntu1~16.04.7

---
binutils (2.26.1-1ubuntu1~16.04.7) xenial; urgency=medium

  * binutils-march-fix.patch: Fix -march= option parsing bound check.
LP: #1781242

 -- Dimitri John Ledkov   Thu, 30 Aug 2018 14:39:04
+0100

** Changed in: binutils (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-09-12 Thread Frank Heimes
Successfully verified on xenial:

ubuntu@hwe0001:~$ apt-cache policy binutils
binutils:
  Installed: 2.26.1-1ubuntu1~16.04.7
  Candidate: 2.26.1-1ubuntu1~16.04.7
  Version table:
 *** 2.26.1-1ubuntu1~16.04.7 500
500 http://us.ports.ubuntu.com/ubuntu-ports xenial-proposed/main s390x 
Packages
100 /var/lib/dpkg/status
 2.26.1-1ubuntu1~16.04.6 500
500 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main s390x 
Packages
500 http://ports.ubuntu.com/ubuntu-ports xenial-security/main s390x 
Packages
 2.26-8ubuntu2 500
500 http://us.ports.ubuntu.com/ubuntu-ports xenial/main s390x Packages
ubuntu@hwe0001:~$ as -march=foo
Assembler messages:
Error: invalid switch -march=foo
Error: unrecognized option -march=foo
ubuntu@hwe0001:~$ as -march=
Assembler messages:
Error: invalid switch -march=
Error: unrecognized option -march=
ubuntu@hwe0001:~$

Switching the verification tags accordingly ...

** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-09-12 Thread Frank Heimes
** Changed in: ubuntu-z-systems
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-09-12 Thread Robie Basak
Hello bugproxy, or anyone else affected,

Accepted binutils into xenial-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/binutils/2.26.1-1ubuntu1~16.04.7 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: binutils (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-08-30 Thread Dimitri John Ledkov
** Description changed:

+ [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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-08-30 Thread Frank Heimes
** Changed in: ubuntu-z-systems
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-08-30 Thread Dimitri John Ledkov
In unapproved queue, waiting review and approval.

** Description changed:

  The GNU assembler segfaults with an invalid -march= option
-  
- Contact Information = n/a 
-  
+ 
+ Contact Information = n/a
+ 
  ---uname output---
  n/a
-  
- Machine Type = n/a 
-  
+ 
+ Machine Type = n/a
+ 
  ---Debugger---
  A debugger is not configured
-  
+ 
  ---Steps to Reproduce---
-  $ as -march=foo
+  $ as -march=foo
  Segmentation fault
-  
- Userspace tool common name: as 
-  
- The userspace tool has the following bit modes: 64 
+ 
+ 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 
-  
+ 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.
+ 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

** Changed in: binutils (Ubuntu)
   Status: New => Fix Released

** Changed in: binutils (Ubuntu Xenial)
   Status: New => In Progress

** Changed in: binutils (Ubuntu Xenial)
Milestone: None => xenial-updates

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-08-03 Thread Dimitri John Ledkov
** Also affects: binutils (Ubuntu Xenial)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-07-12 Thread Frank Heimes
Issue occurs on Xenial only (not Artful and also not on Bionic).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1781242] Re: as segfault with invalid -march= option

2018-07-11 Thread Frank Heimes
** Also affects: ubuntu-z-systems
   Importance: Undecided
   Status: New

** Package changed: linux (Ubuntu) => binutils (Ubuntu)

** Changed in: ubuntu-z-systems
   Status: New => Triaged

** Changed in: ubuntu-z-systems
   Importance: Undecided => Low

** Changed in: ubuntu-z-systems
 Assignee: (unassigned) => Canonical Foundations Team 
(canonical-foundations)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1781242/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs