[Bug bootstrap/64271] Minimal patches to bootstrap on NetBSD

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 11 15:55:00 GMT 2014


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Kai-Uwe Eckhardt from comment #0)
> Created attachment 34253 [details]
> 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.

Please submit them by posting them to gcc-patches@gcc.gnu.org.

> 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.



More information about the Gcc-bugs mailing list