On 04/11/2015 04:15 PM, Bernhard Reutner-Fischer wrote:
gcc/config/openbsd.h:143:18: error: ‘OBSD_LIB_SPEC’ was not declared in
this scope
  #define LIB_SPEC OBSD_LIB_SPEC
                   ^
gcc/gcc.c:879:31: note:
in expansion of macro ‘LIB_SPEC’
  static const char *lib_spec = LIB_SPEC;
                                ^
make[2]: *** [gcc.o] Error 1

Is the patch below ok for trunk?

i.e. openbsd-oldgas.h is only used on
i?86-*-openbsd2.*|i?86-*openbsd3.[0123] so is right on spot it seems.

Alternatively remove openbsd <= 3.3 support altogether since openbsd-3.3 was
released May 1, 2003.
This probably needs a deprecation announcement from Release Managers or
something.

gcc/ChangeLog:

2015-04-10  Bernhard Reutner-Fischer  <al...@gcc.gnu.org>

        PR target/47098
        * config/openbsd-oldgas.h (OBSD_LIB_SPEC): Add.
OK.

If you want to deprecate the ancient openbsd support, that can be a follow-up.

Jeff

Reply via email to