On 12-01-2006 11:54:59 +0100, Stefan Manegold wrote:
Dear developers,
thank you very much for all your comments so far.
I just recall some more TODOs for the release, which we should not forget:
- make source distributions (tarball, source RPMs, ebuild) independent of buildtools (and possibly also other code generators like flex/bison)
- make configure use the local C compilers standard to decide whether to compile for 32- or 64-bits (for now, the standard of our configure script is to use 32-bits, "even" on 64-bit systems)
- location of 64-bit libraries:
On systems that support both 32- and 64-bits, only 32-bit libraries are usually located to [/usr[/local]]/lib/ while 64-bit libraries are located in (e.g.) [/usr[/local]]/lib64/ .
With MonetDB, however, we install all libs in either case to <prefix>/lib/ which (a.o.) causes `make rpm` to fail on 64-bit SuSE Linux on x86_64 systems: ======== + /usr/lib/rpm/brp-lib64-linux sf@suse.de: if you find problems with this script, drop me a note /var/tmp/MonetDB-root/usr/lib/libmutils.so.0.0.0: file format elf64-x86-64 /var/tmp/MonetDB-root/usr/lib/libmutils.so.0.0.0: should be in */lib64 error: Bad exit status from /tmp/rpm-tmp.55606 (%install)
RPM build errors: Bad exit status from /tmp/rpm-tmp.55606 (%install) make: *** [rpm] Error 1 ========
Hence, we should consider installing 64-bit libraries to <prefix>/lib/ on Linux (ia64) <prefix>/lib64/ on Linux (x86_64), IRIX64 <prefix>/lib/64/ on SunOS/Solaris
Open: What about AIX, Windows, Mac OS X ?
Darwin is different, as it has universal binaries. Nett effect is that you can always install in ${PREFIX}/lib, because building fat binaries (using "-march=ppc -march=ppc64 -march=i386" or something) is what we don't support. In fact... I'm against building 64-bits on Darwin by default because: - Tiger is the only 64-bits OS, but 64-bits support was dead on the day Tiger was released. Only the kernel + -libs are 64-bits, the whole userland is 32-bits. - Having ppc64 arch is not sufficient (need darwin8+) - Since userland is 32-bits, if pcre is there (through Fink, Gentoo, DP or whatever), it won't be used, because it can't, which sucks. - x86-macos is lurking around the corner, to make things complicated.