[SRU] libpcl cflags -march=native -msse4.2 makes user-compiled programs crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Gianfranco Costamagna |
Bug Description
[ Impact ]
* It is currently impossible to use the library, without making programs that crash during startup
[ Test case ]
* Attached and in Other info section
[ Regression Potential ]
* Fix is uploaded in cosmic, waiting for build/migration
[ Other Info ]
in /usr/lib/
list(APPEND PCL_DEFINITIONS -march=native -msse4.2 -mfpmath=sse )
however, when using -march=native -msse4.2, even simple user-compiled programs crash in eigen's handmade_
see also this email thread http://
CMakeLists.txt for the program in attach:
cmake_minimum_
project(crashdemo)
find_package(Boost 1.54 REQUIRED COMPONENTS filesystem)
include_
link_directorie
set(OUR_
find_package(PCL 1.8 REQUIRED COMPONENTS common io segmentation visualization filters)
add_definitions
include_
link_directorie
add_executable(
src/crasher.cpp
)
target_
${OUR_
${Boost_LIBRARIES}
${PCL_LIBRARIES}
)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libpcl-dev 1.8.1+dfsg1-
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon May 14 15:18:46 2018
InstallationDate: Installed on 2016-10-23 (567 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
SourcePackage: pcl
UpgradeStatus: Upgraded to bionic on 2018-05-09 (4 days ago)
Changed in pcl (Ubuntu Bionic): | |
assignee: | nobody → Gianfranco Costamagna (costamagnagianfranco) |
Changed in pcl (Ubuntu Bionic): | |
status: | New → In Progress |
summary: |
- libpcl cflags -march=native -msse4.2 makes user-compiled programs crash + [SRU] libpcl cflags -march=native -msse4.2 makes user-compiled programs + crash |
description: | updated |
tags: |
added: verification-done verification-done-bionic removed: verification-needed verification-needed-bionic |
root@Unimatrix0 4-Bionic: /test/crash# ./crasher 4-Bionic: /test/crash# echo $?
root@Unimatrix0
0