linuxboot / heads

A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops, workstations and servers.
https://osresearch.net/
GNU General Public License v2.0
1.41k stars 185 forks source link

Building toolchain fails #905

Closed LukasWerthmanns closed 3 years ago

LukasWerthmanns commented 3 years ago

Hi, I'm trying to build heads for the x230 but it fails building the toolchain. I could not find anything to help me. Please tell me if you need further information. Running Archlinux.

here is the full output of: make BOARD=x230

 Wrong make detected: 4.3
tar xf "/home/lukas/computer_stuff/heads/heads/packages/make-4.2.1.tar.bz2" -C "/home/lukas/computer_stuff/heads/heads/build"
touch "/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/.extract"
( cd "/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/" ; patch -p1 ) < "patches/make-4.2.1.patch"
patching file glob/glob.c
touch "/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/.patch"
cd "/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/" ; \
./configure 2>&1 \
| tee "/home/lukas/computer_stuff/heads/heads/build/log/make.configure.log" \

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ar... ar
checking for perl... perl
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for library containing strerror... none required
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing getpwnam... none required
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for unsigned long long int... yes
checking for uintmax_t... yes
checking for nanoseconds field of struct stat... st_mtim.tv_nsec
checking whether to use high resolution file timestamps... yes
checking for library containing clock_gettime... none required
checking whether system uses MSDOS-style paths... no
checking for standard gettimeofday... yes
checking for strdup... yes
checking for strndup... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for fdopen... yes
checking for fileno... yes
checking for dup... yes
checking for dup2... yes
checking for getcwd... yes
checking for realpath... yes
checking for sigsetmask... yes
checking for sigaction... yes
checking for getgroups... yes
checking for seteuid... yes
checking for setegid... yes
checking for setlinebuf... yes
checking for setreuid... yes
checking for setregid... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for setvbuf... yes
checking for pipe... yes
checking for strerror... yes
checking for strsignal... yes
checking for lstat... yes
checking for readlink... yes
checking for atexit... yes
checking for isatty... yes
checking for ttyname... yes
checking for pselect... yes
checking whether bsd_signal is declared... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcmpi... no
checking for strncmpi... no
checking for stricmp... no
checking for strnicmp... no
checking for working strcoll... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether closedir returns void... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GUILE... yes
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking whether sys_siglist is declared... no
checking whether _sys_siglist is declared... no
checking whether __sys_siglist is declared... no
checking for sys/wait.h... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... no
checking for SA_RESTART... yes
checking whether dlopen is declared... yes
checking whether dlsym is declared... yes
checking whether dlerror is declared... yes
checking for library containing dlopen... -ldl
checking If the linker accepts -Wl,--export-dynamic... yes
checking for location of SCCS get command... get
checking if system libc has GNU glob... no
checking if malloc debugging is wanted... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glob/Makefile
config.status: creating po/Makefile.in
config.status: creating config/Makefile
config.status: creating doc/Makefile
config.status: creating w32/Makefile
config.status: creating tests/config-flags.pm
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating build.sh
touch "/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/.configured"
make -C "/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/"  \
    2>&1 \
    | tee "/home/lukas/computer_stuff/heads/heads/build/log/make.log" \

make[1]: Entering directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1'
make  all-recursive
make[2]: Entering directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1'
Making all in glob
make[3]: Entering directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/glob'
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT glob.o -MD -MP -MF .deps/glob.Tpo -c -o glob.o glob.c
glob.c: In function ‘glob’:
glob.c:814:11: warning: implicit declaration of function ‘__stat’; did you mean ‘__xstat’? [-Wimplicit-function-declaration]
  814 |         : __stat (dirname, &st)) == 0
      |           ^~~~~~
      |           __xstat
