Compiler Error

20 views
Skip to first unread message

s meng

unread,
Jun 18, 2015, 1:57:14 AM6/18/15
to extemp...@googlegroups.com
Hello,

I am following the guide at 
http://benswift.me/2013/03/20/building-extempore-on-osx-linux/ 

The source I am using is 
4dd2be6 HEAD@{0}: clone: from https://github.com/digego/extempore.git

I built llvm (based on the 3.4.2) to include the patch mentioned.
I notice that the page above mentions llvm 3.4.1

I get the error and output below.

Would be glad to get guidance on how to fix the "Compiler Error" below.
My system is a linux (fedora 22) x86_64

Thanks!
========= console output follows
=========
$ ./extempore

------------- Extempore -------------- 
Andrew Sorensen (c) 2010-2014
and...@moso.com.au, @digego

ARCH           : x86_64-redhat-linux-gnu
CPU            : 
ATTRS          : 
MCJIT          : NO
Output Device  : default
Input Device   : 
SampleRate     : 44100
Channels Out   : 2
Channels In    : 0
Frames         : 128
Latency        : 0.0348299 sec
---------------------------------------

Starting utility process
Trying to connect to 'localhost' on port 7098
New Client Connection 
Successfully connected to remote process

Starting primary process
Trying to connect to 'localhost' on port 7099
New Client Connection 
Successfully connected to remote process
SetValue:  NaNf >>> float
SetValue:  NaNd >>> double
Extempore: <string>:46:18: error: '@llvm_zone_malloc' defined with type
'i8* (%mzone*, i64)*'
%dat9 = call i8* @llvm_zone_malloc(%mzone* %zone8, i64 4)
                 ^

Compiler Error  compiler failed

Ben Swift

unread,
Jun 19, 2015, 12:55:00 AM6/19/15
to extemp...@googlegroups.com
Hi meng

Are you sure you applied the LLVM patch, and that EXT_LLVM_DIR points to the patched version?

That's usually the cause of an error like the one you're getting. Maybe check the source to see if the patch was applied?

Cheers,
Ben
--
You received this message because you are subscribed to the Google Groups "Extempore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to extemporelan...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

s meng

unread,
Jun 20, 2015, 6:28:02 PM6/20/15
to extemp...@googlegroups.com, bens...@fastmail.com
Dear Ben,

Thanks for your reply.
I compiled again using LLVM 3.4.1 and got things to run.

Regards
Reply all
Reply to author
Forward
0 new messages