Opened 14 years ago
Closed 12 years ago
#6306 closed bug (fixed)
x86_64 crosstool multilib support
Reported by: | nmentley | Owned by: | xyzzy |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Build System | Version: | |
Keywords: | x86_64 multilib crosstools | Cc: | |
Blocked By: | Blocking: | ||
Platform: | x86-64 |
Description
Currently the x86_64 gcc toolchain for haiku doesn't output i386 binaries correctly and it doesn't build libgcc for i386 by default.
Attachments (4)
Change History (9)
comment:1 by , 14 years ago
patch: | 0 → 1 |
---|
by , 14 years ago
Attachment: | gcc_x86_64.multilib.haiku.txt added |
---|
by , 14 years ago
Attachment: | gcc_x86_64.multilib.buildtools.patch added |
---|
added .patch extension to previously uploaded file
by , 14 years ago
Attachment: | gcc_x86_64.multilib.haiku.patch added |
---|
added .patch extension to previously uploaded file
follow-up: 3 comment:2 by , 14 years ago
Thanks! Applied the buildtools patch in hrev37521 and the build/scripts/build_cross_tools_gcc4
patch in hrev37522. Regarding the build/jam/BuildSetup
patch, the HAIKU_BOOT_*FLAGS
part is OK I guess, but I have questions concerning the other flags:
- You set the
HAIKU_KERNEL_PIC_*FLAGS
. Is there a reason why these flags are only applied to kernel add-ons, but not the kernel or the boot loader? - I don't find a lot of documentation for
-z max-page-size=0x1000
. What effect has it ("Set the emulation maximum page size to ..." -- yes, but what does that mean?) and why is it needed?
comment:3 by , 14 years ago
Replying to bonefish:
- I don't find a lot of documentation for
-z max-page-size=0x1000
. What effect has it ("Set the emulation maximum page size to ..." -- yes, but what does that mean?) and why is it needed?
From what I read, it seems the default page size for ld x86-64 is 2MB, which could then result in big binaries, hence the max page size of 4KB. Travis maybe could confirm.
comment:4 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
patch for /haiku/haiku