pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Errors building Xen - gcc48 failure
On Sun, Jun 10, 2018 at 01:59:31PM -0400, D'Arcy Cain wrote:
> On 2018-06-10 11:03 AM, Manuel Bouyer wrote:
> > On Sun, Jun 10, 2018 at 10:46:21AM -0400, D'Arcy Cain wrote:
> >> I am trying to build Xen versio 4.8 on my NetBSD current system but it
> >> is failing trying to build gcc48. Does this not work on current yet?
> >> Also, is there some reason that the native gcc 5.5.0 isn't good enough
> >> to build Xen?
> >
> > Xen needs the gcc headers, the NetBSD ones arn't good enough
>
> OK so why won't it build?
>
> /usr/pkg/lib/libmpfr.so: undefined reference to `__gttf2@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__extenddftf2@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__fixunstfdi@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__eqtf2@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__lttf2@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__letf2@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__addtf3@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__multf3@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__getf2@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__floatunditf@GCC_4.2.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__netf2@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__subtf3@GCC_3.0'
> /usr/pkg/lib/libmpfr.so: undefined reference to `__trunctfdf2@GCC_3.0'
> collect2: error: ld returned 1 exit status
> ../../gcc-4.8.5/gcc/c/Make-lang.in:78: recipe for target 'cc1' failed
> gmake[3]: *** [cc1] Error 1
> gmake[3]: Leaving directory '/usr/obj/lang/gcc48/work.x86_64/build/gcc'
> Makefile:4192: recipe for target 'all-stage2-gcc' failed
> gmake[2]: *** [all-stage2-gcc] Error 2
> gmake[2]: Leaving directory '/usr/obj/lang/gcc48/work.x86_64/build'
> Makefile:18765: recipe for target 'stage2-bubble' failed
> gmake[1]: *** [stage2-bubble] Error 2
> gmake[1]: Leaving directory '/usr/obj/lang/gcc48/work.x86_64/build'
> Makefile:881: recipe for target 'all' failed
> gmake: *** [all] Error 2
> *** Error code 2
>
>
> --
> D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
> http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost
You might need to rebuild mpfr.
https://github.com/NetBSD/pkgsrc/commit/7611affe73d9f7c953878fc9ace71904be552baf#diff-fe42a3075a4b6a6ba583b40054b5ff69
Home |
Main Index |
Thread Index |
Old Index