> AFAIU the new '-Wl,--export-dynamic' option explicitly passes it on to the GNU linker, whereas it was silently dropped prior to the changes
Yes, that's how I understood it too. However, there were still two issues here: the missing <cstddef> headers, and the invalid GCC flag. We have fixed the first one, and found a (dodgy?) workaround for the second. I'm happy enough to reopen this, but just though it would be neater to split off a follow-up report to deal with the --export-dynamic issue.
> AFAIU the new '-Wl,-- export- dynamic' option explicitly passes it on to the GNU linker, whereas it was silently dropped prior to the changes
Yes, that's how I understood it too. However, there were still two issues here: the missing <cstddef> headers, and the invalid GCC flag. We have fixed the first one, and found a (dodgy?) workaround for the second. I'm happy enough to reopen this, but just though it would be neater to split off a follow-up report to deal with the --export-dynamic issue.