LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-01-2010, 04:15 AM   #1
kohoutm2
LQ Newbie
 
Registered: Apr 2010
Location: Prague
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
rebuilding Alien Bob's multilib toolchain fails


I succesfully used Alien Bob's multilib environment in Slackware for a long time. Recently I upgraded kernel+glibc+gcc Slackware packages which rewrote installed multilib gcc/glibc and I tried to rebuild Alien Bob's multilib toolchain for Slackware from scratch according to Alien Bob's description README but I was not succesfull. The change I made in existing Alien Bob's SlackBuild scripts was to compile gcc-4.4.3 instead of gcc-4.3.3.

First issue was that glibc.pthread-disable-forced-unwind-check.diff.gz patch was not applicable to glibc-2.11.1 sources and glibc-multilib.SlackBuild script failed. I was able to make my own patch that solves this issue and I was able to create "bootstrap" version of a multilib glibc.

Second issue is that I'm not able to use temporary gcc/glibc bootstrap toolchain to build a shared, multilib set of packages for the "c,c++,ada" languages by using gcc-multilib.SlackBuild script. During gcc configuration configuration script says that gcc is not able to compile ada. I'm confusing by Alien Bob's sentence in description "The pre-existing gnat compiler will be used by the static gcc to recompile gnat for multilib.". It seems that static gcc compiler is not able to use pre-existing gnat compiler from default Slackware installation. I extracted source file and test for ada from gcc configuration script and run
Code:
gcc -c conftest.adb
or
Code:
gnat make conftest.adb
both say that ada is not supported by gcc that is probably right because static gcc doesn't support ada.

My question is how to build a shared, multilib set of packages for the "c,c++,ada" languages and proceed to following step and rebuild glibc packages.

Thank you for any help or explanation.
 
Old 04-01-2010, 04:38 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
It was hard enough building the multilib toolchain from scratch the first time! So, I will not try to replay it and see how I can resolve your errors ;-)
There's simply not enough time.

What you should do once you have a working set of multilib gcc and glibc packages, is to use those to build never versions of them.

Eric
 
  


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] Alien Bob's VLC slackbuild fails on current Daedra Slackware 4 10-25-2010 03:14 PM
KDE 4.4.0 on Alien Bob's site samac Slackware 64 04-20-2010 07:22 AM
[SOLVED] Alien Bob's VLC fails to compile on newest current Daedra Slackware 3 03-06-2010 04:23 PM
Alien Bob's gecko-mediaplayer buildscript fails... Daedra Slackware 1 02-11-2010 01:03 AM
[SOLVED] Wine Install fails at line 291 - Alien Bob's SlackBuild script Tim Johnson Slackware 14 02-01-2010 11:52 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration