[Gambas-user] [Gambas Bug Tracker] Bug #995: jit module compiling with 3.2 llvm: error: invalid pure specifier

bugtracker at ...3416... bugtracker at ...3416...
Fri Sep 9 17:42:21 CEST 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.995&from=L21haW4-

PICCORO LENZ MCKAY reported a new bug.

Summary
-------

jit module compiling with 3.2 llvm: error: invalid pure specifier

Type             : Bug
Priority         : High
Gambas version   : 3.9
Product          : Development Environment


Description
-----------

compiling gambas with JIT 3.2 got error compiling:


In file included from jit.h:65,
                 from jit_codegen.cpp:34:
/usr/lib/llvm-3.2/include/llvm/IRBuilder.h:1112: error: invalid pure specifier (only `= 0' is allowed) before ‘;’ token
/usr/lib/llvm-3.2/include/llvm/IRBuilder.h: In instantiation of ‘llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >’:
jit_codegen.cpp:282:   instantiated from here
/usr/lib/llvm-3.2/include/llvm/IRBuilder.h:1112: error: initializer specified for non-virtual method ‘llvm::Value* llvm::IRBuilder<preserveNames, T, Inserter>::CreateIntCast(llvm::Value*, llvm::Type*, const char*) [with bool preserveNames = true, T = llvm::ConstantFolder, Inserter = llvm::IRBuilderDefaultInserter<true>]’
jit_codegen.cpp: In function ‘llvm::Value* get_cstring_from_addr(llvm::Value*)’:
jit_codegen.cpp:729: error: expected primary-expression before ‘[’ token
jit_codegen.cpp:729: error: expected primary-expression before ‘]’ token
jit_codegen.cpp: In function ‘void finish_gosub_returns()’:


System information
------------------

[System]
Gambas=3.9.1
OperatingSystem=Linux
Kernel=2.6.32-trunk-686-bigmem
Architecture=x86
Distribution=debian 6.1
Desktop=LXDE
Theme=Gtk
Language=en_US.UTF-8
Memory=4021M

[Libraries]
Cairo=libcairo.so.2.10800.10
Cairo=libcairo.so.2.10800.8
Cairo=libcairo.so.2.17.5
Cairo=libcairo.so.2.2.4
Cairo=libcairo.so.2.9.2
Curl=libcurl.so.4.1.0
Curl=libcurl.so.4.1.1
DBus=libdbus-1.so.3.4.0
GStreamer=libgstreamer-0.10.so.0.26.0
GTK+2=libgtk-x11-2.0.so.0.2000.1
Poppler=libpoppler.so.3.0.0
Poppler=libpoppler.so.5.0.0
QT4=libQtCore.so.4.6.3
SDL=libSDL-1.2.so.0.11.3
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-UVwco4nAAR,guid=f8549daf7cc8698efc1a4a8257d0110b
DESKTOP_SESSION=LXDE
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=default
GDM_LANG=en_US.UTF-8
GDM_XSERVER_LOCATION=local
HOME=<home>
LANG=en_US.UTF-8
LOGNAME=<user>
OOO_FORCE_DESKTOP=gnome
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
PWD=<home>
SAL_DISABLE_NATIVE_ALPHA=true
SAL_USE_VCLPLUGIN=gtk
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=2919
SSH_AUTH_SOCK=/tmp/ssh-uFqhhL2878/agent.2878
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=7
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_HOME=<home>/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
XDG_MENU_PREFIX=lxde-
_LXSESSION_PID=2878






More information about the User mailing list