On 11-10-2007 19:28:28 +0200, darabi@web.de wrote:
Haha!
that was a good joke:
user@host$ mserver5 --version MonetDB Server v5.0.0 Copyright (c) 1993-2007 CWI, all rights reserved Compiled by: sjoerd@localhost.localdomain Compilation: gcc -O2 -std=c99 -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt Linking: ld -IPA -m elf_x86_64
i686 != x86_64
After recompiling with --enable-debug, I get exactly the same version message. Then, I became suspicious because of the 'sjoerd' user and looked into mserver5.c:
void monet_version() { printf("MonetDB Server v%s\n", VERSION); printf("Copyright (c) 1993-2007 CWI, all rights reserved\n"); printf("Compiled by: %s\n", "sjoerd@localhost.localdomain"); printf("Compilation: %s\n", "gcc -O2 -std=c99 -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexp ensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt "); printf("Linking: %s\n", "ld -IPA -m elf_x86_64 "); exit(0); }
Duh! It's hard-coded!
But, never mind. I think I needed --enable-debug anyway.
RIGHT!!!!!! WTF! That is completely b0rkened!