[PATCH] GCC compatibility: pass -z linker options to the linker

Sylvestre Ledru sylvestre at debian.org
Fri Jul 4 12:42:51 PDT 2014


>>! In D4393#10, @joerg wrote:
> Please keep in mind that GCC will effectively pass *all* unknown flags down to ld, which is why this sort of issue appeared in first place. That's also why I am quite strongly opposed against adding more non-driver flags in the front end. 
OK. I understand your argument. Make sense! 
What about updating the error message to say something like "Passing linker flags without -Wl, is unsupported" ?
It could simplify the work of porting.

http://reviews.llvm.org/D4393






More information about the cfe-commits mailing list