unknown command line option: -dynamic-list-data
siegLoesch opened this issue · 1 comments
siegLoesch commented
During build of openucc an error was reported from mold:
mold: fatal: unknown command line option: -dynamic-list-data
collect2: error: ld returned 1 exit status
OS: debian bookworm
gcc: 13.3.0
After that the same build succeeded using gnu ld (which is in fact: bfd) without any issue.
Is it true that mold does not know about those specific option or might it be that I did anything wrong?
Best regards
Siegfried
rui314 commented
mold does not support that flag while GNU ld does. We may want to support it for the sake of compatibility. Let me see.