This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
build glibc error
- From: Li Li <fancyerii at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Mon, 18 Feb 2013 18:18:55 +0800
- Subject: build glibc error
hi
I am building glibc 2.10.1 and there is a error
$../glib-2.10/configure --prefix=../glibc_build
$make
gcc memmove.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings
-fmerge-all-constants -g -Wstrict-prototypes -I../include
-I/home/work/lili/glibc-build/string -I/home/work/lili/glibc-build
-I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/wordsize-64
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64
-I../sysdeps/x86_64 -I../sysdeps/wordsize-64
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I..
-I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h
-o /home/work/lili/glibc-build/string/memmove.o -MD -MP -MF
/home/work/lili/glibc-build/string/memmove.o.dt -MT
/home/work/lili/glibc-build/string/memmove.o
gcc ../sysdeps/x86_64/memset.S -c -I../include
-I/home/work/lili/glibc-build/string -I/home/work/lili/glibc-build
-I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/wordsize-64
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64
-I../sysdeps/x86_64 -I../sysdeps/wordsize-64
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I..
-I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h
-DASSEMBLER -g -Wa,--noexecstack -o
/home/work/lili/glibc-build/string/memset.o -MD -MP -MF
/home/work/lili/glibc-build/string/memset.o.dt -MT
/home/work/lili/glibc-build/string/memset.o
../sysdeps/x86_64/memset.S: Assembler messages:
../sysdeps/x86_64/memset.S:706: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:707: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:708: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:709: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:710: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:711: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:712: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:713: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:714: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:715: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:716: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:717: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:718: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:719: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:720: Error: suffix or operands invalid for `movnti'
../sysdeps/x86_64/memset.S:721: Error: suffix or operands invalid for `movnti'
make[2]: *** [/home/work/lili/glibc-build/string/memset.o] Error 1
make[2]: Leaving directory `/home/work/lili/glibc-2.10.1/string'
make[1]: *** [string/subdir_lib] Error 2
make[1]: Leaving directory `/home/work/lili/glibc-2.10.1'
make: *** [all] Error 2
my environment:
$ lsb_release -a LSB Version:
:core-3.0-amd64:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS Description: Red Hat Enterprise
Linux AS release 4 (Nahant Update 3) Release: 4 Codename:
NahantUpdate3
$ uname -a Linux xxxxx 2.6.9-52bs #2 SMP Fri Jan 26 13:34:38 CST 2007
x86_64 x86_64 x86_64 GNU/Linux
$ gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking -- with- system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java- awt=gtk
--host=x86_64-redhat-linux Thread model: posix gcc version 3.4.5
20051201 (Red Hat 3.4.5-2)
$ /lib64/tls/libc.so.6
GNU C Library stable release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.5 20051201 (Red Hat 3.4.5-2).
Compiled on a Linux 2.4.20 system on 2006-02-08.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
The C stubs add-on version 2.1.2.
GNU Libidn by Simon Josefsson
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.