LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2017, 04:11 AM   #1
vyshnav
LQ Newbie
 
Registered: Oct 2017
Posts: 1

Rep: Reputation: Disabled
gcc build error on Centos 7


I was trying to build gcc 4.4 rpm for centos7 using mock build
but I'm getting build error.

Please find the build.log below

sinput.adb:776:19: deallocation from empty storage pool
make[3]: *** [ada/sinput.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/builddir/build/BUILD/gcc-4.4.7-20120601/obj-i686-redhat-linux/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/builddir/build/BUILD/gcc-4.4.7-20120601/obj-i686-redhat-linux'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/gcc-4.4.7-20120601/obj-i686-redhat-linux'
make: *** [profiledbootstrap] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.dHhp5l (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.dHhp5l (%build)
Child return code was: 1

please help me to solve this
 
Old 10-05-2017, 11:02 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,446

Rep: Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173
Welcome to LQ. Usually, the first error in a build is the problem, in your case
Code:
sinput.adb:776:19: deallocation from empty storage pool
make[3]: *** [ada/sinput.o] Error 1
Are you sure there's no error before that? I would expect some bad news before the 'deallocation' stuff, which is tidying up afterwards. Error 1 is Permissions. If you're building as a user, is something root owned?

Why not install the red hat gcc stuff? gcc-4.4.7 is old these days. Slackware-14.2 is about a year old and uses 5.3.0, and slackware-current (their next release) is at gcc-7.2.0.

In general, building stuff is bad news on a tightly regulated system like Centos, because everything gets updated around you and then the libs clash. If you build an rpm for gcc-4.4.7, you might just get the middle finger when you try installing it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Error During the build of GCC... b1n4rysh4d0w Linux From Scratch 9 02-02-2014 11:50 AM
gcc 4.7.1. build error johannes eder General 1 08-01-2012 04:02 PM
gcc-4.4.3 make error - failed to build gcc-4.4.3--please help aayu09 Fedora 4 03-05-2010 09:20 AM
LFS 6.4 build gcc error Ron_Beltran Linux From Scratch 4 09-22-2009 11:18 PM
GCC build error lukeiamyourfather Linux From Scratch 5 01-05-2008 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:32 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