This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

4.2.1 installation on x86_64_unkown-linux-gnu: a test failed [no such instruction: 'cmpxchg16b ld(%rip)']


Hi,

I'm trying to install GCC 4.2.1 on x86_64_unkown-linux-gnu (Linux 2.6.9-55.0.2.ELsmp x86_64 GNU/Linux).  After building compiler and run-time libs, I ran tests (make -k check) and had failures as follows:

	FAIL: libgomp.c/atomic-2.c (test for excess errors)
	Excess errors:
	/tmp/ccMiztgb.s:47: Error: no such instruction: `cmpxchg16b ld(%rip)'

	WARNING: libgomp.c/atomic-2.c compilation failed to produce executable

More details from log file  can be found below.  There's gcc 3.4.6 in my system and I wanted to install 4.2.1 under my personal area.

Has anyone had the similar issue?  Please let me know.  Thanks.

Soohong


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
from log file (x86_64-unknown-linux-gnu/libgomp/testsuite/libgomp.log)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Executing on host: /export/home/a/spkim/my/builds/gcc-4.2.1/gcc/xgcc -B/export/home/a/spkim/my/builds/gcc-4.2.1/gcc/  -B/export/home/a/spkim/my/builds/gcc-4.2.1/x86_64-unknown-linux-gnu/./libgomp/ -I/export/home/a/spkim/my/builds/gcc-4.2.1/x86_64-unknown-linux-gnu/./libgomp -I/export/home/a/spkim/my/src/GCC/gcc-4.2.1/libgomp/testsuite/.. -fmessage-length=0 -fopenmp  -c  -o ilp328138.o ilp328138.c    (timeout = 300)
ilp328138.c:4: error: size of array 'dummy' is negative
compiler exited with status 1
output is:
ilp328138.c:4: error: size of array 'dummy' is negative

Executing on host: /export/home/a/spkim/my/builds/gcc-4.2.1/gcc/xgcc -B/export/home/a/spkim/my/builds/gcc-4.2.1/gcc/ /export/home/a/spkim/my/src/GCC/gcc-4.2.1/libgomp/testsuite/libgomp.c/atomic-2.c  -B/export/home/a/spkim/my/builds/gcc-4.2.1/x86_64-unknown-linux-gnu/./libgomp/ -I/export/home/a/spkim/my/builds/gcc-4.2.1/x86_64-unknown-linux-gnu/./libgomp -I/export/home/a/spkim/my/src/GCC/gcc-4.2.1/libgomp/testsuite/.. -fmessage-length=0 -fopenmp  -O2 -fopenmp -march=nocona   -L/export/home/a/spkim/my/builds/gcc-4.2.1/x86_64-unknown-linux-gnu/./libgomp/.libs -lgomp -lm   -o ./atomic-2.exe    (timeout = 300)
/tmp/ccMiztgb.s: Assembler messages:
/tmp/ccMiztgb.s:47: Error: no such instruction: `cmpxchg16b ld(%rip)'
compiler exited with status 1
output is:
/tmp/ccMiztgb.s: Assembler messages:
/tmp/ccMiztgb.s:47: Error: no such instruction: `cmpxchg16b ld(%rip)'

FAIL: libgomp.c/atomic-2.c (test for excess errors)
Excess errors:
/tmp/ccMiztgb.s:47: Error: no such instruction: `cmpxchg16b ld(%rip)'

WARNING: libgomp.c/atomic-2.c compilation failed to produce executable


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]