Okay, my bad, used a wrong parameter with gcc/distcc. Now I did the same thing again and get the same output like you when I do "file test".
However, I still cannot compile a custom kernel using distcc. When I do so, makepkg extracts everything and executes "make prepare" after which I get the following output:
$this->bbcode_second_pass_quote('', '
') HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
/usr/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
/usr/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
scripts/kconfig/conf.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
distcc[2413] ERROR: compile (null) on localhost failed
make[2]: *** [scripts/kconfig/conf] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
==> ERROR: A failure occurred in build().
Aborting...