rui314 / mold

Mold: A Modern Linker 🦠
MIT License
13.69k stars 448 forks source link

Is -z x86-64-vX supported? #1263

Closed jfikar closed 1 month ago

jfikar commented 1 month ago

I'm compiling ruby-3.2.3 and I get an error during configure:

checking whether LDFLAGS is valid
mold: warning: unknown command line option: -z x86-64-v2

my LD_FLAGS contain -Wl,-z,x86-64-v2, which is valid for ld.bfd. Is it a valid option for mold as well?

$ mold --version
mold 2.31.0 (compatible with GNU ld)
rui314 commented 1 month ago

Currently, no, but we need to support them.

jfikar commented 1 month ago

Ok, thanks for the quick answer.