LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-03-2016, 12:26 PM   #1
Future Shock
LQ Newbie
 
Registered: May 2014
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
Post [bugreport ]GCC segmentation fault


Slackware64-current, GCC 5.3
Code:
$ g++ bug.cc -std=c++1y -c -o bug.o
In file included from /usr/include/boost/functional/hash/hash.hpp:20:0,
                 from /usr/include/boost/functional/hash.hpp:6,
                 from /home/user/src/evernus/ExternalOrderImporter.h:20,
                 from /home/user/src/evernus/EveCentralExternalOrderImporter.h:19,
                 from /home/user/src/evernus/EveCentralExternalOrderImporter.cpp:17:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/functional: In constructor «std::function<_Res(_ArgTypes ...)>::function(_Functor) [with _Functor = Evernus::EveCentralExternalOrderImporter::fetchExternalOrders(const TypeLocationPairs&) const::<lambda(auto:1&&, const auto:2&)>; <template-parameter-2-2> = void; _Res = void; _ArgTypes = {std::vector<Evernus::ExternalOrder, std::allocator<Evernus::ExternalOrder> >&&, const QString&}]»:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/functional:2250:7: внутренняя ошибка компилятора: Ошибка сегментирования
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Quote:
внутренняя ошибка компилятора: Ошибка сегментирования
means smth like
Quote:
inner error of compiler: segmentation fault
the sources are here ==> https://bpaste.net/raw/48d0da50fd14
 
Old 06-03-2016, 12:43 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
hi Future Shock,

sorry, but I think you missed reading the last line of the block you pasted, where it's specified how to do the bug report and where to post it.
Code:
See <http://gcc.gnu.org/bugs.html> for instructions.
 
Old 06-03-2016, 03:58 PM   #3
Future Shock
LQ Newbie
 
Registered: May 2014
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
hi Future Shock,

sorry, but I think you missed reading the last line of the block you pasted, where it's specified how to do the bug report and where to post it.
Code:
See <http://gcc.gnu.org/bugs.html> for instructions.
The issue might be fixed in newer versions of gcc. If so, The Man maybe should upgrade Slackware's gcc up to the fixed version in current.
 
Old 06-03-2016, 04:01 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
GCC was last upgraded back in December (there were a few rebuilds for various changes since then, but still on the same version).

It is way too far in the dev cycle of 14.2 to be bumping GCC to a newer version.

EDIT: And Pat already commented earlier today on a newer GCC and implying it won't be added this cycle.

Last edited by bassmadrigal; 06-03-2016 at 04:07 PM.
 
1 members found this post helpful.
Old 06-03-2016, 04:04 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by Future Shock View Post
The issue might be fixed in newer versions of gcc. If so, The Man maybe should upgrade Slackware's gcc up to the fixed version in current.
but you are not sure that this issue has been fixed, right? the only way to find out is if you file a bug report to the gcc developers and they confirm you that.

also, please see here.
 
1 members found this post helpful.
Old 06-03-2016, 04:43 PM   #6
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
The usual workround is -- if gcc has a bug, use clang.

e.g.
https://slackbuilds.org/cgit/slackbu...oot.SlackBuild
https://slackbuilds.org/cgit/slackbu...hdr.SlackBuild
 
  


Reply

Tags
bug, slackware



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
[SOLVED] gcc, segmentation fault error curious95 Linux - General 3 11-24-2012 04:41 AM
[SOLVED] SEGMENTATION FAULT using gcc 4.4.4 -O2 , works with gcc 4.1.0 -O2 or gcc 4.4.4 -O1 amir1981 Programming 36 07-26-2010 06:07 PM
compiling in gcc goes well, gives segmentation fault jshine Programming 6 12-19-2004 01:08 AM
gcc, segmentation fault, though compiles... scratch09 Programming 5 11-20-2004 05:11 PM
gcc / segmentation fault skeletal29 Linux - Software 0 05-05-2002 04:05 AM

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

All times are GMT -5. The time now is 08:07 AM.

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