Linking fails when building guitarix from source
Closed this issue · 1 comments
edwloef commented
I get this error message when building guitarix from source, with -fuse-ld=mold
enabled. Linking doesn't fail when using ld.
mold: fatal: ../src/gx_head/guitarix.lds:1: __rt_text__start = ADDR(.rt.text);
^ unknown linker script token
rui314 commented
mold doesn't support that linker script command. But it looks like the use of the linker script is not necessary for that program.
They should just rename the sections from .rt.data
/ .rt.text
to rt_data
and rt_text
and then the linker will automatically define __start_rt_data
, __stop_rt_data
, __start_rt_text
, __stop_rt_text
symbols.