#5157 closed bug (fixed)
gcc3 build breakage
Reported by: | andreasf | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #5158 | |
Platform: | All |
Description
The following configuration on OpenSolaris host used to work: gcc 3.4.3 + cross-gcc4
haiku/trunk/headers/build/os/BeBuild.h#L43 chokes on gcc3 now though.
Can't we infer from __GNUC__ > 2
that the gcc4 ABI is to be used?
Change History (6)
follow-up: 2 comment:1 by , 15 years ago
comment:2 by , 15 years ago
...but unfortunately only for the ppc boot CD. For ppc and x86 haiku-image
I get relocation errors. This happens both with gcc 3.4.3 plus patch and with gcc 4.3.2.
follow-up: 4 comment:3 by , 15 years ago
IMO the host compiler shouldn't mind the target Haiku ABI. Some parts of BeBuild.h are only valid for the target Haiku. You could probably add where applicable:
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to korli:
IMO the host compiler shouldn't mind the target Haiku ABI.
This is about build/os/BeBuild.h.
Replying to andreasf:
...but unfortunately only for the ppc boot CD. For ppc and x86
haiku-image
I get relocation errors. This happens both with gcc 3.4.3 plus patch and with gcc 4.3.2.
If you feel like adding details, please create a new ticket. Closing this one. I've adjusted build/os/BeBuild.h in hrev34717.
comment:5 by , 15 years ago
Blocking: | 5158 added |
---|
comment:6 by , 15 years ago
Thanks Ingo, this fixes the initial part.
Opened #5158 for the follow-on errors.
The following snippet in
UserBuildConfig
works around this, with thegcc-dev-4
cluster installed: