Coder Social home page Coder Social logo

vc4-toolchain's Introduction

vc4-toolchain

A port of the GNU toolchain to the Raspberry Pi's VideoCore4 processor, based on the work of several people, and hacked around a bit until it works.

Most early testing was with the included resim simulator, but the compiler has also been tested against a real Raspberry Pi running a modified version of Kristina Brooks's open firmware.

Building

You can build the toolchain as a cross-compiler. I've only tried doing this from Debian. To get the prerequisites try something like:

$ apt-get build-dep gcc-6
$ apt-get install cmake guile-1.8 libqt4-dev
$ apt-get install texinfo libgmp-dev libmpc-dev libmpfr-dev flex bison

The binutils port is now based on CGEN: to work with that, you'll need Guile 1.8 also. For the simulator, you'll need to install cmake (and maybe QT4 development libraries).

Now run the following command to retrieve all the submodules you need:

$ git clone --recursive https://github.com/itszor/vc4-toolchain.git

Then build the compiler with:

$ ./build-all.sh 2>&1 | tee build.log

This will give you a vc4-targeted toolchain in $(pwd)/prefix/bin. Compilers for both C and C++ should have been built.

Running tests on the simulator

You can test your newly-built compiler with the simulator:

$ ./check.sh 2>&1 | tee check.log

There will be a number of failures: many of these are due to simulator bugs, and a few are compiler bugs. At present results from simulator testing are considerably worse than those from hardware testing (see below).

                === gcc Summary ===

# of expected passes            62075
# of unexpected failures        417
# of unexpected successes       6
# of expected failures          95
# of unsupported tests          1439

                === g++ Summary ===

# of expected passes            74899
# of unexpected failures        830
# of expected failures          253
# of unresolved testcases       3
# of unsupported tests          3730

Compiling stuff for the simulator

Try the standard "hello world" program:

#include <stdio.h>

int main(int argc, char* argv[])
{
  printf("Hello world!\n");
  return 0;
}
$ vc4-elf-gcc hello.c -O2 -T vc4-sim.ld -o hello
$ vc4-elf-objcopy -O binary hello hello.bin
$ resim/vc4emul/vc4emul hello.bin 0 0
Hello world!

Compiling stuff to run from SRAM

Console output uses an emulated mini-UART, so will work on real hardware also, if you have the right serial cable. To test that, use the vc4-sram.ld linker script (or see the "helloworld" directory alongside this README file):

$ vc4-elf-gcc hello.c -O2 -T vc4-sram.ld -o hello
$ vc4-elf-objcopy -O binary hello hello.bin
$ cp hello.bin /path/to/sdcard/bootcode.bin

Now plug in your serial cable, SD card and power, open a terminal emulator, and see the output. Note that there is only 128Kb of RAM to use if you compile code with this method.

Running code on hardware via serial cable/test stub

You can also run VC4 code using the full amount of SDRAM on a Raspberry Pi. I've mostly tested with a 1b board, but others may work too. You'll have to perform several additional steps to do this.

Firstly, obtain and build the rpi-open-firmware, and check out the gcc-teststub branch:

$ git clone https://github.com/christinaa/rpi-open-firmware
$ cd rpi-open-firmware
$ git checkout gcc-teststub

You need this toolchain, and also an ARM EABI bare-metal cross compiler. Build the code, and copy the resulting bootcode.bin to your SD card.

The gcc teststub uses the open firmware's SDRAM initialisation code, and executes a basic shell over the serial connection for downloading/running VC4 code (from that SDRAM). So, test programs can use the full amount of memory in the Pi, and you can run several programs successively without swapping SD cards. At present, the board is rebooted between each program invocation.

Next, install prerequisites (for the sx xmodem tool):

$ apt-get install lrzsz

Then build the host-side code that communicates with the test stub:

$ cd rpirun
$ ./compile.sh

Next, compile some code to run on the test stub:

$ vc4-elf-gcc hello.c -O2 -T vc4-teststub.ld -o hello

Lastly, plug in your USB serial/UART cable and SD card, turn on your Pi, and do:

$ rpirun/do-rpirun ./hello

Your program should be transferred over the serial cable, execute on the hardware, and send its (line-buffered) output back to your console. (The do-rpirun script is a wrapper that runs vc4-elf-objcopy to turn the ELF executable into a flat binary then runs the real rpirun program.)

It's also possible to communicate "manually" with the test stub via a terminal emulator (e.g. minicom). Commands (from the host to the test stub) are in the form of single characters, as follows:

  • ?: Query connection. Test stub should respond "OK.".

  • L: Load a file via XMODEM. The test stub will wait for the terminal emulator to start the transfer, and return to the shell when the transfer has completed.

  • G: Go. Execute the code in SDRAM. A "failsafe" is performed that just looks to see if the first instruction in the binary is the expected one before running code.

  • T: Initiate timeout countdown. This is currently fixed at 297 seconds (i.e., just under 5 minutes). This is used to catch programs that hang (and is used automatically by the GCC test harness), and reboots the board when it reaches zero.

  • R: Reset, reboots the board.

