Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xen-tools 4.13.1 build failure



Hi,
Another xentools413 build failure. It has been failing for me the last
two weeks or so, failing to build seabios, as follows:
....
gmake[5]: Entering directory
'/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/firmware'
/usr/pkg/bin/gmake -C seabios-dir CC=gcc LD=ld PYTHON=python3.7
EXTRAVERSION="-Xen" all;
gmake[6]: Entering directory
'/usr/pkgsrc/sysutils/xentools413/work/seabios-rel-1.12.1'
  Linking out/rom.o
ld -N -T out/romlayout32flat.lds out/rom16.strip.o
out/rom32seg.strip.o out/code32flat.o -o out/rom.o
ld: out/code32flat.o: in function `memmove':
/usr/pkgsrc/sysutils/xentools413/work/seabios-rel-1.12.1/./src/string.c:206:
undefined reference to `memcpy'
ld: out/code32flat.o: in function `const_read_file':
/usr/pkgsrc/sysutils/xentools413/work/seabios-rel-1.12.1/./src/romfile.c:116:
undefined reference to `memcpy'
ld: out/code32flat.o: in function `tpm_log_event':
/usr/pkgsrc/sysutils/xentools413/work/seabios-rel-1.12.1/./src/tcgbios.c:131:
undefined reference to `memcpy'
ld: /usr/pkgsrc/sysutils/xentools413/work/seabios-rel-1.12.1/./src/tcgbios.c:134:
undefined reference to `memcpy'
ld: out/code32flat.o: in function `smm_save_and_copy':
/usr/pkgsrc/sysutils/xentools413/work/seabios-rel-1.12.1/./src/fw/smm.c:148:
undefined reference to `memcpy'
ld: out/code32flat.o:/usr/pkgsrc/sysutils/xentools413/work/seabios-rel-1.12.1/./src/fw/smm.c:171:
more undefined references to `memcpy' follow
gmake[6]: *** [Makefile:186: out/rom.o] Error 1
gmake[6]: Leaving directory
'/usr/pkgsrc/sysutils/xentools413/work/seabios-rel-1.12.1'
gmake[5]: *** [Makefile:138: subdir-all-seabios-dir] Error 2
gmake[5]: Leaving directory
'/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/firmware'
gmake[4]: *** [/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/firmware/../../tools/Rules.mk:232:
subdirs-all] Error 2
gmake[4]: Leaving directory
'/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/firmware'

....

Wonder whether there is something to do with the switch to gcc9? If
you try to build seabios on its own, it fails the same way.

Chavdar

On Mon, 31 Aug 2020 at 18:08, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> On Mon, 31 Aug 2020 at 13:31, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
> >
> > Ok, thanks.
>
> Builds OK with the include file in place .
>
> >
> > On Mon, 31 Aug 2020 at 12:32, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> > >
> > > On Sun, Aug 30, 2020 at 04:54:18PM +0100, Chavdar Ivanov wrote:
> > > > Hi,
> > > >
> > > > Trying to build xentools-4.13.1 under -current:
> > > >
> > > > gcc -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.7
> > > > -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
> > > > -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include
> > > > -D_XOPEN_SOURCE_EXTENDED=1 -I/usr/pkg/include/ncurses -DPIC -O2
> > > > -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.7
> > > > -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
> > > > -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include
> > > > -D_XOPEN_SOURCE_EXTENDED=1 -I/usr/pkg/include/ncurses -m64 -DBUILD_ID
> > > > -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
> > > > -Wdeclaration-after-statement -Wno-unused-but-set-variable
> > > > -Wno-unused-local-typedefs   -m64 -DBUILD_ID -fno-strict-aliasing
> > > > -std=gnu99 -Wall -Wstrict-prototypes  -Wdeclaration-after-statement
> > > > -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> > > > -fomit-frame-pointer
> > > > -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> > > > .subdirs-all.d   -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall
> > > > -Wstrict-prototypes  -Wdeclaration-after-statement
> > > > -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> > > > -fomit-frame-pointer
> > > > -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> > > > .subdir-all-libs.d   -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99
> > > > -Wall -Wstrict-prototypes  -Wdeclaration-after-statement
> > > > -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> > > > -fomit-frame-pointer
> > > > -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> > > > .subdirs-all.d   -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall
> > > > -Wstrict-prototypes  -Wdeclaration-after-statement
> > > > -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> > > > -fomit-frame-pointer
> > > > -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> > > > .subdir-all-evtchn.d   -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99
> > > > -Wall -Wstrict-prototypes  -Wdeclaration-after-statement
> > > > -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> > > > -fomit-frame-pointer
> > > > -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> > > > .build.d   -Werror -Wmissing-prototypes -I./include
> > > > -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/include
> > > >  -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/libs/toollog/include
> > > > -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/include
> > > >  -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/libs/toolcore/include
> > > > -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/include
> > > > -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall
> > > > -Wstrict-prototypes  -Wdeclaration-after-statement
> > > > -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> > > > -fomit-frame-pointer
> > > > -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> > > > .netbsd.opic.d   -Werror -Wmissing-prototypes -I./include
> > > > -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/include
> > > >  -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/libs/toollog/include
> > > > -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/include
> > > >  -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/libs/toolcore/include
> > > > -I/usr/pkgsrc/sysutils/xentools413/work/xen-4.13.1/tools/libs/evtchn/../../../tools/include
> > > >  -fPIC -c -o netbsd.opic netbsd.c
> > > > netbsd.c:30:10: fatal error: xen/xenio3.h: No such file or directory
> > > >  #include <xen/xenio3.h>
> > > >           ^~~~~~~~~~~~~~
> > > > compilation terminated.
> > > > netbsd.c:30:10: fatal error: xen/xenio3.h: No such file or directory
> > >
> > > This header is in src/sys/arch/xen/include, it should be installed along with
> > > xenio.h
> > > I just commited a fix for this.
> > >
> > > --
> > > Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> > >      NetBSD: 26 ans d'experience feront toujours la difference
> > > --
> >
> >
> >
> > --
> > ----
>
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index