This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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]

Re: Disable SSE3 features in glibc


I mean it is not a glibc error, because I live migrate to a machine
that does not have SSE3 instructions

-
Thawan

On Thu, Sep 16, 2010 at 7:16 PM, Thawan Kooburat <kthawan@gmail.com> wrote:
> Hi,
>
> It is for my experiment. I understand that glibc check CPU features
> via CPUID only once on the first call into any routine. I am doing
> some kind of live migration, so the programs generate invalid opcode
> error on the target machine because of SSE3.
>
>
>
> On Thu, Sep 16, 2010 at 7:09 PM, Matt Turner <mattst88@gmail.com> wrote:
>> On Thu, Sep 16, 2010 at 8:06 PM, Thawan Kooburat <kthawan@gmail.com> wrote:
>>> Hi,
>>>
>>> I want to prevent glibc from using its SSE3 routines such as :
>>> __strncpy_ssse3 even though the machine supports those features. Is
>>> there anyway to do it?
>>>
>>> Right now I am thinking that I need to recompile glibc. However, I am
>>> not sure which configuration flag should I use.
>>> I am on a 64-bit machine, but there is only one - - host option
>>> (x86_64) unlike the 32-bit host.
>>>
>>> I found the compilation guide for glibc:
>>> http://tldp.org/HOWTO/html_single/Glibc-Install-HOWTO/
>>> However, it seems a bit complicated. So I am thinking of using
>>> Fedora's glibc source rpm. Hopefully, I can compile and install glibc
>>> with a special setup like the method in the link.
>>>
>>>
>>> Please suggest
>>>
>>>
>>> --
>>> Thawan Kooburat
>>>
>>> Graduate Student
>>> Department of Computer Science
>>> UW-Madison
>>
>> Are you experiencing a bug caused by the SSE3 routines? Or is there
>> some other purpose?
>>
>> Matt
>>
>
>
>
> --
> Thawan Kooburat
>
> Graduate Student
> Department of Computer Science
> UW-Madison
>



-- 
Thawan Kooburat

Graduate Student
Department of Computer Science
UW-Madison


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