This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
glibc compiled with mcmodel=large
- From: Zeng Bin <ezengbin at gmail dot com>
- To: libc-help <libc-help at sourceware dot org>
- Date: Fri, 17 Feb 2012 16:19:12 -0500
- Subject: glibc compiled with mcmodel=large
- Authentication-results: mr.google.com; spf=pass (google.com: domain of ezengbin@gmail.com designates 10.60.0.195 as permitted sender) smtp.mail=ezengbin@gmail.com; dkim=pass header.i=ezengbin@gmail.com
Hi all,
I am really stumped on this problem. I have been trying to compile
glibc-2.14 with mcmodel=large on.
glibc-2.14 is configured like this:
../src/configure
--prefix=/home/bzeng/tools/glibc/glibc-2.14-git/install/
CFLAGS="-mcmodel=large -O2 -U_FORTIFY_SOURCE" -enable-add-ons
--without-selinux --disable-profile
During the make, it reported this error:
../sysdeps/x86_64/multiarch/init-arch.c: In function ‘__init_cpu_features’:
../sysdeps/x86_64/multiarch/init-arch.c:53:3: error: inconsistent
operand constraints in an ‘asm’
../sysdeps/x86_64/multiarch/init-arch.c:32:3: error: inconsistent
operand constraints in an ‘asm’
../sysdeps/x86_64/multiarch/init-arch.c:32:3: error: inconsistent
operand constraints in an ‘asm’
make[2]: *** [/home/bzeng/tools/glibc/glibc-2.14-git/build/csu/init-arch.os]
Error 1
make[2]: Leaving directory `/home/bzeng/tools/glibc/glibc-2.14-git/src/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/bzeng/tools/glibc/glibc-2.14-git/src'
make: *** [all] Error 2
Did anyone compile glibc with -mcmodel=large on? Any suggestion would
be appreciated. Also, if there is a distro compiled with
-mcmodel=large, would you please point me to the right link?
Thanks a lot.
Bin