This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: glibc 2.2.3 configure fails with "The x86_64 is not supported"
On Mon, 2019-01-14 at 20:42 +0100, Florian Weimer wrote:
> * Eric Gunther:
>
> > :~/src/glibc-build>make
> >
> > and alot of stuff came up but at the end got some errors;
> >
> >
> > /tmp/ccitm1kW.s: Assembler messages:
> > /tmp/ccitm1kW.s: Error: `loc1@GLIBC_2.2.5' can't be versioned to
> > common
> > symbol 'loc1'
> > /tmp/ccitm1kW.s: Error: `loc2@GLIBC_2.2.5' can't be versioned to
> > common
> > symbol 'loc2'
> > /tmp/ccitm1kW.s: Error: `locs@GLIBC_2.2.5' can't be versioned to
> > common
> > symbol 'locs'
> > ../o-iterator.mk:9: recipe for target '/home/eric/src/glibc-
> > build/misc/regexp.os' failed
> > make[2]: *** [/home/eric/src/glibc-build/misc/regexp.os] Error 1
> > make[2]: Leaving directory '/home/eric/src/glibc-2.23/misc'
> > Makefile:214: recipe for target 'misc/subdir_lib' failed
> > make[1]: *** [misc/subdir_lib] Error 2
> > make[1]: Leaving directory '/home/eric/src/glibc-2.23'
> > Makefile:9: recipe for target 'all' failed
> > make: *** [all] Error 2
>
> This was fixed on master with this commit:
>
> commit 388b4f1a02f3a801965028bbfcd48d905638b797
> Author: H.J. Lu <hjl.tools@gmail.com>
> Date: Fri Jun 23 14:38:46 2017 -0700
>
> Avoid .symver on common symbols [BZ #21666]
>
> It backports cleanly with “git cherry-pick” (if you have the
> ChangeLog
> merge driver installed). It's also included on the
> release/2.24/master
> branch.
>
Ok, I know this sounds ad-hoc, but thats how I get things done. As I
mentioned initially, I am not too good at this type of thing. But I am
interested in getting blender 2.8 to work.
Downloaded glibc-2.24.gz from http://mirror.keystealth.org/gnu/libc/
tar -xvzf glibc-2.24.tar.gz
~/src/glibc-build/../glibc-2.24/configure
seems to succeed,
then make, then same errors.
/tmp/ccnRlbFF.s: Assembler messages:
/tmp/ccnRlbFF.s: Error: `loc1@GLIBC_2.2.5' can't be versioned to common
symbol 'loc1'
/tmp/ccnRlbFF.s: Error: `loc2@GLIBC_2.2.5' can't be versioned to common
symbol 'loc2'
/tmp/ccnRlbFF.s: Error: `locs@GLIBC_2.2.5' can't be versioned to common
symbol 'locs'
../o-iterator.mk:9: recipe for target '/home/eric/src/glibc-
build/misc/regexp.os' failed
make[2]: *** [/home/eric/src/glibc-build/misc/regexp.os] Error 1
make[2]: Leaving directory '/home/eric/src/glibc-2.24/misc'
Makefile:214: recipe for target 'misc/subdir_lib' failed
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory '/home/eric/src/glibc-2.24'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2
> Is there a reason why you use 2.23 in particular?
It is just the version that blender 2.8 says it needs.
> 2.24 is more widely
> used and thus has more backports on the release branch. Or you could
> switch to a later release such as 2.27 or 2.28, especially if you
> have a
> modern toolchain.
>
> > Can I use something (like patchelf) to run blender 2.8 without
> > building
> > it myself?
>
> Could you upgrade your distribution?
It would, as far as I know, have to be a distribution upgrade rather
than just an upgrade, that seems as though it would take some time, and
I would rather just keep things as they are. Although, as I said
above, I seem to be having difficulty with just this and maybe the best
route is to just upgrade to opensuse tumbleweed (which has glibc-
2.27). I am getting the same error with glibc-2.24, so I don't know
whats wrong.
Thanks for your help,
-eg
>
> Thanks,
> Florian