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

            Bug ID: 64271
           Summary: Minimal patches to bootstrap on NetBSD
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kuehro at gmx dot de

Created attachment 34253
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34253&action=edit
libstdc++-patch1

Bootstrap of 5.0 fails on NetBSD, but with the patches in NetBSD's package
system
pkgsrc it builds a functional gcc. In Bug #48244 I was asked to submit a
minimal set of patches to bootstrap with testresults. So I did a stepwise
bootstrap until failure and used the relevant patches from pkgsrc, precisely
http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/gcc50snapshot/

On NetBSD 7.0 amd64:

/home/kue/build/gcc_patched/gcc-5-20141207/configure --disable-nls
--with-libiconv-prefix=/usr --enable-__cxa_atexit
--with-gxx-include-dir=/home/kue/gcc5install/include/c++/ --enable-languages='c
obj-c++ objc fortran c++' --enable-shared --enable-long-long
--with-local-prefix=/home/kue/gcc5install --enable-libssp
--enable-threads=posix --with-boot-ldflags='-static-libstdc++ -static-libgcc
-Wl,-R/home/kue/local/lib ' --with-gnu-ld --with-ld=/usr/bin/ld --with-gnu-as
--with-as=/usr/bin/as --with-arch=nocona --with-tune=nocona --with-fpmath=sse
--prefix=/home/kue/gcc5install --build=x86_64--netbsd --host=x86_64--netbsd
--infodir=/home/kue/gcc5install/info --mandir=/home/kue/gcc5install/man
ac_cv_func_clock_gettime=yes ac_cv_func_gethostbyname=yes
ac_cv_func_freelocale=no ac_cv_func_newlocale=no ac_cv_func_uselocale=no

env ac_cv_func_clock_gettime=yes ac_cv_func_gethostbyname=yes
ac_cv_func_freelocale=no ac_cv_func_newlocale=no ac_cv_func_uselocale=no gmake
2>&1|tee builderror.log
gmake -k check 2>&1|tee testsuiterun.log


the six attached patches are necessary to bootstrap.

Reply via email to