LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 841 - 'lli' build failure
Summary: 'lli' build failure
Status: RESOLVED FIXED
Alias: None
Product: Build scripts
Classification: Unclassified
Component: Makefiles (show other bugs)
Version: trunk
Hardware: Macintosh MacOS X
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-21 13:26 PDT by Devang Patel
Modified: 2010-02-22 12:52 PST (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments
proosed patch (2.74 KB, text/plain)
2006-07-21 13:54 PDT, Devang Patel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devang Patel 2006-07-21 13:26:05 PDT
I am getting ...

/usr/bin/ld: Undefined symbols:
llvm::MVT::getValueTypeString(llvm::MVT::ValueType)
llvm::MVT::getVectorType(llvm::MVT::ValueType, unsigned int)
llvm::MVT::getTypeForValueType(llvm::MVT::ValueType)
collect2: ld returned 1 exit status
Comment 1 Anton Korobeynikov 2006-07-21 13:29:28 PDT
I don't have such problems here (Linux) and with crosscompiler (MingW, targeting
windows). Maybe this is due to big circular dependency of libraries.
Comment 2 Devang Patel 2006-07-21 13:54:03 PDT
Created attachment 369 [details]
proosed patch

Attached patch (pr841.diff) fixes build failures on Mac OS X.
Comment 3 Anton Korobeynikov 2006-07-21 14:07:44 PDT
Patch doesn't break anything on Linux (rebuilding llc & lli correctly).
Comment 4 Devang Patel 2006-07-21 14:49:28 PDT
Fixed.