On Sat, Jul 18, 2015 at 01:09:26AM +0200, Ulrich Weigand wrote: > Dominik Vogt wrote: > > > + opt_esa_zarch = (has_highgprs) ? " -mzarch" : " -mesa"; > > This will force -mesa on old machines *even in -m64 mode*, > which is wrong and will cause compilation to fail. > > > > -/* Defaulting rules. */ > > #ifdef DEFAULT_TARGET_64BIT > > -#define DRIVER_SELF_SPECS \ > > This completely removes use of DRIVER_SELF_SPECS for defaulting, > which I introduced back here: > https://gcc.gnu.org/ml/gcc-patches/2003-06/msg03369.html >... New version of the patch and ChangeLog attached, as discussed internally: * -march=native never setzt -mvx or -mhtm but disables these features if the cpu does not support them. This always wins against any options set on the command line. * -march=native never sets -mesa, and appends -mzarch to the command line if the highgprs cpu flag is present and the command line does not specify -mesa (or -mzarch). Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany