| Summary: | nopw istruction return signal 4 - Illegal instruction- on cpu VIA Nehemiah | ||
|---|---|---|---|
| Product: | binutils | Reporter: | Roberto Corrado <i> |
| Component: | gas | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | aj, drepper.fsp, hjl.tools |
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | 2012-05-13 00:00:00 | |
| Project(s) to access: | ssh public key: | ||
|
Description
Roberto Corrado
2012-05-06 19:12:16 UTC
glibc itself does not code the NOPs, this is done by binutils. How did you configure and build glibc? > How did you configure and build glibc?
via build scripts of my distro (slackware)
with cflags:
CFLAGS="-g -O3 -march=i486 -mtune=i686" \
../configure \
--prefix=/usr \
--libdir=/usr/lib \
--enable-kernel=2.6.18 \
--with-headers=/usr/include \
--enable-add-ons=libidn,nptl \
--enable-profile \
--infodir=/usr/info \
--mandir=/usr/man \
--with-tls \
--with-__thread \
--without-cvs \
-i486-slackware-linux
Thanks for the support!
Roberto Corrado
This looks to me like a issue with binutils - please talk with them about it. Moving to binutils. Which version of binutils? What is the command line passed to assembler? (In reply to comment #5) > Which version of binutils? root@gatto:/tmp# as -V GNU assembler version 2.22.52.0.1 (i486-slackware-linux) using BFD version (Linux/GNU Binutils) 2.22.52.0.1.20120131 > What is the command line passed to assembler? CC= gcc CFLAG= -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=i486 -mtune=i686 -Wall AS=$(CC) -c ASFLAG=$(CFLAG) PROCESSOR=. Configuring for linux-elf Configuring for linux-elf no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir) no-capieng [default] OPENSSL_NO_CAPIENG (skip dir) no-cms [default] OPENSSL_NO_CMS (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-idea [option] OPENSSL_NO_IDEA (skip dir) no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir) no-montasm [default] no-rc5 [option] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-seed [default] OPENSSL_NO_SEED (skip dir) no-sse2 [option] no-zlib [default] no-zlib-dynamic [default] IsMK1MF=0 CC =gcc CFLAG =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=i486 -mtune=i686 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM EX_LIBS =-ldl CPUID_OBJ =x86cpuid-elf.o BN_ASM =bn86-elf.o co86-elf.o DES_ENC =dx86-elf.o yx86-elf.o AES_ASM_OBJ =ax86-elf.o BF_ENC =bx86-elf.o CAST_ENC =c_enc.o RC4_ENC =rx86-elf.o rc4_skey.o RC5_ENC =r586-elf.o MD5_OBJ_ASM =mx86-elf.o SHA1_OBJ_ASM =sx86-elf.o RMD160_OBJ_ASM=rm86-elf.o PROCESSOR = RANLIB =/usr/bin/ranlib ARFLAGS = PERL =/usr/bin/perl THIRTY_TWO_BIT mode DES_PTR used DES_RISC1 used DES_UNROLL used BN_LLONG mode RC4_INDEX mode RC4_CHUNK is undefined e_os2.h => include/openssl/e_os2.h However compiles without errors with new version of binutils root@gatto:/tmp# as -V GNU assembler version 2.22.52.0.2 (i486-slackware-linux) using BFD version (Linux/GNU Binutils) 2.22.52.0.2.20120424 Thanks for the support Roberto Corrado |