A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-September/048931.html below:

[Python-Dev] --with-tsc compile fails

[Python-Dev] --with-tsc compile fails [Python-Dev] --with-tsc compile fails"Martin v. Löwis" martin at v.loewis.de
Wed Sep 15 20:43:13 CEST 2004
Michael Hudson wrote:
> Well, it failed like that for me both before and after my PPC changes.
> I'm fairly sure I didn't mess this up.  Maybe there's some
> kernel-headers package that's necessary.
> 
> OTOH, I think one could replace the include by
> 
> #define rdtscll(val) \
>      __asm__ __volatile__("rdtsc" : "=A" (val))
> 
> if my limited googling is anything to go by.  It also seems asm/msr.h
> is a "kernel internal header with absolutely no stable API
> properties...." (Redhat bugzilla).

I'ld still like to understand why it fails for your system (it works
fine on mine). Do you have a definition for rdtscll in
/usr/include/asm/msr.h? Is it a define like the one you just put there?
If so, why does the macro not expand?

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4