Opened 10 years ago

Closed 10 years ago

#44161 closed defect (fixed)

llvm-3.4 @3.4.2: Undefined symbols "llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc:
Port: llvm-3.4

Description

Building llvm 3.4 fails on my Lion system with:

Undefined symbols for architecture x86_64:
  "llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()", referenced from:
      llvm::(anonymous namespace)::ScalarEvolutionsTest_SCEVMultiplyAddRecs_Test::TestBody() in ScalarEvolutionTest.o
ld: symbol(s) not found for architecture x86_64

System info:

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.7.5
BuildVersion:   11G63
$ xcodebuild -version
Xcode 4.3.3
Build version 4E3002
$ clang -v
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix

I realize newer Xcode and clang versions are available for Lion; mainly, this machine runs older versions in order to find problems.

Attachments (2)

main.log.bz2 (53.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.
main.log.2.bz2 (53.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.
log with 3.4.2

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.2.bz2 added

log with 3.4.2

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: llvm-3.4 @3.4_3: Undefined symbols "llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()"llvm-3.4 @3.4.2: Undefined symbols "llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()"

Attached updated log for llvm-3.4 @3.4.2.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Building llvm-3.4 with clang-3.3 worked, so blacklisting Xcode 4.3's old clang would be one solution.

comment:3 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.