#8415: [patch] Fix x86_64 toolchain -----------------------+------------------------- Reporter: xyzzy | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: - General | Version: R1/alpha3 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | -----------------------+------------------------- The x86_64 toolchain currently fails to build. The first build failure appears to be a [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43328 problem] with GCC's build system: it defaults to having multilib enabled, but if it is explicitly enabled with --enable-multilib as Haiku's build script does, the build fails. The patch to Haiku trunk removes --enable-multilib for the x86_64 target, I'm not sure if this issue affects the other targets that specify --enable-multilib. A second build failure occurs due to the use of the TARGET_64BIT definition in preprocessor conditionals in the haiku64.h configuration file for GCC, as it is no longer a compile-time constant. The patch to buildtools fixes this, and also includes some other changes I made to the x86_64 target definition to be more correct. -- Ticket URL: <http://dev.haiku-os.org/ticket/8415> Haiku <http://dev.haiku-os.org> Haiku - the operating system.