Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 11 months ago

Closed 10 months ago

Last modified 10 months ago

#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 Changed 11 months ago by Jiří Zárevúcky

make them come together with binutils harbour

That's imo the best short term solution.

comment:2 Changed 10 months ago by Vojtech Horky

Resolution: fixed
Status: assignedclosed

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.

comment:3 Changed 10 months ago by Jakub Jermář

I think gcc suffers with the same or similar issue.

comment:4 Changed 10 months ago by 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.

comment:5 in reply to:  4 Changed 10 months ago by Jakub Jermář

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!

Note: See TracTickets for help on using tickets.