Running GCC tests via the test stub

Edit check.sh so that TARGETBOARD is set to vc4-teststub:

#TARGETBOARD=vc4-sim
TARGETBOARD=vc4-teststub

Then run check.sh as above. A test run with the C and C++ testsuites will take a number of hours, mostly due to the time taken to transfer binaries over the serial cable. Results should be along the lines of:

                === gcc Summary ===

# of expected passes            62382
# of unexpected failures        110
# of unexpected successes       6
# of expected failures          95
# of unsupported tests          1439

                === g++ Summary ===

# of expected passes            75643
# of unexpected failures        60
# of expected failures          253
# of unresolved testcases       3
# of unsupported tests          3743

These failures look mostly harmless - a number of them are due to apparent missing denormals or non-IEEE 754 conformant signed-zero handling in the floating-point hardware, for instance.

Thanks

Herman Hermitage for RE'ing stuff.

Kristina Brooks for the open firmware project.

Mark Marshall, Mathias Gottschlag and Tiernan Hubble for binutils bits.

David Given for GCC bits.

Mathias Gottschlag for resim.

plus probably loads of other people involved in the VideoCore4 reverse-engineering effort!

Can I use this to do XYZ with my Raspberry Pi?

Probably not without significant effort... good luck!

vc4-toolchain's People

Contributors

itszor avatar jriwanek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vc4-toolchain's Issues

Toolchain doesn't compile when following install instructions (Ubuntu 16.04)

The building process seems to generate invalid files and then try to build upon them.
Specifically, binutils-build/binutils/./syslex.c only contains :

main() { return 0; }

and this triggers a "main redefinition error".
But there are also some missing defines...

../../binutils-vc4/ld/ldlang.c:212:24: error: ‘SPECIAL’ undeclared (first use in this function)
   if (s->constraint != SPECIAL)

etc...

This happens with or without CGEN.

Here is the full build log (CGEN off) :
https://pastebin.com/3z8jtai4

Thanks in advance

[Feature Request] Vector Assembly Support

I had tried out this repo and find it quite useful to program the Scaler Core in the VPU.
For my application, I would like to inquire about feature for the Vector Core.

When will the Vector Assembly feature be enabled? Any plan now? Assembly should be enough for me.

Thanks.

A question about Building binutils

Dear Mr. Puppeh,

I am a new guy in this area and trying to building this toolchain according to your file "README" step by step . But when I build the compiler with: $ ./build-all.sh 2>&1 | tee build.log, it is always an error occurred. Here is the file "build.log"
build.log.

I have tried many methods in several days, but it all failed. So can you give me some advise for this?

Thank you very much for your kindly consideration!

Best regards,
Yours,
Shuai
Yale University

Do you plan to send these improvements upstream?

Hi. I would love to get the free raspberry pi firmware into Debian, but for that to happen the tools needed to build it need to be in Debian too. The easiest way to do that is to get the required fixes into the upstream projects. Do you plan to send these improvements to the upstream project?

What do I do about lots of scalar32 errors in check.sh?

check.zip
Tonight, I started from scratch again. I deleted the repo, did the recursive clone again, ran the build-all.sh (after commenting out the WITHCGEN), and finally the check.sh. I don't know enough to know what to look for in the 10992-line check.log, but the tail end of it lists:

# of expected passes            51826
# of unexpected failures        10752
# of unexpected successes       6
# of expected failures          98
# of unsupported tests          1564

