Opened 7 years ago
Closed 7 years ago
#14173 closed bug (fixed)
buildtools: error creating cross-compiler for x86 on x86_64
Reported by: | nielx | Owned by: | waddlesplash |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | KapiX | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
I am trying to build a cross-compiler for x86 on a x86_64 machine. I run into the error that it complains I should recompile with -fPIC. This is with the most recent gcc 7-based buildtools.
See the screenshot for the full message.
Attachments (1)
Change History (7)
by , 7 years ago
Attachment: | VirtualBox_Haiku x86_64_29_05_2018_22_04_25.png added |
---|
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Cc: | added |
---|
I think that commit was at least partially reverted...?
Anyway, it looks like this was an issue on 5.4 also: https://github.com/haiku/webkit/pull/4
CC'ing KapiX for his input.
comment:4 by , 7 years ago
Nope, I didn't see that on 5.4. From the beginning I was building with 7.3.
I'm not so sure about LINK_SPEC being the issue anymore though. It needs more in-depth debug.
EDIT clarification: I didn't even try building with 5.4, so I don't know if the issue reproduces there.
comment:5 by , 7 years ago
OK, so this may very well be my fault.
I think the commit nielx links was partially reverted due to #12451. I'm not sure how -fpic isn't being passed anymore. I'll have some time this weekend, I guess.
comment:6 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in btrev43128 and btrev43129.
I stumbed on this commit on a previous version. Some parts of the linker scripts are not in the current incarnation.