Error: LD: symbol not found: '__data_start'
Alexander Tormasov
a.tormasov at innopolis.ru
Sat Jun 12 23:21:50 CEST 2021
when running test application I encounter a new problem of dynamic linker
[init -> test-go] 0x1000000 .. 0x10ffffff: linker area
[init -> test-go] Error: LD: symbol not found: '__data_start'
[init -> test-go] Error: Uncaught exception of type 'Linker::Not_found'
any ideas how to fix?
seems that main binary test-go do have a weak ref to this symbol as nm show:
w __data_start
in some places of new code appeared after 10.3 gcc I found
extern const char __data_start[] __attribute__ ((weak));
where I can add it, in what ld script?
Sincerely,
Alexander
More information about the users
mailing list