glibc2.3.4 make, produces error "memcmp... file address 68"
Hi there everyone. I'm on a distribution called Core Linux (https://sourceforge.net/projects/coredistro/), and I'm having trouble installing glibc 2.3.4. So I ftp'd it, extracted it to a folder in the top of the hard drive, then I added in linuxthreads. Now I have configured it, but when I try to make it, it stops with an error looking like this:
Well, I'm past that error, but now when I try make bootstrap on gcc, I get this:
Which version of gcc ? ?
And which Linux is used for the build ?
Like "Debian 5 Lenny" etc. etc.
And you probably mean gmp / mpfr
Like I said at the top, the distro is Core Linux.
Well, I don't think gmp and mpfr are supposed to be in each other's directories, and gcc stops once it gets to gmp.
Info, Core Linux http://coredistro.sourceforge.net/
OK, is just so, the things you are doing may look confusing
Unusual to build a glibc(-2.3.4) unless it's for another OS.?
"Building glibc is quite tricky and has a number of pitfalls....
Never install over a live system. ..."
In matter of fact, you already have glibc-2.5 .
'ls /lib/libc-2.5.so' and 'ls /pkg/glibc-2.5-44.pkg'
Repacing with 2.3.4 will usually trash the OS.
And gcc-4.4.2 cannot be build with glibc-2.3.4 .
( 2.5 could be usable ?, at least works with gcc-4.4.0 )
grep -n glibc gcc.spec (see link below for source, 4.4.2)
85:# Make sure glibc supports stack protector
86:# Make sure glibc supports DT_GNU_HASH
90:# Make sure glibc supports TFmode long double
' ls /lib/libbfd* ' and ' ls /lib/libopcode* '
will show the version of binutils : 2.17
At least two options in gcc-4.4.2 require binutils 22.214.171.124.14
> > gcc-4.4.2-7.fc12.src.rpm : source code + patches.
From the file gcc.spec :
# Need binutils which support --hash-style=gnu >= 126.96.36.199.2-7
# Need binutils which support mffgpr and mftgpr >= 188.8.131.52.2-8
# Need binutils which support --build-id >= 184.108.40.206.17-3
# Need binutils which support %gnu_unique_object >= 220.127.116.11.14
# Need binutils which support .cfi_sections >= 18.104.22.168.14-33
Your binutils may be 2.17.50 ..and they shortened the name :
e.g. libbbfd-22.214.171.124.6-6.el5.so : is how it looks in EL 5.
The gcc people recommends the LFS build metod for gcc ...
.. Only the development version has gcc-4.4.2 included :
gcc pass 1
gcc pass 2
gcc install ( where gmp and mpfr just before that got installed.)
You will need a build directory outside gcc-4.4.2/ .
And there is no "gmp/mpfr directory".
There must be : gmp/ and mpfr/ directories inside gcc-4.4.2/
Please show the complete configure line, if further problems.
Interesting, alright. I'll wipe and repeat, this time with the LFS method. Thank you very much.
|All times are GMT -5. The time now is 11:19 AM.|