mv -f .deps/glob.Tpo .deps/glob.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT fnmatch.o -MD -MP -MF .deps/fnmatch.Tpo -c -o fnmatch.o fnmatch.c
mv -f .deps/fnmatch.Tpo .deps/fnmatch.Po
rm -f libglob.a
ar cru libglob.a glob.o fnmatch.o 
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libglob.a
make[3]: Leaving directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/glob'
Making all in config
make[3]: Entering directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/config'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/config'
Making all in po
make[3]: Entering directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/po'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/po'
Making all in doc
make[3]: Entering directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/doc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/doc'
make[3]: Entering directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1'
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT ar.o -MD -MP -MF .deps/ar.Tpo -c -o ar.o ar.c
mv -f .deps/ar.Tpo .deps/ar.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT arscan.o -MD -MP -MF .deps/arscan.Tpo -c -o arscan.o arscan.c
mv -f .deps/arscan.Tpo .deps/arscan.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT commands.o -MD -MP -MF .deps/commands.Tpo -c -o commands.o commands.c
mv -f .deps/commands.Tpo .deps/commands.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT default.o -MD -MP -MF .deps/default.Tpo -c -o default.o default.c
mv -f .deps/default.Tpo .deps/default.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT dir.o -MD -MP -MF .deps/dir.Tpo -c -o dir.o dir.c
mv -f .deps/dir.Tpo .deps/dir.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT expand.o -MD -MP -MF .deps/expand.Tpo -c -o expand.o expand.c
mv -f .deps/expand.Tpo .deps/expand.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c
mv -f .deps/file.Tpo .deps/file.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT function.o -MD -MP -MF .deps/function.Tpo -c -o function.o function.c
mv -f .deps/function.Tpo .deps/function.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
mv -f .deps/getopt.Tpo .deps/getopt.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT guile.o -MD -MP -MF .deps/guile.Tpo -c -o guile.o guile.c
mv -f .deps/guile.Tpo .deps/guile.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT implicit.o -MD -MP -MF .deps/implicit.Tpo -c -o implicit.o implicit.c
mv -f .deps/implicit.Tpo .deps/implicit.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT job.o -MD -MP -MF .deps/job.Tpo -c -o job.o job.c
mv -f .deps/job.Tpo .deps/job.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c
mv -f .deps/load.Tpo .deps/load.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT loadapi.o -MD -MP -MF .deps/loadapi.Tpo -c -o loadapi.o loadapi.c
mv -f .deps/loadapi.Tpo .deps/loadapi.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c
mv -f .deps/misc.Tpo .deps/misc.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT posixos.o -MD -MP -MF .deps/posixos.Tpo -c -o posixos.o posixos.c
mv -f .deps/posixos.Tpo .deps/posixos.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.c
mv -f .deps/output.Tpo .deps/output.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT read.o -MD -MP -MF .deps/read.Tpo -c -o read.o read.c
read.c: In function ‘find_percent_cached’:
cc1: warning: function may return address of local variable [-Wreturn-local-addr]
In file included from makeint.h:31,
                 from read.c:17:
read.c:2418:19: note: declared here
 2418 |             new = alloca (slen + 1);
      |                   ^~~~~~
mv -f .deps/read.Tpo .deps/read.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT remake.o -MD -MP -MF .deps/remake.Tpo -c -o remake.o remake.c
mv -f .deps/remake.Tpo .deps/remake.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT rule.o -MD -MP -MF .deps/rule.Tpo -c -o rule.o rule.c
mv -f .deps/rule.Tpo .deps/rule.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT signame.o -MD -MP -MF .deps/signame.Tpo -c -o signame.o signame.c
mv -f .deps/signame.Tpo .deps/signame.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT strcache.o -MD -MP -MF .deps/strcache.Tpo -c -o strcache.o strcache.c
mv -f .deps/strcache.Tpo .deps/strcache.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT variable.o -MD -MP -MF .deps/variable.Tpo -c -o variable.o variable.c
mv -f .deps/variable.Tpo .deps/variable.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c
mv -f .deps/version.Tpo .deps/version.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT vpath.o -MD -MP -MF .deps/vpath.Tpo -c -o vpath.o vpath.c
mv -f .deps/vpath.Tpo .deps/vpath.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c
mv -f .deps/hash.Tpo .deps/hash.Po
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.  -I./glob   -I/usr/include/guile/2.0 -pthread  -g -O2 -MT remote-stub.o -MD -MP -MF .deps/remote-stub.Tpo -c -o remote-stub.o remote-stub.c
mv -f .deps/remote-stub.Tpo .deps/remote-stub.Po
gcc -I/usr/include/guile/2.0 -pthread  -g -O2 -Wl,--export-dynamic  -o make ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o getopt.o getopt1.o guile.o implicit.o job.o load.o loadapi.o main.o misc.o posixos.o output.o read.o remake.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o remote-stub.o glob/libglob.a -lguile-2.0 -lgc   -ldl 
make[3]: Leaving directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1'
make[2]: Leaving directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1'
make[1]: Leaving directory '/home/lukas/computer_stuff/heads/heads/build/make-4.2.1'
LANG=C MAKE=/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/make /home/lukas/computer_stuff/heads/heads/build/make-4.2.1/make  all
make[1]: Entering directory '/home/lukas/computer_stuff/heads/heads'
2020-11-21 13:59:00+01:00 Wrong gawk detected: 5.1.0
Makefile:202: warning: overriding recipe for target 'all'
Makefile:68: warning: ignoring old recipe for target 'all'
tar xf "/home/lukas/computer_stuff/heads/heads/packages/gawk-4.2.1.tar.xz" -C "/home/lukas/computer_stuff/heads/heads/build"
touch "/home/lukas/computer_stuff/heads/heads/build/gawk-4.2.1/.extract"
touch "/home/lukas/computer_stuff/heads/heads/build/gawk-4.2.1/.patch"
cd "/home/lukas/computer_stuff/heads/heads/build/gawk-4.2.1/" ; \
./configure 2>&1 \
| tee "/home/lukas/computer_stuff/heads/heads/build/log/gawk.configure.log" \
> /dev/null
touch "/home/lukas/computer_stuff/heads/heads/build/gawk-4.2.1/.configured"
/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/make -C "/home/lukas/computer_stuff/heads/heads/build/gawk-4.2.1/"  \
    2>&1 \
    | tee "/home/lukas/computer_stuff/heads/heads/build/log/gawk.log" \
    > /dev/null
