clang 3.2-1~exp5ubuntu2 crashes when building kdesdk-4.10.0

Bug #1124734 reported by Philip Muškovac
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
clang (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Trying a local build of kdesdk-4.10.0 with clang/++ results in:

[ 0%] Building CXX object kapptemplate/CMakeFiles/kapptemplate.dir/apptemplatesmodel.o
fatal error: error in backend: Cannot select: 0x4970520: i64 = fexp2 0x4970b20 [ORD=923] [ID=10] dbg:/tmp/k/kdesdk-4.10.0/kapptemplate/apptemplatesmodel.cpp:47
  0x4970b20: i64 = and 0x4971120, 0x4974530 [ID=9] dbg:/tmp/k/kdesdk-4.10.0/kapptemplate/apptemplatesmodel.cpp:47
    0x4971120: i64 = any_extend 0x49720e0 [ID=8] dbg:/tmp/k/kdesdk-4.10.0/kapptemplate/apptemplatesmodel.cpp:47
      0x49720e0: i8,ch = CopyFromReg 0x3a38860, 0x49721e0 [ORD=922] [ID=7] dbg:/tmp/k/kdesdk-4.10.0/kapptemplate/apptemplatesmodel.cpp:47
        0x49721e0: i8 = Register %vreg40 [ORD=922] [ID=1]
    0x4974530: i64 = Constant<1> [ID=5]
In function: _Z27extractTemplateDescriptionsP13KStandardDirs
make[2]: *** [kapptemplate/CMakeFiles/kapptemplate.dir/apptemplatesmodel.o] Error 1

Steps to reproduce:

apt-get source kdesdk
apt-get build-dep kdesdk
cd kdesdk-4.10.0/
mkdir build
cd build
export CC=clang
export CXX=clang++
cmake ..
make

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: clang 3.2-1~exp5ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-5.10-generic 3.8.0-rc6
Uname: Linux 3.8.0-5-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Thu Feb 14 02:54:55 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-08 (494 days ago)
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111007)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: clang
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Philip Muškovac (yofel) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in clang (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.