Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 435646

Summary: sys-libs/glibc-2.15-r2 - In file included from ../sysdeps/x86_64/multiarch/strstr.c:21:0, [...], /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/nmmintrin.h:31:3: error: #error "SSE4.2 instruction set not enabled"
Product: Gentoo Linux Reporter: Sinisa <sdenic>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal CC: sdenic
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.tar.bz2

Description Sinisa 2012-09-20 14:15:50 UTC
Build of glibc-2.15-r2 failed with 

nmmintrin.h:31:3: error: #error "SSE4.2 instruction set not enabled"

and

tmmintrin.h:31:3: error: #error "SSSE3 instruction set not enabled"
=============================================

head /etc/make.conf
CFLAGS="-march=athlon64-sse3 -O2 -pipe"
CXXFLAGS=${CFLAGS}
===========================

cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 55
model name      : AMD Athlon(tm) 64 Processor 3700+
stepping        : 2
cpu MHz         : 1000.000
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up rep_good pni lahf_lm
bogomips        : 1999.58
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
Comment 1 Sinisa 2012-09-20 14:17:12 UTC
Created attachment 324386 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-20 14:52:19 UTC
Please attach the entire failing build log to this bug report.
Comment 3 Sinisa 2012-09-20 17:02:27 UTC
(In reply to comment #2)
> Please attach the entire failing build log to this bug report.

The whole build log is more then 2mb, attachment limit is 1mb, 
but something strange happened to me and now I have compiled glibc-2.15-r2, on the same box.

I haven't a clue how it could be related and I even know that it maybe silly but 
prior to this I couldn't compile glibc-2.15-r2.

I remember what I did before. 

Because sshd was crashing, first I had emerged  syslog-ng then started it,
and realize problem of sshd.
After that I re-emerged openssh and did following:

rm -f /dev/null
mknod /dev/null c 1 3

Then I not on purpose started emerge glibc once more and it build.

Excuse me because of my report I cloudn't realize anything before.
Gentoo is running as openvz container, and maybe It has some matters.

If anyone has idea what could happened, it would be appreciated.
Thank you.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-21 16:03:59 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Please attach the entire failing build log to this bug report.
> 
> The whole build log is more then 2mb, attachment limit is 1mb, 

Compress it: bzip2 /path/to/build.log
Comment 5 Sinisa 2012-09-23 09:57:19 UTC
Created attachment 324682 [details]
build.tar.bz2
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-24 11:25:12 UTC
Comment on attachment 324682 [details]
build.tar.bz2

Why did you put it in an archive?