[Gambas-user] [Gambas Bug Tracker] Bug #950: Can't compile gb.jit with 3.5.0 version, segmentation fault and gb.xml.rpc not found

bugtracker at ...3416... bugtracker at ...3416...
Sun May 29 22:33:00 CEST 2016


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

Comment #7 by Frigo 2010:

Next Test 

Gambas 3.8 

sudo make uninstall
...

Gambas 3.8.4 

cd 3.8.4_test_a
(./reconf-all && ./configure -C && make -j5) > output_test_3_8.txt 2>&1
sudo make install > make_install_test_3_8_4.txt

After make the message:
gbi3: warning: component gb.xml.rpc not found

pi at ...3603...:~/GAMBAS_SVN_UPDATE/3.8.4_test_a $ gambas3
Speicherzugriffsfehler ( Segmentation fault ) 

pi at ...3603...:~/GAMBAS_SVN_UPDATE/3.8.4_test_a $ cd app/src/gambas3

pi at ...3603...:~/GAMBAS_SVN_UPDATE/3.8.4_test_a/app/src/gambas3 $ gbc3 -agt
OK

pi at ...3603...:~/GAMBAS_SVN_UPDATE/3.8.4_test_a/app/src/gambas3 $ gdb gbx3
GNU gdb (Raspbian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gbx3...done.

(gdb) run
Starting program: /usr/bin/gbx3 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x6dc03460 (LWP 25743)]
[New Thread 0x6d071460 (LWP 25744)]
Cannot access memory at address 0x1

Program received signal SIGSEGV, Segmentation fault.
Cannot access memory at address 0x1
0x7158e218 in ?? () from /usr/lib/arm-linux-gnueabihf/libLLVM-3.5.so.1

(gdb) bt
Cannot access memory at address 0x1
#0  0x7158e218 in ?? () from /usr/lib/arm-linux-gnueabihf/libLLVM-3.5.so.1
#1  0x71580d24 in ?? () from /usr/lib/arm-linux-gnueabihf/libLLVM-3.5.so.1
Cannot access memory at address 0x1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) quit
A debugging session is active.

	Inferior 1 [process 25739] will be killed.

Quit anyway? (y or n) y

--------------------------------------------

Next test for tomorrow:

Become LLVM compile from SVN itself and then test


mkdir llvm
svn co http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_352/final/ llvm 
cd llvm 
mkdir build 
cd build 
../configure --prefix=/usr --enable-optimized --enable-jit --enable-shared 
make -j5
sudo make install 
cd ..
cd ..

mkdir 3.8_llvm
mkdir 3.8.4_llvm
mkdir trunk_llvm

svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/branches/3.8 3.8_llvm
svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/tags/3.8.4 3.8.4_llvm
svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk trunk_llvm

cd 3.8_llvm
(./reconf-all && ./configure -C && make -j5) > output_3_8_llvm.txt 2>&1
#sudo make install > make_install_3_8_llvm.txt
cd ..

cd 3.8.4_llvm
(./reconf-all && ./configure -C && make -j5) > output_3_8_4_llvm.txt 2>&1
#sudo make install > make_install_test_3_8_4.txt
cd ..

cd trunk_llvm
(./reconf-all && ./configure -C && make -j5) > output_trunk_llvm.txt 2>&1
#sudo make install > make_install_test_3_8_4.txt
cd ..



Sign up tomorrow






More information about the User mailing list