Suggestions? Thanks! (I've zipped and attached check.log)

Wrong syntax for cgen?

Fails to build on Gentoo

...
make run-cgen arch=vc4 prefix=vc4 options= \
	archfile=../../binutils-vc4/opcodes/../cpu/vc4.cpu \
	opcfile=../../binutils-vc4/opcodes/../cpu/vc4.opc \
	extrafiles=
make[5]: Entering directory '/home/user/projects/vc4-toolchain/binutils-build/opcodes'
/bin/sh ../../binutils-vc4/opcodes/cgen.sh opcodes ../../binutils-vc4/opcodes "`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo \`which 2> /dev/null guile{,-}1.8\` ; fi` -l ../../binutils-vc4/opcodes/../cgen/guile.scm -s" \
  ../../binutils-vc4/opcodes/../cgen "-v" vc4 vc4 ../../binutils-vc4/opcodes/../cpu/vc4.cpu ../../binutils-vc4/opcodes/../cpu/vc4.opc \
  "" ""
../../binutils-vc4/opcodes/cgen.sh: line 99: -l: command not found
make[5]: *** [Makefile:1295: run-cgen] Error 127
make[5]: Leaving directory '/home/user/projects/vc4-toolchain/binutils-build/opcodes'
make[4]: *** [Makefile:1392: stamp-vc4] Error 2
make[4]: *** Waiting for unfinished jobs....

Compile Error on openSUSE

Not sure if it is my version of Guile or what is causing it. Maybe someone out there knows? I've tried to install guile-1.8 but to no avail. I might try to compile it under a virtual box with Debian if all else fails.

I am attaching my build log at the bottom.

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/opcodes -I. -I../../binutils-vc4/opcodes -I../bfd -I../../binutils-vc4/opcodes/../include -I../../binutils-vc4/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT dis-init.lo -MD -MP -MF .deps/dis-init.Tpo -c ../../binutils-vc4/opcodes/dis-init.c -o dis-init.o make[5]: Entering directory '/home/dustin/Development/vc4-toolchain/binutils-build/opcodes' /bin/sh ../../binutils-vc4/opcodes/cgen.sh opcodes ../../binutils-vc4/opcodes "if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi-l ../../binutils-vc4/opcodes/../cgen/guile.scm -s" \ ../../binutils-vc4/opcodes/../cgen "-v" vc4 vc4 ../../binutils-vc4/opcodes/../cpu/vc4.cpu ../../binutils-vc4/opcodes/../cpu/vc4.opc \ "" "" mv -f .deps/dis-init.Tpo .deps/dis-init.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/opcodes -I. -I../../binutils-vc4/opcodes -I../bfd -I../../binutils-vc4/opcodes/../include -I../../binutils-vc4/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT cgen-opc.lo -MD -MP -MF .deps/cgen-opc.Tpo -c -o cgen-opc.lo ../../binutils-vc4/opcodes/cgen-opc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/opcodes -I. -I../../binutils-vc4/opcodes -I../bfd -I../../binutils-vc4/opcodes/../include -I../../binutils-vc4/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT cgen-opc.lo -MD -MP -MF .deps/cgen-opc.Tpo -c ../../binutils-vc4/opcodes/cgen-opc.c -o cgen-opc.o ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/dustin/Development/vc4-toolchain/binutils-build/opcodes/../../binutils-vc4/opcodes/../cgen/guile.scm ;;; WARNING: compilation of /home/dustin/Development/vc4-toolchain/binutils-build/opcodes/../../binutils-vc4/opcodes/../cgen/guile.scm failed: ;;; ERROR: Syntax error: ;;; /home/dustin/Development/vc4-toolchain/binutils-build/opcodes/../../binutils-vc4/opcodes/../cgen/guile.scm:13:4: definition in expression context, where definitions are not allowed, in form (define (eval1 expr) (eval expr (current-module))) ice-9/psyntax.scm:1274:12: In procedure #<procedure deb050 (test then else)>: ice-9/psyntax.scm:1274:12: Syntax error: /home/dustin/Development/vc4-toolchain/binutils-build/opcodes/../../binutils-vc4/opcodes/../cgen/guile.scm:13:4: definition in expression context, where definitions are not allowed, in form (define (eval1 expr) (eval expr (current-module))) make[5]: *** [Makefile:1295: run-cgen] Error 1 make[5]: Leaving directory '/home/dustin/Development/vc4-toolchain/binutils-build/opcodes' make[4]: *** [Makefile:1392: stamp-vc4] Error 2 make[4]: *** Waiting for unfinished jobs.... mv -f .deps/cgen-opc.Tpo .deps/cgen-opc.Plo make[4]: Leaving directory '/home/dustin/Development/vc4-toolchain/binutils-build/opcodes' make[3]: *** [Makefile:1009: all-recursive] Error 1 make[3]: Leaving directory '/home/dustin/Development/vc4-toolchain/binutils-build/opcodes' make[2]: *** [Makefile:666: all] Error 2 make[2]: Leaving directory '/home/dustin/Development/vc4-toolchain/binutils-build/opcodes' make[1]: *** [Makefile:3003: all-opcodes] Error 2 make[1]: Leaving directory '/home/dustin/Development/vc4-toolchain/binutils-build' make: *** [Makefile:826: all] Error 2

Cheers!
build.zip

does not build in arm environment (qemu, raspbian jessie, ubuntu mate 16.04)

It builds fine in x64 jessie, it can compile https://github.com/christinaa/rpi-open-firmware and the result works on the pi, excellent!

However it does not build in

  1. raspbian chroot under qemu userspace emulation as per https://wiki.debian.org/RaspberryPi/qemu-user-static
  2. real latest raspbian on pi3 (gcc version same as in x64 jessie !?)
  3. ubuntu mate 16.04 on pi3 - newer gcc (5.4?)

the error is still the same, it fails building libgcc - there is error in configure stage

configure:3693: error: in /opt/vc4-toolchain/gcc-build/vc4-elf/libgcc': configure:3696: error: cannot compute suffix of object files: cannot compile Seeconfig.log' for more details.

I am attaching full build.log (see the end for the error) and also the gcc-build/vc4-elf/libgcc/config.log

Would be nice to have it working directly on the pi3 so I could quickly hack the open source firmware just with Pi3 and Zero.
vc4-toolchain-builderrors.zip

Support guile-2.0?

Since the debian lastest stable "stretch" source list only contain guile-2.0 instead of guile-1.8. But I got the syntax error when using guile-2.0. Do you have plan to port the binutils to support guile-2.0 syntax?

Unable to save all registers on stack

Not sure if this is seen as a bug or not. I can understand the logic behind the way it is so I really dont know if this should be closed without changes or not.

I wanted to do the following instruction (16 bit instruction 029f)
stm r0-r31, (--sp)

I am unable to directly do this. I can .ascii "\x9f\x02" but that is far less elegant. It appears the system registers do not have an alias allowing for this instruction to be assembled.

ubuntu 16.04 build error (with fix)

While following the directions in README.md I noticed that I needed additional packages, at least with Ubuntu 16.04.

apt-get install texinfo libgmp-dev libmpc-dev libmpfr-dev

compilation error (with gcc 12.2 ?)

Trying to build vc4-toolchain on archlinux (updated at 2022-09-17) with gcc 12.2 gives that error:

g++ -fno-PIE -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc-vc4/gcc -I../../gcc-vc4/gcc/. -I../../gcc-vc4/gcc/../include -I../../gcc-vc4/gcc/../libcpp/include  -I../../gcc-vc4/gcc/../libdecnumber -I../../gcc-vc4/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-vc4/gcc/../libbacktrace   -o graphds.o -MT graphds.o -MMD -MP -MF ./.deps/graphds.TPo ../../gcc-vc4/gcc/graphds.c
g++ -fno-PIE -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc-vc4/gcc -I../../gcc-vc4/gcc/. -I../../gcc-vc4/gcc/../include -I../../gcc-vc4/gcc/../libcpp/include  -I../../gcc-vc4/gcc/../libdecnumber -I../../gcc-vc4/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-vc4/gcc/../libbacktrace   -o graphite.o -MT graphite.o -MMD -MP -MF ./.deps/graphite.TPo ../../gcc-vc4/gcc/graphite.c
g++ -fno-PIE -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc-vc4/gcc -I../../gcc-vc4/gcc/. -I../../gcc-vc4/gcc/../include -I../../gcc-vc4/gcc/../libcpp/include  -I../../gcc-vc4/gcc/../libdecnumber -I../../gcc-vc4/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-vc4/gcc/../libbacktrace   -o graphite-isl-ast-to-gimple.o -MT graphite-isl-ast-to-gimple.o -MMD -MP -MF ./.deps/graphite-isl-ast-to-gimple.TPo ../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c: In function 'void ivs_params_clear(ivs_params&)':
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:114:7: error: 'isl_id_free' was not declared in this scope; did you mean 'isl_vec_free'?
  114 |       isl_id_free (it->first);
      |       ^~~~~~~~~~~
      |       isl_vec_free
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c: In member function 'tree_node* translate_isl_ast_to_gimple::gcc_expression_from_isl_ast_expr_id(tree, isl_ast_expr*, ivs_params&)':
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:322:3: error: 'isl_id_free' was not declared in this scope; did you mean 'isl_vec_free'?
  322 |   isl_id_free (tmp_isl_id);
      |   ^~~~~~~~~~~
      |   isl_vec_free
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c: In member function 'loop* translate_isl_ast_to_gimple::graphite_create_new_loop(edge, isl_ast_node*, loop_p, tree, tree, tree, ivs_params&)':
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:660:5: error: 'isl_id_free' was not declared in this scope; did you mean 'isl_vec_free'?
  660 |     isl_id_free (res->first);
      |     ^~~~~~~~~~~
      |     isl_vec_free
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c: In member function 'edge_def* translate_isl_ast_to_gimple::translate_isl_ast_for_loop(loop_p, isl_ast_node*, edge, tree, tree, tree, ivs_params&)':
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:700:53: error: 'isl_id_get_user' was not declared in this scope; did you mean 'isl_arg_user'?
  700 |       ast_build_info *for_info = (ast_build_info *) isl_id_get_user (id);
      |                                                     ^~~~~~~~~~~~~~~
      |                                                     isl_arg_user
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:703:7: error: 'isl_id_free' was not declared in this scope; did you mean 'isl_vec_free'?
  703 |       isl_id_free (id);
      |       ^~~~~~~~~~~
      |       isl_vec_free
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c: In member function 'edge_def* translate_isl_ast_to_gimple::translate_isl_ast_node_user(isl_ast_node*, edge, ivs_params&)':
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:907:31: error: 'isl_id_get_user' was not declared in this scope; did you mean 'isl_arg_user'?
  907 |   poly_bb_p pbb = (poly_bb_p) isl_id_get_user (name_id);
      |                               ^~~~~~~~~~~~~~~
      |                               isl_arg_user
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:913:3: error: 'isl_id_free' was not declared in this scope; did you mean 'isl_vec_free'?
  913 |   isl_id_free (name_id);
      |   ^~~~~~~~~~~
      |   isl_vec_free
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c: In function 'isl_id* ast_build_before_for(isl_ast_build*, void*)':
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:2894:19: error: 'isl_space_dim' was not declared in this scope; did you mean 'isl_space'?
 2894 |   int dimension = isl_space_dim (schedule_space, isl_dim_out);
      |                   ^~~~~~~~~~~~~
      |                   isl_space
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:2898:3: error: 'isl_space_free' was not declared in this scope; did you mean 'isl_vec_free'?
 2898 |   isl_space_free (schedule_space);
      |   ^~~~~~~~~~~~~~
      |   isl_vec_free
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:2899:16: error: 'isl_id_alloc' was not declared in this scope; did you mean 'isl_vec_alloc'?
 2899 |   isl_id *id = isl_id_alloc (isl_ast_build_get_ctx (build), "", for_info);
      |                ^~~~~~~~~~~~
      |                isl_vec_alloc
In file included from ../../gcc-vc4/gcc/hash-table.h:236,
                 from ../../gcc-vc4/gcc/coretypes.h:348,
                 from ../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:29:
../../gcc-vc4/gcc/vec.h: In instantiation of 'bool vec<T, va_heap, vl_ptr>::reserve(unsigned int, bool) [with T = std::pair<gphi*, gphi*>]':
../../gcc-vc4/gcc/vec.h:1515:3:   required from 'T* vec<T, va_heap, vl_ptr>::safe_push(const T&) [with T = std::pair<gphi*, gphi*>]'
../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:1877:38:   required from here
../../gcc-vc4/gcc/vec.h:1409:14: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<gphi*, gphi*>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
 1409 |       memcpy (m_vec->address (), oldvec->address (), sizeof (T) * oldsize);
      |       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12.2.0/bits/stl_algobase.h:64,
                 from /usr/include/c++/12.2.0/bits/stl_tree.h:63,
                 from /usr/include/c++/12.2.0/map:60,
                 from ../../gcc-vc4/gcc/system.h:227,
                 from ../../gcc-vc4/gcc/graphite-isl-ast-to-gimple.c:28:
/usr/include/c++/12.2.0/bits/stl_pair.h:185:12: note: 'struct std::pair<gphi*, gphi*>' declared here
  185 |     struct pair
      |            ^~~~
make[2]: *** [Makefile:1084: graphite-isl-ast-to-gimple.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../../gcc-vc4/gcc/gimplify.c: In function 'void gimplify_adjust_omp_clauses(gimple**, gimple_seq, tree_node**, tree_code)':
../../gcc-vc4/gcc/gimplify.c:7994:58: warning: bitwise comparison always evaluates to true [-Wtautological-compare]
 7994 |                             && (n->value & GOVD_WRITTEN) != 1)
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~
../../gcc-vc4/gcc/gimplify.c: In function 'int goa_stabilize_expr(tree_node**, gimple**, tree, tree)':
../../gcc-vc4/gcc/gimplify.c:9895:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
 9895 |           saw_lhs |= goa_stabilize_expr (&TREE_OPERAND (expr, 1), pre_p,
      |           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 9896 |                                          lhs_addr, lhs_var);
      |                                          ~~~~~~~~~~~~~~~~~~
../../gcc-vc4/gcc/gimplify.c:9897:9: note: here
 9897 |         case TRUTH_NOT_EXPR:
      |         ^~~~
../../gcc-vc4/gcc/gimplify.c:9881:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
 9881 |       saw_lhs |= goa_stabilize_expr (&TREE_OPERAND (expr, 1), pre_p, lhs_addr,
      |       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 9882 |                                      lhs_var);
      |                                      ~~~~~~~~
../../gcc-vc4/gcc/gimplify.c:9883:5: note: here
 9883 |     case tcc_unary:
      |     ^~~~
../../gcc-vc4/gcc/gimplify.c: In function 'gimplify_status gimplify_asm_expr(tree_node**, gimple**, gimple**)':
../../gcc-vc4/gcc/gimplify.c:5242:32: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
 5242 |               sprintf (buf, "%d", i);
      |                                ^
../../gcc-vc4/gcc/gimplify.c:5242:23: note: 'sprintf' output between 2 and 11 bytes into a destination of size 10
 5242 |               sprintf (buf, "%d", i);
      |               ~~~~~~~~^~~~~~~~~~~~~~
rm gfdl.pod gcc.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod
make[2]: Leaving directory '/home/solstice/prog/dvcs/vc4-toolchain/gcc-build/gcc'
make[1]: *** [Makefile:4108: all-gcc] Error 2
make[1]: Leaving directory '/home/solstice/prog/dvcs/vc4-toolchain/gcc-build'
make: *** [Makefile:857: all] Error 2

Compile Failure. (debian 10.1)

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/bfd -I. -I../../binutils-vc4/bfd -I../../binutils-vc4/bfd/../include -DHAVE_bfd_elf32_vc4_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR="/home/demo/rpi-open-firmware/vc4-toolchain/prefix/bin" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT cpu-vc4.lo -MD -MP -MF .deps/cpu-vc4.Tpo -c ../../binutils-vc4/bfd/cpu-vc4.c -o cpu-vc4.o
mv -f .deps/elf32-gen.Tpo .deps/elf32-gen.Plo
mv -f .deps/cpu-vc4.Tpo .deps/cpu-vc4.Plo
/bin/bash ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -rpath /home/demo/rpi-open-firmware/vc4-toolchain/prefix/armv7l-unknown-linux-gnueabihf/vc4-elf/lib -release cat libtool-soversion -static-libstdc++ -static-libgcc -o libbfd.la archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo dwarf2.lo simple.lo compress.lo verilog.lo cat ofiles -lz
libtool: link: ar rc .libs/libbfd.a archive.o archures.o bfd.o bfdio.o bfdwin.o cache.o coffgen.o corefile.o format.o init.o libbfd.o opncls.o reloc.o section.o syms.o targets.o hash.o linker.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o merge.o dwarf2.o simple.o compress.o verilog.o elf32-vc4.o elf32.o elf.o elflink.o elf-attrs.o elf-strtab.o elf-eh-frame.o dwarf1.o elf32-gen.o cpu-vc4.o
libtool: link: ranlib .libs/libbfd.a
libtool: link: ( cd ".libs" && rm -f "libbfd.la" && ln -s "../libbfd.la" "libbfd.la" )
libtooldir=/bin/bash ./libtool --config | sed -n -e 's/^objdir=//p';
if [ -f $libtooldir/libbfd.a ]; then
cp $libtooldir/libbfd.a libbfd.tmp;
ranlib libbfd.tmp;
/bin/bash ../../binutils-vc4/bfd/../move-if-change libbfd.tmp libbfd.a;
else true; fi
touch stamp-lib
make[4]: Leaving directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build/bfd'
make[3]: Leaving directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build/bfd'
make[2]: Leaving directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build/bfd'
make[2]: Entering directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build/opcodes'
make all-recursive
make[3]: Entering directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build/opcodes'
Making all in .
make[4]: Entering directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build/opcodes'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/opcodes -I. -I../../binutils-vc4/opcodes -I../bfd -I../../binutils-vc4/opcodes/../include -I../../binutils-vc4/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT dis-buf.lo -MD -MP -MF .deps/dis-buf.Tpo -c -o dis-buf.lo ../../binutils-vc4/opcodes/dis-buf.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/opcodes -I. -I../../binutils-vc4/opcodes -I../bfd -I../../binutils-vc4/opcodes/../include -I../../binutils-vc4/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT disassemble.lo -MD -MP -MF .deps/disassemble.Tpo -c -o disassemble.lo -DARCH_vc4 ../../binutils-vc4/opcodes/disassemble.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/opcodes -I. -I../../binutils-vc4/opcodes -I../bfd -I../../binutils-vc4/opcodes/../include -I../../binutils-vc4/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT dis-buf.lo -MD -MP -MF .deps/dis-buf.Tpo -c ../../binutils-vc4/opcodes/dis-buf.c -o dis-buf.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/opcodes -I. -I../../binutils-vc4/opcodes -I../bfd -I../../binutils-vc4/opcodes/../include -I../../binutils-vc4/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT disassemble.lo -MD -MP -MF .deps/disassemble.Tpo -c -DARCH_vc4 ../../binutils-vc4/opcodes/disassemble.c -o disassemble.o
mv -f .deps/disassemble.Tpo .deps/disassemble.Plo
mv -f .deps/dis-buf.Tpo .deps/dis-buf.Plo
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/opcodes -I. -I../../binutils-vc4/opcodes -I../bfd -I../../binutils-vc4/opcodes/../include -I../../binutils-vc4/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT dis-init.lo -MD -MP -MF .deps/dis-init.Tpo -c -o dis-init.lo ../../binutils-vc4/opcodes/dis-init.c
make[4]: *** No rule to make target '../../binutils-vc4/opcodes/../cgen/desc.scm', needed by 'stamp-vc4'. Stop.
make[4]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils-vc4/opcodes -I. -I../../binutils-vc4/opcodes -I../bfd -I../../binutils-vc4/opcodes/../include -I../../binutils-vc4/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT dis-init.lo -MD -MP -MF .deps/dis-init.Tpo -c ../../binutils-vc4/opcodes/dis-init.c -o dis-init.o
mv -f .deps/dis-init.Tpo .deps/dis-init.Plo
make[4]: Leaving directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build/opcodes'
make[3]: *** [Makefile:1009: all-recursive] Error 1
make[3]: Leaving directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build/opcodes'
make[2]: *** [Makefile:666: all] Error 2
make[2]: Leaving directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build/opcodes'
make[1]: *** [Makefile:3003: all-opcodes] Error 2
make[1]: Leaving directory '/home/demo/rpi-open-firmware/vc4-toolchain/binutils-build'
make: *** [Makefile:826: all] Error 2

I can get more logs, or reproduce on demand. building on debian on arm.

check.sh cannot load vc4-teststub

$ uname -a
Linux jobs 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux

Here's the output from the check.sh

r=`${PWDCMD-pwd}`; export r; \
s=`cd ../gcc-vc4; ${PWDCMD-pwd}`; export s; \
FLEX="flex"; export FLEX; LEX="flex"; export LEX; BISON="bison"; export BISON; YACC="bison -y"; export YACC; M4="m4"; export M4; SED="/bin/sed"; export SED; AWK="gawk"; export AWK; MAKEINFO="makeinfo"; export MAKEINFO; CC="gcc"; export CC; ADA_CFLAGS=""; export ADA_CFLAGS; CFLAGS="-g -O2"; export CFLAGS; CONFIG_SHELL="/bin/bash"; export CONFIG_SHELL; CXX="g++"; export CXX; CXXFLAGS="-g -O2"; export CXXFLAGS; GCJ=""; export GCJ; GFORTRAN=""; export GFORTRAN; GOC=""; export GOC; AR="ar"; export AR; AS="as"; export AS; CC_FOR_BUILD="gcc"; export CC_FOR_BUILD; DLLTOOL="dlltool"; export DLLTOOL; LD="ld"; export LD; LDFLAGS="-static-libstdc++ -static-libgcc "; export LDFLAGS; NM="nm"; export NM; RANLIB="ranlib"; export RANLIB; WINDRES="windres"; export WINDRES; WINDMC="windmc"; export WINDMC; OBJCOPY=""; export OBJCOPY; OBJDUMP="objdump"; export OBJDUMP; READELF="readelf"; export READELF; AR_FOR_TARGET="/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/ar"; export AR_FOR_TARGET; AS_FOR_TARGET="/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/as"; export AS_FOR_TARGET; GCC_FOR_TARGET=" $r/./gcc/xgcc -B$r/./gcc/"; export GCC_FOR_TARGET; LD_FOR_TARGET="/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/ld"; export LD_FOR_TARGET; NM_FOR_TARGET="/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/nm"; export NM_FOR_TARGET; OBJDUMP_FOR_TARGET="/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/objdump"; export OBJDUMP_FOR_TARGET; OBJCOPY_FOR_TARGET="/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/objcopy"; export OBJCOPY_FOR_TARGET; RANLIB_FOR_TARGET="/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/ranlib"; export RANLIB_FOR_TARGET; READELF_FOR_TARGET="vc4-elf-readelf"; export READELF_FOR_TARGET; TOPLEVEL_CONFIGURE_ARGUMENTS="../gcc-vc4/configure --target=vc4-elf --prefix=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix --disable-nls --disable-ssp --enable-languages=c --disable-decimal-float --disable-threads --disable-libatomic --disable-libitm --disable-libsanitizer --disable-libquadmath --disable-lto --enable-sjlj-exceptions"; export TOPLEVEL_CONFIGURE_ARGUMENTS; HOST_LIBS=""; export HOST_LIBS; GMPLIBS="-lmpc -lmpfr -lgmp"; export GMPLIBS; GMPINC=""; export GMPINC; ISLLIBS="-lisl"; export ISLLIBS; ISLINC=""; export ISLINC; LIBELFLIBS="@libelflibs@"; export LIBELFLIBS; LIBELFINC="@libelfinc@"; export LIBELFINC; LD_LIBRARY_PATH=`echo "$LD_LIBRARY_PATH" | sed 's,::*,:,g;s,^:*,,;s,:*$,,'`; export LD_LIBRARY_PATH; \
(cd gcc && make "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH" "TARGET_SUBDIR=vc4-elf" "bindir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/bin" "datadir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/share" "exec_prefix=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix" "includedir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/include" "datarootdir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/share" "docdir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/share/doc/" "infodir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/share/info" "pdfdir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/share/doc/" "htmldir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/share/doc/" "libdir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/lib" "libexecdir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/libexec" "lispdir=" "localstatedir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/var" "mandir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/share/man" "oldincludedir=/usr/include" "prefix=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix" "sbindir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/sbin" "sharedstatedir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/com" "sysconfdir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/etc" "tooldir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf" "build_tooldir=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf" "target_alias=vc4-elf" "AWK=gawk" "BISON=bison" "CC_FOR_BUILD=gcc" "CFLAGS_FOR_BUILD=-g -O2" "CXX_FOR_BUILD=g++" "EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS_FOR_BUILD=" "LEX=flex" "M4=m4" "MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=--target_board=vc4-teststub " "SED=/bin/sed" "SHELL=/bin/bash" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=-gnatpg' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-g -O2" "BOOT_LDFLAGS=" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "STAGE1_CHECKING=--enable-checking=yes,types" "STAGE1_LANGUAGES=c" "GNATBIND=gnatbind" "GNATMAKE=gnatmake" "AR_FOR_TARGET=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/ar" "AS_FOR_TARGET=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/as" "CC_FOR_TARGET= $r/./gcc/xgcc -B$r/./gcc/" "CFLAGS_FOR_TARGET=-g -O2" "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-g -O2" "DLLTOOL_FOR_TARGET=vc4-elf-dlltool" "FLAGS_FOR_TARGET=-B/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/ -B/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/lib/ -isystem /home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/include -isystem /home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/sys-include" "GCJ_FOR_TARGET= vc4-elf-gcj" "GFORTRAN_FOR_TARGET= vc4-elf-gfortran" "GOC_FOR_TARGET= vc4-elf-gccgo" "GOCFLAGS_FOR_TARGET=-O2 -g" "LD_FOR_TARGET=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/ld" "LIPO_FOR_TARGET=vc4-elf-lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2" "LIBCXXFLAGS_FOR_TARGET=-g -O2 -fno-implicit-templates" "NM_FOR_TARGET=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/nm" "OBJDUMP_FOR_TARGET=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/objdump" "OBJCOPY_FOR_TARGET=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/objcopy" "RANLIB_FOR_TARGET=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/ranlib" "READELF_FOR_TARGET=vc4-elf-readelf" "STRIP_FOR_TARGET=/home/ubuntourist/github/HacDC/vc4-toolchain/prefix/vc4-elf/bin/strip" "WINDRES_FOR_TARGET=vc4-elf-windres" "WINDMC_FOR_TARGET=vc4-elf-windmc" "BUILD_CONFIG=" "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=false" "STAGE1_CFLAGS=-g" "STAGE1_CXXFLAGS=-g -O2" "STAGE1_TFLAGS=" "STAGE2_CFLAGS=-g -O2" "STAGE2_CXXFLAGS=-g -O2" "STAGE2_TFLAGS=" "STAGE3_CFLAGS=-g -O2" "STAGE3_CXXFLAGS=-g -O2" "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-g -O2" "STAGE4_CXXFLAGS=-g -O2" "STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-g -O2 -fprofile-generate" "STAGEprofile_CXXFLAGS=-g -O2" "STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -fprofile-use" "STAGEfeedback_CXXFLAGS=-g -O2" "STAGEfeedback_TFLAGS=" "CXX_FOR_TARGET= vc4-elf-c++" "TFLAGS=" "CONFIG_SHELL=/bin/bash" "MAKEINFO=makeinfo --split-size=5000000"  'AR=ar' 'AS=as' 'CC=gcc' 'CXX=g++' 'DLLTOOL=dlltool' 'GCJ=' 'GFORTRAN=' 'GOC=' 'LD=ld' 'LIPO=lipo' 'NM=nm' 'OBJDUMP=objdump' 'RANLIB=ranlib' 'READELF=readelf' 'STRIP=strip' 'WINDRES=windres' 'WINDMC=windmc' "GCC_FOR_TARGET= $r/./gcc/xgcc -B$r/./gcc/" "`echo 'STMP_FIXPROTO=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "`echo 'LIMITS_H_TEST=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" check-gcc);
make[1]: Entering directory '/home/ubuntourist/github/HacDC/vc4-toolchain/gcc-build-2/gcc'
rm -rf testsuite/gcc-parallel
make[2]: Entering directory '/home/ubuntourist/github/HacDC/vc4-toolchain/gcc-build-2/gcc'
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd ../../gcc-vc4/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
if [ -n "" ] \
   && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \
   && [ -f testsuite/gcc-parallel/finished ]; then \
  rm -rf testsuite/gcc; \
else \
  cd testsuite/gcc; \
  rm -f tmp-site.exp; \
  sed '/set tmpdir/ s|testsuite$|testsuite/gcc|' \
    < ../../site.exp > tmp-site.exp; \
  /bin/bash ${srcdir}/../move-if-change tmp-site.exp site.exp; \
  EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
  if [ -f ${rootme}/../expect/expect ] ; then  \
    TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \
    export TCL_LIBRARY ; \
  fi ; \
  `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gcc --target_board=vc4-teststub ; \
  if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \
    touch ${rootme}/testsuite/gcc-parallel/finished; \
  fi ; \
fi )
Test run by ubuntourist on Mon Oct 17 23:40:15 2016
Target is vc4-unknown-elf
Host   is x86_64-pc-linux-gnu

        === gcc tests ===

Schedule of variations:
    vc4-teststub

Running target vc4-teststub
ERROR: couldn't load description file for vc4-teststub
make[2]: Leaving directory '/home/ubuntourist/github/HacDC/vc4-toolchain/gcc-build-2/gcc'
make[1]: Leaving directory '/home/ubuntourist/github/HacDC/vc4-toolchain/gcc-build-2/gcc'
Copying results to testresults-2016-10-17-4


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.