ChangeLog
This section contains changelog of Scratchbox x86_64 port against mainstream version of Scratchbox. Original Scratchbox 1.0 changelog can be found here.
- Debian and tarballs packages have amd64 as their architecture (unofficial Debian port uses amd64 arch name in their pacakges). The rpm's have Fedora architecture x86_64 in place.
- host-gcc is upgraded to gcc 3.3.6-5, updated host-gcc patch and specs file is updated for x86_64 architecture
- binutils is upgraded to 2.15-6
- distcc upgraded to 2.18.3
- openssh needed x86_64 hack (FORCE_LIBS = LIBS=-lresolv in makefile)
- QEMU updated to 0.7.0, applied following patches: env.patch, ipc.patch, qemu-socketcall.patch, qemu-solinger-setsockopt.patch, socketopt.patch, truncate64.patch and tcpip-sockopt.patch from 0.9.8 brach to support Maemo (rest of the Maemo patches are not x86_64 friendly). Fixed also QEMU's fcntl behaviour (adduser didn't work) with following patch
- register_misc_runner is patched not to register i386 misc runner in x86_64 systems because it will screw up kernel emulation for x86 binaries
- libsb is patched to recognices x86_64 binaries to be native
- fixed bug in sb_autotools_wrapper with following patch
- ldd is patched to support x86_64 binaries
- fontforge_full-20041218.tgz needed to be placed to pfaedits files directory because that could not be downloaded from Scratchbox's website
- libapt-pkg-perl needed to be compiled with -fPIC option when compiling the perl devkit
Complete patch against Scratchbox 1.0.1 source tree can be found here, hopefully this is working one because I did some searious cleaning to get this patch to some usefull form ;)
Know issues
Following things are missing or does not work properly:
- LD, AR and RANLIB environment variables needs to exported in HOST target when compiling toolchains
- x86_64 ldd segfaults with binaries compiled with Scratchbox 0.9.8 series host-gcc, happens also with Scratchbox 1.0 i386 ldd, see bug report
- QEMU seems to have some stability issues (caused by patches taken from Scratchbox 0.9.8 branch or something else). This need to be investigated better. In the mean time if QEMU does not work for you use SBRSH instead.
- In Fedora there are couple of warnings when target is selected, otherwise port seems to work. I assume that this happens because x86_64 Fedora is a biarch distribution and my build system is pure 64-bit environment.
- RPM packages does not work properly, propably mainstream Scratchbox shares same problems, don't know for sure though.