Unfortunately I don't have access to a x86_64 machine with a 32bits chroot to test my self so maybe you can do the following tests.
lazbuild -h and report the output defafult CPU. Here it gives --cpu=<cpu> override the project cpu. e.g. i386 x86_64 powerpc powerpc_64 etc. default: i386 According to the source code, this will report the architecture for which lazbuild was compiled lowerCase({$I %FPCTARGETCPU%}) So unless you are using a 64 bit lazbuild executable, I don't see how it can detect a x86_64. Maybe you can also report the output of file $(readlink -m $(which lazbuild)) here it gives /usr/lib/lazarus/0.9.30/lazbuild: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped Cheers,
signature.asc
Description: This is a digitally signed message part