Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435646 - 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"
Summary: sys-libs/glibc-2.15-r2 - In file included from ../sysdeps/x86_64/multiarch/st...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 14:15 UTC by Sinisa
Modified: 2012-09-24 21:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_--info_sys-libs_glibc-2.15-r2,4.61 KB, text/plain)
2012-09-20 14:17 UTC, Sinisa
Details
build.tar.bz2 (build.tar.bz2,33.63 KB, application/x-bzip)
2012-09-23 09:57 UTC, Sinisa
Details

Note You need to log in before you can comment on or make changes to this bug.
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?