[patch] Fix x86_64 toolchain
|Reported by:||xyzzy||Owned by:||bonefish|
|Has a Patch:||yes||Platform:||x86-64|
The x86_64 toolchain currently fails to build.
The first build failure appears to be a 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.
Change History (12)
comment:2 by , 8 years ago
|Component:||- General → Build System|
|Platform:||All → x86-64|