#750 closed defect (fixed)
Missing linker script inside HelenOS
Reported by: | Vojtech Horky | Owned by: | Jiří Zárevúcky |
---|---|---|---|
Priority: | major | Milestone: | 0.8.0 |
Component: | ported-software | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | ||
See also: |
Description
Userspace linker scripts were removed in 82d9087eea063a but it seems that we have not handled this inside running HelenOS.
In boot/Makefile
we still pretend to create /inc/_link.ld
but it cats non-existent file and the error is suppressed by next call to sed
. So we create an empty file that, for example, PCC tries to read.
I am not sure whether we have to keep our linker scripts (i.e. re-introduce them) for this or simply copy the ones packed with binutils (i.e. make them come together with binutils
harbour).
Change History (5)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed (86aad6f88a57 and f32a5ca5e) by removing the reference to the linker script from PCC (and adding all the needed libraries there) and letting binutils use the built-in linker script.
follow-up: 5 comment:4 by , 6 years ago
I think gcc suffers with the same or similar issue.
Should be worked-around (definitely not fixed) by 2bd63b5a97afbb9d8. I have also added gcc hello.c
scenario in d6840eae69bc2596f to test it.
comment:5 by , 6 years ago
Replying to Vojtech Horky:
I think gcc suffers with the same or similar issue.
Should be worked-around (definitely not fixed) by 2bd63b5a97afbb9d8. I have also added
gcc hello.c
scenario in d6840eae69bc2596f to test it.
Thanks!
That's imo the best short term solution.