mkdir -p "/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/3rdparty/blobs/"
tar -xf "/home/lukas/computer_stuff/heads/heads/packages/coreboot-blobs-4.8.1.tar.xz" --strip 3 -C "/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/3rdparty/blobs/"
if [ -r patches/coreboot-blobs-4.8.1.patch ]; then ( cd /home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/3rdparty/blobs/ ; patch -p1 ) < patches/coreboot-blobs-4.8.1.patch || exit 1 ; fi
if [ -d patches/coreboot-blobs-4.8.1 ] && [ -r patches/coreboot-blobs-4.8.1 ] ; then for patch in patches/coreboot-blobs-4.8.1/*.patch ; do echo "Applying patch file : $patch " ; ( cd /home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/3rdparty/blobs/ ; patch -p1 ) < $patch || exit 1 ; done ; fi
2020-11-21 13:59:33+01:00 CONFIG coreboot-blobs
2020-11-21 13:59:33+01:00 MAKE coreboot-blobs
2020-11-21 13:59:33+01:00 DONE coreboot-blobs
mkdir -p "/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/"
tar -xf "/home/lukas/computer_stuff/heads/heads/packages/coreboot-4.8.1.tar.xz" --strip 1 -C "/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/"
if [ -r patches/coreboot-4.8.1.patch ]; then ( cd /home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/ ; patch -p1 ) < patches/coreboot-4.8.1.patch || exit 1 ; fi
if [ -d patches/coreboot-4.8.1 ] && [ -r patches/coreboot-4.8.1 ] ; then for patch in patches/coreboot-4.8.1/*.patch ; do echo "Applying patch file : $patch " ; ( cd /home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/ ; patch -p1 ) < $patch || exit 1 ; done ; fi
Applying patch file : patches/coreboot-4.8.1/0000-measuredboot.patch 
patching file src/Kconfig
patching file src/drivers/pc80/tpm/romstage.c
patching file src/drivers/pc80/tpm/tis.c
patching file src/include/program_loading.h
patching file src/lib/cbfs.c
patching file src/lib/hardwaremain.c
patching file src/lib/rmodule.c
patching file src/security/tpm/Makefile.inc
patching file src/security/tpm/sha1.c
patching file src/security/tpm/sha1.h
patching file src/security/tpm/tss.h
patching file src/security/tpm/tss/tcg-1.2/tss.c
Applying patch file : patches/coreboot-4.8.1/0001-mb-purism-librem_skl-add-support-for-13v4-15v4-board.patch 
patching file src/mainboard/purism/librem_skl/Kconfig
Hunk #1 succeeded at 21 (offset -4 lines).
Hunk #2 succeeded at 32 (offset -4 lines).
Hunk #3 succeeded at 55 (offset -4 lines).
Hunk #4 succeeded at 69 (offset -4 lines).
patching file src/mainboard/purism/librem_skl/Kconfig.name
Applying patch file : patches/coreboot-4.8.1/0002-arch-x86-acpi-Add-DMAR-RMRR-helper-functions.patch 
patching file src/arch/x86/acpi.c
patching file src/arch/x86/include/arch/acpi.h
patching file src/northbridge/intel/gm45/acpi.c
patching file src/northbridge/intel/haswell/acpi.c
patching file src/northbridge/intel/sandybridge/acpi.c
patching file src/soc/intel/broadwell/acpi.c
patching file src/soc/intel/fsp_broadwell_de/acpi.c
patching file src/soc/intel/skylake/acpi.c
Applying patch file : patches/coreboot-4.8.1/0003-soc-intel-skylake-Generate-ACPI-RMRR-table.patch 
patching file src/soc/intel/common/block/include/intelblocks/systemagent.h
patching file src/soc/intel/common/block/systemagent/systemagent_early.c
patching file src/soc/intel/skylake/acpi.c
Applying patch file : patches/coreboot-4.8.1/0007-intel-fsp-fsp2_0-Fix-FSP-2.0-headers-to-match-github.patch 
patching file src/vendorcode/intel/fsp/fsp2_0/skykabylake/MemInfoHob.h
Applying patch file : patches/coreboot-4.8.1/0009-Add-heads-TPM-measurements-to-Skylake-Kabylake.patch 
patching file src/arch/x86/postcar.c
patching file src/drivers/intel/fsp2_0/memory_init.c
patching file src/drivers/intel/fsp2_0/silicon_init.c
patching file src/drivers/pc80/tpm/Makefile.inc
patching file src/security/tpm/Makefile.inc
Hunk #1 succeeded at 13 with fuzz 2 (offset 9 lines).
Applying patch file : patches/coreboot-4.8.1/0010-cross-compiler-support.patch 
patching file Makefile
Applying patch file : patches/coreboot-4.8.1/0020-kgpe-d16.patch 
patching file src/mainboard/asus/kgpe-d16/Kconfig
patching file src/mainboard/asus/kgpe-d16/devicetree.cb
patching file src/mainboard/asus/kgpe-d16/dsdt.asl
patching file src/mainboard/asus/kgpe-d16/mainboard.c
patching file src/mainboard/asus/kgpe-d16/romstage.c
Applying patch file : patches/coreboot-4.8.1/0030-sandybridge.patch 
patching file src/northbridge/intel/sandybridge/romstage.c
Applying patch file : patches/coreboot-4.8.1/0050-buildgcc-Do-not-try-to-install-GCC-if-build-failed.patch 
patching file util/crossgcc/buildgcc
Applying patch file : patches/coreboot-4.8.1/0051-buildgcc-Update-IASL-to-20180531.patch 
patching file util/crossgcc/buildgcc
patching file util/crossgcc/patches/acpica-unix2-20161222_iasl.patch
patching file util/crossgcc/patches/acpica-unix2-20180531_iasl.patch
patching file util/crossgcc/sum/acpica-unix2-20161222.tar.gz.cksum
patching file util/crossgcc/sum/acpica-unix2-20180531.tar.gz.cksum
Applying patch file : patches/coreboot-4.8.1/0052-crossgcc-Update-to-clang-6.0-cmake-3.11.3.patch 
patching file util/crossgcc/buildgcc
patching file util/crossgcc/sum/cfe-4.0.0.src.tar.xz.cksum
patching file util/crossgcc/sum/cfe-6.0.0.src.tar.xz.cksum
patching file util/crossgcc/sum/clang-tools-extra-4.0.0.src.tar.xz.cksum
patching file util/crossgcc/sum/clang-tools-extra-6.0.0.src.tar.xz.cksum
patching file util/crossgcc/sum/cmake-3.11.3.tar.gz.cksum
patching file util/crossgcc/sum/cmake-3.9.0-rc3.tar.gz.cksum
patching file util/crossgcc/sum/compiler-rt-4.0.0.src.tar.xz.cksum
patching file util/crossgcc/sum/compiler-rt-6.0.0.src.tar.xz.cksum
patching file util/crossgcc/sum/llvm-4.0.0.src.tar.xz.cksum
patching file util/crossgcc/sum/llvm-6.0.0.src.tar.xz.cksum
Applying patch file : patches/coreboot-4.8.1/0053-src-Get-rid-of-unneeded-whitespace.patch 
patching file util/crossgcc/buildgcc
Applying patch file : patches/coreboot-4.8.1/0054-util-crossgcc-Allow-building-a-new-gcc-against-new-b.patch 
patching file util/crossgcc/buildgcc
Applying patch file : patches/coreboot-4.8.1/0055-crosgcc-patches-Add-make-patch-for-GLIBC-glob-interf.patch 
patching file util/crossgcc/patches/make-4.2.1_gnu_glob_interface_v2.patch
Applying patch file : patches/coreboot-4.8.1/0056-util-crossgcc-update-to-gcc-8.1.0-and-binutils-2.30.patch 
patching file util/crossgcc/buildgcc
patching file util/crossgcc/patches/binutils-2.30_mips-gold.patch (renamed from util/crossgcc/patches/binutils-2.29.1_mips-gold.patch)
patching file util/crossgcc/patches/binutils-2.30_nds32.patch
patching file util/crossgcc/patches/binutils-2.30_no-bfd-doc.patch (renamed from util/crossgcc/patches/binutils-2.29.1_no-bfd-doc.patch)
patching file util/crossgcc/patches/gcc-6.3.0_ada-raise.patch
patching file util/crossgcc/patches/gcc-6.3.0_elf_biarch.patch
patching file util/crossgcc/patches/gcc-6.3.0_memmodel.patch
patching file util/crossgcc/patches/gcc-6.3.0_nds32_ite.patch
patching file util/crossgcc/patches/gcc-6.3.0_no-p-var.patch
patching file util/crossgcc/patches/gcc-6.3.0_pointer_integer.patch
patching file util/crossgcc/patches/gcc-6.3.0_riscv.patch
patching file util/crossgcc/patches/gcc-8.1.0_ada-musl_workaround.patch (renamed from util/crossgcc/patches/gcc-6.3.0_ada-musl_workaround.patch)
patching file util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch
patching file util/crossgcc/patches/gcc-8.1.0_gnat.patch (renamed from util/crossgcc/patches/gcc-6.3.0_gnat.patch)
patching file util/crossgcc/patches/gcc-8.1.0_libgcc.patch (renamed from util/crossgcc/patches/gcc-6.3.0_libgcc.patch)
patching file util/crossgcc/patches/gcc-8.1.0_nds32_ite.patch
patching file util/crossgcc/sum/binutils-2.29.1.tar.xz.cksum
patching file util/crossgcc/sum/binutils-2.30.tar.xz.cksum
patching file util/crossgcc/sum/gcc-6.3.0.tar.bz2.cksum
patching file util/crossgcc/sum/gcc-8.1.0.tar.xz.cksum
Applying patch file : patches/coreboot-4.8.1/0057-util-crosgcc-patches-update-make-4.2.1-patches.patch 
patching file util/crossgcc/patches/make-4.2.1_0053-glob-Do-not-assume-glibc-glob-internals.patch
patching file util/crossgcc/patches/make-4.2.1_0068-configure.ac-Support-GLIBC-glob-interface-version-2.patch
patching file util/crossgcc/patches/make-4.2.1_gnu_glob_interface_v2.patch
Applying patch file : patches/coreboot-4.8.1/0058-util-crosgcc-Fix-most-shellcheck-errors-in-buildgcc.patch 
patching file util/crossgcc/buildgcc
Applying patch file : patches/coreboot-4.8.1/0059-util-Add-description.md-to-each-util.patch 
patching file util/crossgcc/description.md
Applying patch file : patches/coreboot-4.8.1/0060-enable-tpm-on-t430.patch 
patching file src/mainboard/lenovo/t430/devicetree.cb
/home/lukas/computer_stuff/heads/heads/build/make-4.2.1/make -C "/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1" CPUS=$CPUS iasl
make[2]: Entering directory '/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1'
Welcome to the coreboot cross toolchain builder v1.52 (June 11th, 2018)

Building toolchain using 1 thread(s).

Downloading and verifing tarballs ...
 * acpica-unix2-20180531.tar.gz (downloading from https://acpica.org/sites/acpica/files/acpica-unix2-20180531.tar.gz)... hash verified ("17717140438d506533b4a56e34350749d7b84d6c")
Downloaded tarballs ... ok
Unpacking and patching ...
 * acpica-unix2-20180531.tar.gz
   o acpica-unix2-20180531_iasl.patch
Unpacked and patched ... ok
Building packages ...
Building IASL v20180531 for host ... failed. Check 'build-IASL/build.log'.
make[3]: *** [Makefile:36: build_iasl] Error 1
make[2]: *** [util/crossgcc/Makefile.inc:52: iasl] Error 2
make[2]: Leaving directory '/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1'
make[1]: *** [modules/coreboot:73: "/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/util/crossgcc/xgcc/bin/iasl"] Error 2
make[1]: Leaving directory '/home/lukas/computer_stuff/heads/heads'
make: *** [Makefile:648: all] Error 2

build-IASL/build.log says:

make[1]: Entering directory '/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/util/crossgcc/acpica-unix2-20180531/generate/unix/iasl'
-  m4           Preprocess main iASL parser
-  bison        obj/aslcompiler.y
/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/util/crossgcc/acpica-unix2-20180531/generate/unix/iasl/obj/aslcompiler.y:103.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
  103 | %expect 118
      | ^~~~~~~
-  flex         ../../../source/compiler/aslcompiler.l
-  bison        obj/aslcompiler.y
/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/util/crossgcc/acpica-unix2-20180531/generate/unix/iasl/obj/aslcompiler.y:103.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
  103 | %expect 118
      | ^~~~~~~
-  bison        ../../../source/compiler/dtparser.y
-  flex         ../../../source/compiler/dtparser.l
-  bison        ../../../source/compiler/dtparser.y
-  bison        ../../../source/compiler/prparser.y
-  flex         ../../../source/compiler/prparser.l
-  bison        ../../../source/compiler/prparser.y
-  Intermediate obj/aslcompilerlex.c
-  Intermediate obj/aslcompilerparse.c
-  Intermediate obj/dtparserlex.c
-  Intermediate obj/dtparserparse.c
-  Intermediate obj/prparserlex.c
-  Intermediate obj/prparserparse.c
obj/iasl ../../../source/common/acfileio.c
obj/iasl ../../../source/common/adfile.c
obj/iasl ../../../source/common/adisasm.c
obj/iasl ../../../source/common/adwalk.c
obj/iasl ../../../source/common/ahids.c
obj/iasl ../../../source/common/ahpredef.c
obj/iasl ../../../source/common/ahtable.c
obj/iasl ../../../source/common/ahuuids.c
obj/iasl ../../../source/compiler/aslallocate.c
obj/iasl ../../../source/compiler/aslanalyze.c
obj/iasl ../../../source/compiler/aslascii.c
obj/iasl ../../../source/compiler/aslbtypes.c
obj/iasl ../../../source/compiler/aslcache.c
obj/iasl ../../../source/compiler/aslcodegen.c
obj/iasl ../../../source/compiler/aslcompile.c
obj/iasl ../../../source/compiler/asldebug.c
obj/iasl ../../../source/compiler/aslerror.c
obj/iasl ../../../source/compiler/aslexternal.c
obj/iasl ../../../source/compiler/aslfiles.c
obj/iasl ../../../source/compiler/aslfileio.c
obj/iasl ../../../source/compiler/aslfold.c
obj/iasl ../../../source/compiler/aslhelp.c
obj/iasl ../../../source/compiler/aslhex.c
obj/iasl ../../../source/compiler/asllength.c
obj/iasl ../../../source/compiler/asllisting.c
obj/iasl ../../../source/compiler/asllistsup.c
obj/iasl ../../../source/compiler/aslload.c
obj/iasl ../../../source/compiler/asllookup.c
obj/iasl ../../../source/compiler/aslmain.c
obj/iasl ../../../source/compiler/aslmap.c
obj/iasl ../../../source/compiler/aslmapenter.c
obj/iasl ../../../source/compiler/aslmapoutput.c
obj/iasl ../../../source/compiler/aslmaputils.c
obj/iasl ../../../source/compiler/aslmessages.c
obj/iasl ../../../source/compiler/aslmethod.c
obj/iasl ../../../source/compiler/aslnamesp.c
obj/iasl ../../../source/compiler/asloffset.c
obj/iasl ../../../source/compiler/aslopcodes.c
obj/iasl ../../../source/compiler/asloperands.c
obj/iasl ../../../source/compiler/aslopt.c
obj/iasl ../../../source/compiler/asloptions.c
obj/iasl ../../../source/compiler/aslparseop.c
obj/iasl ../../../source/compiler/aslpredef.c
obj/iasl ../../../source/compiler/aslprepkg.c
obj/iasl ../../../source/compiler/aslprintf.c
obj/iasl ../../../source/compiler/aslprune.c
obj/iasl ../../../source/compiler/aslresource.c
obj/iasl ../../../source/compiler/aslrestype1.c
obj/iasl ../../../source/compiler/aslrestype1i.c
obj/iasl ../../../source/compiler/aslrestype2.c
obj/iasl ../../../source/compiler/aslrestype2d.c
obj/iasl ../../../source/compiler/aslrestype2e.c
obj/iasl ../../../source/compiler/aslrestype2q.c
obj/iasl ../../../source/compiler/aslrestype2s.c
obj/iasl ../../../source/compiler/aslrestype2w.c
obj/iasl ../../../source/compiler/aslstartup.c
obj/iasl ../../../source/compiler/aslstubs.c
obj/iasl ../../../source/compiler/aslpld.c
obj/iasl ../../../source/compiler/asltransform.c
obj/iasl ../../../source/compiler/asltree.c
obj/iasl ../../../source/compiler/aslutils.c
obj/iasl ../../../source/compiler/asluuid.c
obj/iasl ../../../source/compiler/aslwalks.c
obj/iasl ../../../source/compiler/aslxref.c
obj/iasl ../../../source/compiler/aslxrefout.c
obj/iasl ../../../source/compiler/cvcompiler.c
obj/iasl ../../../source/compiler/cvdisasm.c
obj/iasl ../../../source/compiler/cvparser.c
obj/iasl ../../../source/common/cmfsize.c
obj/iasl ../../../source/components/debugger/dbfileio.c
obj/iasl ../../../source/components/disassembler/dmbuffer.c
obj/iasl ../../../source/components/disassembler/dmcstyle.c
obj/iasl ../../../source/components/disassembler/dmdeferred.c
obj/iasl ../../../source/common/dmextern.c
obj/iasl ../../../source/components/disassembler/dmnames.c
obj/iasl ../../../source/components/disassembler/dmopcode.c
obj/iasl ../../../source/components/disassembler/dmresrc.c
obj/iasl ../../../source/components/disassembler/dmresrcl.c
obj/iasl ../../../source/components/disassembler/dmresrcl2.c
obj/iasl ../../../source/components/disassembler/dmresrcs.c
obj/iasl ../../../source/common/dmrestag.c
obj/iasl ../../../source/common/dmswitch.c
obj/iasl ../../../source/common/dmtable.c
obj/iasl ../../../source/common/dmtables.c
obj/iasl ../../../source/common/dmtbdump.c
obj/iasl ../../../source/common/dmtbdump1.c
obj/iasl ../../../source/common/dmtbdump2.c
obj/iasl ../../../source/common/dmtbdump3.c
obj/iasl ../../../source/common/dmtbinfo.c
obj/iasl ../../../source/common/dmtbinfo1.c
obj/iasl ../../../source/common/dmtbinfo2.c
obj/iasl ../../../source/common/dmtbinfo3.c
obj/iasl ../../../source/components/disassembler/dmutils.c
obj/iasl ../../../source/components/disassembler/dmwalk.c
obj/iasl ../../../source/components/dispatcher/dsargs.c
obj/iasl ../../../source/components/dispatcher/dscontrol.c
obj/iasl ../../../source/components/dispatcher/dsfield.c
obj/iasl ../../../source/components/dispatcher/dsobject.c
obj/iasl ../../../source/components/dispatcher/dsopcode.c
obj/iasl ../../../source/components/dispatcher/dspkginit.c
obj/iasl ../../../source/components/dispatcher/dsutils.c
obj/iasl ../../../source/components/dispatcher/dswexec.c
obj/iasl ../../../source/components/dispatcher/dswload.c
obj/iasl ../../../source/components/dispatcher/dswload2.c
obj/iasl ../../../source/components/dispatcher/dswscope.c
obj/iasl ../../../source/components/dispatcher/dswstate.c
obj/iasl ../../../source/compiler/dtcompile.c
obj/iasl ../../../source/compiler/dtexpress.c
obj/iasl ../../../source/compiler/dtfield.c
obj/iasl ../../../source/compiler/dtio.c
obj/iasl ../../../source/compiler/dtsubtable.c
obj/iasl ../../../source/compiler/dttable.c
obj/iasl ../../../source/compiler/dttable1.c
obj/iasl ../../../source/compiler/dttable2.c
obj/iasl ../../../source/compiler/dttemplate.c
obj/iasl ../../../source/compiler/dtutils.c
obj/iasl ../../../source/components/executer/exconcat.c
obj/iasl ../../../source/components/executer/exconvrt.c
obj/iasl ../../../source/components/executer/excreate.c
obj/iasl ../../../source/components/executer/exdump.c
obj/iasl ../../../source/components/executer/exmisc.c
obj/iasl ../../../source/components/executer/exmutex.c
obj/iasl ../../../source/components/executer/exnames.c
obj/iasl ../../../source/components/executer/exoparg1.c
obj/iasl ../../../source/components/executer/exoparg2.c
obj/iasl ../../../source/components/executer/exoparg3.c
obj/iasl ../../../source/components/executer/exoparg6.c
obj/iasl ../../../source/components/executer/exprep.c
obj/iasl ../../../source/components/executer/exregion.c
obj/iasl ../../../source/components/executer/exresnte.c
obj/iasl ../../../source/components/executer/exresolv.c
obj/iasl ../../../source/components/executer/exresop.c
obj/iasl ../../../source/components/executer/exstore.c
obj/iasl ../../../source/components/executer/exstoren.c
obj/iasl ../../../source/components/executer/exstorob.c
obj/iasl ../../../source/components/executer/exsystem.c
obj/iasl ../../../source/components/executer/exutils.c
obj/iasl ../../../source/common/getopt.c
obj/iasl ../../../source/components/namespace/nsaccess.c
obj/iasl ../../../source/components/namespace/nsalloc.c
obj/iasl ../../../source/components/namespace/nsdump.c
obj/iasl ../../../source/components/namespace/nsnames.c
obj/iasl ../../../source/components/namespace/nsobject.c
obj/iasl ../../../source/components/namespace/nsparse.c
obj/iasl ../../../source/components/namespace/nssearch.c
obj/iasl ../../../source/components/namespace/nsutils.c
obj/iasl ../../../source/components/namespace/nswalk.c
obj/iasl ../../../source/components/namespace/nsxfobj.c
obj/iasl ../../../source/os_specific/service_layers/osunixxf.c
obj/iasl ../../../source/compiler/prexpress.c
obj/iasl ../../../source/compiler/prmacros.c
obj/iasl ../../../source/compiler/prscan.c
obj/iasl ../../../source/compiler/prutils.c
obj/iasl ../../../source/components/parser/psargs.c
obj/iasl ../../../source/components/parser/psloop.c
obj/iasl ../../../source/components/parser/psobject.c
obj/iasl ../../../source/components/parser/psopcode.c
obj/iasl ../../../source/components/parser/psopinfo.c
obj/iasl ../../../source/components/parser/psparse.c
obj/iasl ../../../source/components/parser/psscope.c
obj/iasl ../../../source/components/parser/pstree.c
obj/iasl ../../../source/components/parser/psutils.c
obj/iasl ../../../source/components/parser/pswalk.c
obj/iasl ../../../source/components/tables/tbdata.c
obj/iasl ../../../source/components/tables/tbfadt.c
obj/iasl ../../../source/components/tables/tbinstal.c
obj/iasl ../../../source/components/tables/tbprint.c
obj/iasl ../../../source/components/tables/tbutils.c
obj/iasl ../../../source/components/tables/tbxface.c
obj/iasl ../../../source/components/tables/tbxfload.c
obj/iasl ../../../source/components/utilities/utaddress.c
obj/iasl ../../../source/components/utilities/utalloc.c
obj/iasl ../../../source/components/utilities/utascii.c
obj/iasl ../../../source/components/utilities/utbuffer.c
obj/iasl ../../../source/components/utilities/utcache.c
obj/iasl ../../../source/components/utilities/utcopy.c
obj/iasl ../../../source/components/utilities/utdebug.c
obj/iasl ../../../source/components/utilities/utdecode.c
obj/iasl ../../../source/components/utilities/utdelete.c
obj/iasl ../../../source/components/utilities/uterror.c
obj/iasl ../../../source/components/utilities/utexcep.c
obj/iasl ../../../source/components/utilities/utglobal.c
obj/iasl ../../../source/components/utilities/uthex.c
obj/iasl ../../../source/components/utilities/utinit.c
obj/iasl ../../../source/components/utilities/utlock.c
obj/iasl ../../../source/components/utilities/utmath.c
obj/iasl ../../../source/components/utilities/utmisc.c
obj/iasl ../../../source/components/utilities/utmutex.c
obj/iasl ../../../source/components/utilities/utnonansi.c
obj/iasl ../../../source/components/utilities/utobject.c
obj/iasl ../../../source/components/utilities/utownerid.c
obj/iasl ../../../source/components/utilities/utpredef.c
obj/iasl ../../../source/components/utilities/utresdecode.c
obj/iasl ../../../source/components/utilities/utresrc.c
obj/iasl ../../../source/components/utilities/utstate.c
obj/iasl ../../../source/components/utilities/utstrtoul64.c
obj/iasl ../../../source/components/utilities/utstrsuppt.c
obj/iasl ../../../source/components/utilities/utstring.c
obj/iasl ../../../source/components/utilities/utuuid.c
obj/iasl ../../../source/components/utilities/utxface.c
obj/iasl ../../../source/components/utilities/utxferror.c
- Link obj/iasl
/usr/bin/ld: obj/aslcompilerparse.o:(.bss+0x8): multiple definition of `AslCompilerlval'; obj/aslcompilerlex.o:(.bss+0x0): first defined here
/usr/bin/ld: obj/prparserlex.o:(.bss+0x0): multiple definition of `LexBuffer'; obj/dtparserlex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [../Makefile.rules:15: obj/iasl] Error 1
make[1]: Leaving directory '/home/lukas/computer_stuff/heads/heads/build/coreboot-4.8.1/util/crossgcc/acpica-unix2-20180531/generate/unix/iasl'
make: *** [Makefile.common:7: iasl] Error 2
cp: cannot stat 'bin/iasl': No such file or directory
ghost commented 3 years ago

I remember having that output before.Solution was installing all the dependencies that are stated osresearch.net.Before that I installed the dependencies that were mentioned in a different Heads-install tutorial that I found online.I installed Heads on debian 10 and works as supposed.

ghost commented 3 years ago

@LukasWerthmanns ,as far as flashrom is concerned I used the one that comes with debian 10 and just in case you want to remove IntelME just stick to the tuto that is mentioned on osresearch.net.It worked for me copy&paste all the way.

LukasWerthmanns commented 3 years ago

@userongihu Thanks. Installing all the dependencies worked on ubuntu.

AldenIsMe commented 3 years ago

Hello! Does anyone have those dependencies? I've been going at this 6 hours straight.. Tried the wayback machine on the heads site, installed depends, downgraded make, after having to modify the glob.c file in the make source (that one took 3 hours after realizing you cant apt make=4.2)

Any help would be appreciated. Trying to "make BOARD=x230-hotp-maximized" on Kali Linux WSL. Getting same error as above:

Building IASL v20180531 for host ... failed. Check 'build-IASL/build.log'.

in the build.log:

LukasWerthmanns commented 3 years ago

@AldenIsMe Ok, the way I remember it I found the dependencies inside a file in the github repository not the wiki. I'm not 100% sure but it could have been this one. https://github.com/osresearch/heads/blob/master/.circleci/config.yml After installing everything featured in the 'apt install' lines on ubuntu 18.4 building finally worked for me.

I hope my foggy memory is of any help to you.

AldenIsMe commented 3 years ago

@AldenIsMe Ok, the way I remember it I found the dependencies inside a file in the github repository not the wiki. I'm not 100% sure but it could have been this one. https://github.com/osresearch/heads/blob/master/.circleci/config.yml After installing everything featured in the 'apt install' lines on ubuntu 18.4 building finally worked for me.

I hope my foggy memory is of any help to you.

Thanks for your quick reply! In the end I gave up trying to install on Kali WSL, so I just rented a quick 2 hour vps from bitlaunch so its semi secure haha! And it seems to be working, maybe its an issue with the windows subsystem? Not sure.. But I did try on 1gb of ram, and it ran out of memory, so I'm currently trying on 8GB, hopefully it builds fine :) Taking its time as usually.. I'll update this if it works! Thanks for the depends, as it might not of even worked on the vps without it.