[haiku] Fwd: x86_64 build failed with gcc4 based x86_64 linux distros

  • From: Benediktus Anindito <bennybroz105@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Wed, 27 Jul 2011 04:43:36 +0000

i want to build gcc4-only x86_64 haiku with this ./configure script
parameter:

--distro-compatibility official --enable-multiuser
--include-gpl-addons --build-cross-tools-gcc4 x86_64
/var/haiku/buildtools/

it fails at [configure-zlib] with output like this: [5 last lines]:
checking whether the gcc  -m32 linker (ld -m elf_x86_64 -m elf_i386)
supports shared libraries... yes
checking dynamic linker characteristics... configure: error: Link
tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-zlib] Error 1
make[1]: Leaving directory `/haiku_build/cross-tools-build/gcc'
make: *** [all] Error 2
ERROR: Building gcc failed.

this maybe potential to be a new ticket in dev.haiku-os.org :D

p.s.: build system using ubuntu natty

Other related posts: