[Botan-devel] A request to everyone: /proc/cpuinfo and uname information
markus at bluegap.ch
Thu Oct 23 04:34:12 EDT 2008
Markus Wanner wrote:
> Markus Wanner wrote:
>>> (autoconfig): *** Could not figure out CPU based on /proc/cpuinfo
>>> (autoconfig): *** Please mail contents to lloyd at randombit.net
> Just FYI, this is still the case for botan 1.7.18.
I've taken a look a this and came up with a patch, which is somewhat
clunky because of the CPU name "Genuine Intel(R) CPU T2400". It results
in saying "CPU is a intelcput2400" (prescott would be much nicer here).
# old_revision [3cb1b5ffc1d2b3af14f362d23fbb7c785099a9cf]
# patch "src/build-data/arch/ia32"
# from [641bbaab8e25106d7f805c835f5b087c52d5ec25]
# to [f7049d51ee425e687c452e33228e00df3d396555]
--- src/build-data/arch/ia32 641bbaab8e25106d7f805c835f5b087c52d5ec25
+++ src/build-data/arch/ia32 f7049d51ee425e687c452e33228e00df3d396555
@@ -21,6 +21,7 @@ pentium-m
@@ -46,4 +47,10 @@ p4 -> pentium4
p2 -> i686
p3 -> i686
p4 -> pentium4
+intelcput2300 -> prescott
+intelcput2400 -> prescott
+intelcput2500 -> prescott
+intelcput2600 -> prescott
+intelcput2700 -> prescott
IIRC you've added my mtn public key, so I can commit and push, if you want.
More information about the botan-devel