Software :: Determining GCC / Binutils And Glibc Version Compatibility
Apr 4, 2010
This questions pertains mainly to building a brand new GNU toolchain on one machine for deployment on fs of another machine that has no toolchain installed. I understand the machine on which GNU toolchain is going to be built as the 'build' machine. I understand the machine on which GNU toolchain is going to be deployed as the 'host' machine. I understand the machine on which the code generated by the new GNU toolchain is going to be run as the 'target' machine.
Q1.) Is there a fixed 'rule', 'matrix' or 'table' somewhere which tells me exactly which versions of 'binutils' and 'libc' are required by a particular version of GCC? I.e. something along the lines of:
- gcc ver.'k' can be built using gcc ver.'m'(or later) with binutils ver.'i' and libc ver. 'j'
- gcc ver.'k' will operate with binutils ver.'t' and libc ver.'r'(or later)
Is there some 'rule of thumb' / 'heuristics' giving me the above version requirements for the building and operating GCC, or is this information somehow implied or derived systematically. Where can I find more about the above?
Q2) I assume that the libraries have no dependencies on any underlying software other than the system calls provided by the kernel. Furthermore it appears that the libraries are not too sensitive about the kernel version they run on (I found this out from experience). Therefore I could build the libraries on some build machine and place them on the bare naked newly set up host file system without regard to any other prerequisite SW components?
Q3) During operation, do GCC and its various components place system calls directly to the kernel or via library calls (or both)? In other words I am trying to understand conceptually if GCC requires 'Glibc' for its own operation or not?
Q4) During operation, do the 'binutils' components place system calls directly to the kernel or via library calls (or both)? In other words I am trying to understand conceptually if the 'binutils' require 'Glibc' for their operation or not? ( Of course it is clear to me that when GCC is operating it will need libraries and headers to resolve object references in the target code it produces, but that would be a >different< question).
View 5 Replies
ADVERTISEMENT
Jun 11, 2010
Suppose you have glibc 2.5 compiled with kernel headers 2.6.18. Is it safe to run this glibc with Linux kernel 2.6.32? Is it safe to run this glibc with Linux kernel 2.6.9?
View 1 Replies
View Related
Feb 5, 2010
I have a server running Reh Hat Linux 7.3 with kernel 2.4.18. Can i upgrade kernel to version 2.6 and glibc to version 2.5?
View 6 Replies
View Related
Apr 5, 2011
how to find what glibc version I have? Our software vendor needs this info so they can send us the right run time.
View 3 Replies
View Related
Nov 13, 2010
In a chroot einvironment i am trying to compile gcc but is says that i need a newer version of glibc, but i have the newest version of it. i think somehow it trys to use the older glibc from the ubuntu install im makeing it on.
View 1 Replies
View Related
Mar 31, 2009
I'm new to the yum installation route and am looking forward to getting some experience using it, however, I am working to build a Nagios server through yum and have run into difficulties meeting the dependencies. (I'd previously installed from source on a different server though I'd been warned is a bad thing so I am trying to make nice and go this route but have run into snags right off...) The dependency hurdle I'm trying to overcome is getting to GLIBC2_4 from my version of 2.3.
I've read through a number of posts where people have had issues getting glib updated or gcc installed correctly. This is pretty much a new installation of CentOS (VM cloned off an earlier install that was taken just after going through the GUI setup). As far as I have gotten is 'yum update' which updated the kernel and openssl.
View 2 Replies
View Related
Nov 30, 2010
I'm going to install Ubuntu 64bit, currently run 10.10 32bit. I'm thinking about going back to 10.04 in combination with a previous version of wine(maybe 1.2?) to get some games working again.
Do any of you know if games are still working well with this combination? I'm looking to play WoW at some point, Oblivion + Expansion/Mods, any FPS available.
View 2 Replies
View Related
Jan 8, 2010
AFAIK, in addition to implementing the standard C library, glibc provides wrappers for system calls, threading support, and basic application facilities. So because of that, glibc that will be used on my target system should be built based on the kernel version running on my target, right?
Based on the above, I am trying to build a glibc version for my target machine's kernel. However, I don't know to to build a glibc library for a target system and also where on the target's filesystem should be put? In which location Linux will start looking for the libraries required for a program to run (should I create an /etc/ld.so.conf file)?
View 12 Replies
View Related
Jun 17, 2011
Quote: Originally Posted by Computerphile Personally I haven't tried anything better than Wine (if you exclude proper virtual machines), but whenever I look for alternatives to something I hit up AlternativeTo.net or Wikipedia's See Also section. Looks like there are some alternatives.
Edit: Though, if you let us know exactly what software (except for Format Factory) you have problems running in Wine, I'm sure the community can give you some proper Linux native alternatives. another major compatibility issue with wine is that i can't install canon pixma ip1300 printer drivers. no idea of installing printer in fedora.
[code]...
I have no experience with anything but standard Wine, and I haven't even used that in quite some time. Crossover and Cedega are both built off of the Wine codebase, and they both cost money. can POL do everything that wine can do? in other words, do i need to install them both or POL will do good alone?
View 14 Replies
View Related
Mar 13, 2011
I'm currently an user of OpenSuse, newer version of Suse don't support some of the hardware that I use and previous version of Suse will cease to have support in a few months. So I'm considering other versions of Linux and Ubuntu comes to mind. So I like to know if Ubuntu (Desktop 32 bits) supports this devices:
NVIDIA Quadro2 Pro (including 3d support)
Wacom Intuos 2 SERIAL tablet
Epson ActionScanner II PARALLEL
View 1 Replies
View Related
Jan 27, 2011
I'm a freelance science editor; I edit dissertations and manuscripts for submission to peer-reviewed journals primarily. My clients almost exclusively use Microsoft Word. Any word processing tool that I use has to be compatible with MS Word, particularly "Track Changes" version control. Has OpenOffice (or another open source word processing software) achieved this?
View 1 Replies
View Related
Oct 26, 2010
I've been working to get gcc up and running on a new install of Fedora 13. glibc-devel had dependencies upon installation where it required glibc and glibc-common, both 2.12.1-3. No problem, found both at rpm dot pbone dot net. However, when I try to install the following circular dependency results... it doesn't matter the order of install.
Code:
[root AT localhost gcc_install]# rpm -ivh glibc-common-2.12.1-3.x86_64 .rpm
error: Failed dependencies:
glibc = 2.12.1-3 is needed by glibc-common-2.12.1-3.x86_64
[code]....
View 5 Replies
View Related
Jun 24, 2011
I notice that these two packages contain the same files and uninstalling glibc-i18n doesn't uninstall the internationalization files, because they are also in the glibc package. Is this a mistake or is this normal or is there a reason for it ? I just made my own glibc package to fix this, but was wondering why this is the way it is...
View 7 Replies
View Related
Apr 12, 2011
I have installed Zimbra 6.0.1 and updated to Zimbra 7.1.0, the problem is that it needs the glibc-2.10 to start one of its services. I tried everything but i'dont get to update the glibc.
View 1 Replies
View Related
Jun 13, 2011
OS : Oracle Enter Prise Linux 6 (equivalent to RedHat)
I am in process to install oracle 10g on said OS.My process fails and after digging up , I came to know that some of the oracle libraries are compiled on 32-bit architecture and it require glibc-32 bit . also it require for gcc-32 bit.
Now i have downloaded all the required rpm for gcc-32bit . when I try to install glibc and its dependencies , it gives me error that newer version already exist.
How can I install , Gcc-32bit(libgc, libstd-i386 etc) in parallel or standalone?
View 3 Replies
View Related
Sep 16, 2011
I made an update of my Centos 5.5 yesterday. In doing so glibc has been updated to glibc.i686. Just now some of my FPGA tools crash. Unfortunately there isn't a downgrade for glibc.i686. How can I replace glibc.i686 by glibc.i386?A simple yum install glibc.i386 conflicts with the files from package glibc-2.5-65.i686
yum list glibc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
[code]....
View 4 Replies
View Related
May 30, 2011
I am in very much need to resolve the issue of Upgrade redhat5 from glibc 2.5 to glibc 2.7. The problem is when I run a binary compiled on our build setup (glibc 2.11) on Suse 11 (glibc 2.9) it works fine...
But the same binary do not work on redhat enterprise version 5 telling error as need glibc2.7 or sometimes segmentation fault for the same binary execution.
I tried upgrading the redhat glibc 2.5 to glibc 2.7, but not successful.
View 3 Replies
View Related
Jul 13, 2010
I am using CENTOS 5.3, I want to upgrade glibc 2.5 to glibc 2.7.
how to do it.
I am not getting from where to start
View 4 Replies
View Related
May 11, 2010
Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :
[Code]...
View 19 Replies
View Related
Jan 21, 2010
How do I know which binutils I needs to instal? I have linux Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64.there are many binutils available at gnu.org in "software" in "binutils".I am not able to identify which for my machine.
View 10 Replies
View Related
May 18, 2010
I'm trying to port binutils to a new architecture. I have changed and created necessary files for this. The configure commad run succusfuly. but when I tried to run make I find probems. the error msg is:
View 1 Replies
View Related
Jul 14, 2010
it is about 'strings' binary from binutils. I recently wanted to test what it does and how it works. The best I did was this:
Code:
#!/bin/sh
PROGRAM="
int main()
{
[code]....
Ok, from the output I don't get it.Can someone show me in a simple script, what is 'strings' good for ?
View 10 Replies
View Related
Feb 11, 2011
I am trying to compile binutils 2.15.92 package on RHEL 5.4, which is required with gcc 3.4.6 version. I have already installed gcc 3.4.6 on /opt/gcc.
I have given the --prefix as /opt/binutils during compilation. I have all flex, bison and m4 packages installed.
I am getting following error during compilation..
Code:
root/binutils/binutils-2.15.92.0.2/binutils/bucomm.c:425: warning: the use of `mktemp' is dangerous, better use `mkstemp'
ar.o: In function `mri_emul':
ar.c:(.text+0x9f2): undefined reference to `yyparse'
[Code]....
View 7 Replies
View Related
Oct 20, 2010
oprofile-0.9.6-i486-2.txz links to libbfd-2.20.51.0.8.20100412.so ; binutils-2.20.51.0.11-i486-1.txz has libbfd-2.20.51.0.11.20100810.so. These are all the current packages as of this minute. Linking the new libbfd to the older seems to work.
View 2 Replies
View Related
Apr 5, 2011
I have ubuntu 8.10. In this I could find the binutils, gcc are installed. But when ever I try to know that glibc, glibc-linuxthreads are installed are not. It showing that no package is found. For that I have downloaded glibc-2.3.3.tar.gz, glibc-linuxthreads-2.3.3.tar.gz.I want to install these two package.i dont know where to install as am novice to linux.
View 1 Replies
View Related
Jul 11, 2014
I'm trying to install adobe flash player on wheezy (7.4). I've downloaded the package since adobe thinks apt works in a browser (it doesn't on my laptop). Anyway, I've tried installing the adobe flash player package via gdebi and it complains binutils is not installed. fine, I go to synaptic to find binutils and synaptic cannot find it. I'm not even sure why it is not installed. How to get binutils?
Here is my sources.list:
Code: Select all#
# deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official i386 NETINST Binary-1 20131215-03:38]/ wheezy main
# deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official i386 NETINST Binary-1 20131215-03:38]/ wheezy main
# deb http://ftp.us.debian.org/debian/ wheezy main
# deb-src http://ftp.us.debian.org/debian/ wheezy main
[Code] .....
View 14 Replies
View Related
May 10, 2010
I have a script I only want to run when a window is being dragged around. Is there an environmental variable or something that will tell me whether one is moving and which one it is? I'm using Ubuntu Lucid if it matters.
View 9 Replies
View Related
Mar 14, 2011
Looking at the output of netstat, I'm not seeing a definitive way to tell which torrent connections are clients reaching in to my machine vs my machine reaching out to the world. Is there a clear way to determine which is which?
View 1 Replies
View Related
Sep 8, 2009
I am trying to remember the procedure used to determine the ip address range when given a network address and its subnet mask. Does anyone have any documentation on the steps that are done to accomplish this?
View 6 Replies
View Related
Feb 8, 2010
I have two NIC cards installed, they both go to seperate networks. Occassionally I am not able to establish a connection via eth1. When looking at tcpdump traces I see that Linux is using eth0 hardware port and putting eth1's IP address in the packet to reply to the connection request. When the connections work its when Linux uses eth1's port.
View 3 Replies
View Related