> +# RUN: not ld.lld -pie -nopie %t1.o -o %t2 2>&1 | FileCheck %s --check-prefix=ERR > +# ERR: -pie can not be used with -nopie What does gold/bfd do in here? The common behaviour for options like this is to use the last one. Cheers, Rafael