tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gcc 4.8.5 doesn't match >=4.8?
Eric Schnoebelen writes:
- Joerg Sonnenberger writes:
- - On Thu, Aug 03, 2017 at 07:17:40PM +0000, John Klos wrote:
- - > Installing sysutils/xentools48 on netbsd-7 from today:
- - >
- - > ===> su-do-clean [pciutils-3.5.5 xentools48-4.8.0nb1] ===> Cleaning for
- pciutils-3.5.5
- - > => Returning to build of xentools48-4.8.0nb1
- - > => Build dependency gcc48>=4.8: NOT found
- - > => Verifying update for ../../lang/gcc48
- -
- - For reasons I don't understand, xentools48 is forcing a dependency on
- - pkgsrc GCC. I think that should be plainly removed.
-
- I attempted to remove the dependency on pkgsrc GCC on NetBSD
- 7.1, and the build failed. I don't recall the error at the
- moment, as building xentools 4.8 was more important at the time.
-
- I'll re-run the build with the dependency on the pkgsrc GCC
- commented out, and provide the error. Look for further
- information in a bit.
Ok, I've got the results of an attempted building using the
stock gcc on NetBSD 7.1/amd64 (XEN3_DOM0).
It looks like the builtin gcc is having a problem finding a
needed include within the include tree. The excerpted error
(the first of many) is:
[...]
Making all in libc
gmake[6]: Entering directory '/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc'
Making all in argz
gmake[7]: Entering directory '/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz'
[..]
gcc -U __linux__ -U __FreeBSD__ -U __NetBSD__ -U __sun__ -nostdinc -isystem /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/../extras/mini-os/include/posix -isystem /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/libexec/x86_64--netbsd/4.8.5/include -isystem /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/lwip-x86_64/src/include -isystem /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/lwip-x86_64/src/include/ipv4 -I/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/include -I/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/../xen/include -mno-red-zone -fno-stack-protector -fno-exceptions -D_I386MACH_ALLOW_HW_INTERRUPTS -isystem /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/../extras/mini-os/include/x86 -B/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/ -isystem /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/targ-include -isystem /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-1.16.0/newlib/libc/include -B/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/x86_64 -L/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/libnosys -L/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-1.16.0/libgloss/x86_64 -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../newlib-1.16.0/newlib/libc/argz -O2 -DMISSING_SYSCALL_NAMES -fno-builtin -O2 -g -c -o lib_a-argz_add.o `test -f 'argz_add.c' || echo '../../../../../newlib-1.16.0/newlib/libc/argz/'`argz_add.c
In file included from /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-1.16.0/newlib/libc/include/sys/reent.h:14:0,
from /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-1.16.0/newlib/libc/include/sys/errno.h:11,
from /xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-1.16.0/newlib/libc/include/errno.h:9,
from ../../../../../newlib-1.16.0/newlib/libc/argz/argz_add.c:7:
/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-1.16.0/newlib/libc/include/sys/_types.h:63:20: fatal error: stddef.h: No such file or directory
#include <stddef.h>
^
compilation terminated.
Makefile:378: recipe for target 'lib_a-argz_add.o' failed
gmake[7]: *** [lib_a-argz_add.o] Error 1
gmake[7]: Leaving directory '/xen-vms/hvm/pkgsrc/obj/sysutils/xentools48/work/xen-4.8.0/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz'
Making all in stdlib
The full build log is at ftp.cirr.com:/pub/eric/xentools48-standard-gcc.out
Hopefully this helps someone sort out the issues with the build.
I'd do it but I don't have time to chase it down right now.
--
Eric Schnoebelen eric%cirr.com@localhost http://www.cirr.com
Getting an education was a bit like a communicable sexual disease.
It make you unsuitable for a lot of jobs and the you had the urge
to pass it on. -- Terry Pratchett, "Hogfather"
Home |
Main Index |
Thread Index |
Old Index