Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22002

How to build older version of glibc?

$
0
0

I am building gcc-8.1.0 cross-compiler for arm, for Ubuntu Xenial 16.04. That package exists as a debian package but only for Ubuntu 18.04 bionic which is why I am building it. But there is a problem - namely, gcc-8.1.0 exists as a package for x86_64 system for Ubuntu 16.04 (for native architecture). It downloads all the dependencies, among which glibc-2.23. When I want to build gcc cross-compiler for arm architecture according to the instructions given here: http://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/ at step 6 when making standard C library glibc fails to be build because of an error /tmp/ccs9D1VT.s: Error: `loc1@GLIBC_2.17' can't be versioned to common symbol 'loc1'. I tried with older versions of gcc (4.9.3 & 5.4.0) in the previous steps according to manual given in the link, but seems that glibc has this bug.

So, I am wondering - if that's the bug in glibc-2.23 how is it being built at all? Since I have it installed with my debian package for x86_64 Ubuntu Xenial.


Viewing all articles
Browse latest Browse all 22002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>