LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Tracking down "Segmentation fault" in blassic (https://www.linuxquestions.org/questions/slackware-14/tracking-down-segmentation-fault-in-blassic-4175522423/)

psionl0 10-23-2014 12:38 PM

Update
 
My SO also has a laptop with Slackware 14.0 installed on it. So I built and ran blassic on that laptop and got the same segmentation fault.

I then remembered an old laptop that still has Slackware 33.7 (32 bits) on it. Compiling blassic on that laptop produced a program that ran without errors on the laptop, the netbook and the PC.

It seems that the problem lies with Slackware 14.0 - probably gcc. When I installed multilib, I had to upgrade the gcc packages to their multilib versions as per the multilib instructions. This is the list of gcc packages currently installed:
Code:

~$ ls /var/log/packages | grep gcc
gcc-4.7.1_multilib-x86_64-1alien
gcc-g++-4.7.1_multilib-x86_64-1alien
gcc-gfortran-4.7.1_multilib-x86_64-1alien
gcc-gnat-4.7.1_multilib-x86_64-1alien
gcc-go-4.7.1_multilib-x86_64-1alien
gcc-java-4.7.1_multilib-x86_64-1alien
gcc-objc-4.7.1_multilib-x86_64-1alien
gccmakedep-1.0.2-noarch-2

So I'm not sure if the problem lies with the native gcc packages or exclusively with the multilib versions.


All times are GMT -5. The time now is 10:01 PM.