------- Comment #8 from Joey dot ye at intel dot com 2008-04-30 10:53 ------- (In reply to comment #6) > (In reply to comment #4) > > > have you tried to compile with -march=core2 -mfpmath=sse -msse? > > Yes, I've compiled it as following: > > % g++ -g -O3 -march=core2 -mfpmath=sse -msse -ftemplate-depth-4096 > > -Wnon-virtual-dtor -fPIC kernel_build.ii > -m32 ?
-m32 doesn't work. You have to use 4.3.0 release branch. Recent mainline change of ia32 intrinsic conflict with 4.3.0 header files. I'm using 4.3.0. Compilation passes but I still got link errors like: /tmp/ccfJXXcV.o:(.rodata._ZTVN9portaudio20MemFunCallbackStreamIN4nova16PortAudioBackendEEE[vtable for portaudio::MemFunCallbackStream<nova::PortAudioBackend>]+0x10): undefined reference to `portaudio::Stream::close()' /tmp/ccfJXXcV.o:(.rodata._ZTIN9portaudio20MemFunCallbackStreamIN4nova16PortAudioBackendEEE[typeinfo for portaudio::MemFunCallbackStream -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36054