← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

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 नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1781242

Title:
  as segfault with invalid -march= option

Status in Ubuntu on IBM z Systems:
  Triaged
Status in binutils package in Ubuntu:
  Fix Released
Status in binutils source package in Xenial:
  In Progress

Bug 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

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