LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-23-2014, 12:38 PM   #31
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722

Original Poster
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
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.

Last edited by psionl0; 10-23-2014 at 12:39 PM.
 
  


Reply

Tags
blassic, gdb, segmentation fault



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
convert giving "Segmentation fault" as only output and not converting file anon091 Linux - Newbie 8 08-30-2013 12:53 PM
"Segmentation Fault" in gtkpod-git, should I try Amarok? [iPod Nano 5G] atari/ Linux - Software 4 04-19-2010 01:19 PM
"netstat -l" gives "segmentation fault" Earwig Linux - Newbie 2 03-31-2010 04:12 PM
sunbird 0.3 does not start, error: Segmentation fault : "$prog" ${1+"$@"} polemon Ubuntu 8 01-08-2007 04:22 AM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration