[Bug 660377] Re: sse4.2 optimization selected on older incompatible processors

Matthias Klose 660377 at bugs.launchpad.net
Tue Mar 9 16:57:50 UTC 2021


closing this as fix released. At least in 20.04 LTS, gcc -m32 seems to
work.


** Changed in: gcc-defaults (Ubuntu)
       Status: New => Fix Released

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

Title:
  sse4.2 optimization selected on older incompatible processors

Status in gcc-defaults package in Ubuntu:
  Fix Released

Bug description:
  When compiling in 32bit mode (-m32 option), and statically linking,
  the resulting application fails triggering an "illegal instruction"
  error. It seems that the strspn() call is replaced with a call to
  __strspn_sse42() instead even though my architecture doesn't support
  it. Specifiying -march=<anything else that doesn't support SSE4.2>
  doesn't help.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: gcc 4:4.4.3-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
  Uname: Linux 2.6.32-25-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Thu Oct 14 10:03:53 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
  ProcEnviron:
   LANGUAGE=en
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/zsh
  SourcePackage: gcc-defaults

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/660377/+subscriptions



More information about the foundations-bugs mailing list