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

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: <haiku@xxxxxxxxxxxxx>
  • Date: Wed, 27 Jul 2011 00:35:45 -0500

On Wed, 27 Jul 2011 04:43:36 +0000, Benediktus Anindito wrote:
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.


At least until R1, the x86_64 target hasn't been a strong goal for Haiku.
If your willing to put time in to add support for it, you are more then
welcome to submit patches on the bug tracker though :)

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

No need.. one already exists:
http://dev.haiku-os.org/ticket/6310

We *do* support compiling x86 targets on x86_64 systems however.

Thanks!
  -- Alex

Other related posts: