https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47098

--- Comment #3 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> ---
Author: aldot
Date: Wed Apr 22 08:41:13 2015
New Revision: 222315

URL: https://gcc.gnu.org/viewcvs?rev=222315&root=gcc&view=rev
Log:
PR target/47098 OBSD_LIB_SPEC on i686-openbsd3 missing

config-list.mk for i686-*-openbsd3.0 failed with:

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

i.e. openbsd-oldgas.h is only used on
i?86-*-openbsd2.*|i?86-*openbsd3.[0123] so add the OBSD_LIB_SPEC there


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/openbsd-oldgas.h

Reply via email to