I'm trying to compile the new toolchain using tool/tool_chain x86.
However, it gives the following error:
configuring bootstrap gcc...
The following languages will be built: c,ada,c++,lto
*** This configuration is not supported in the following subdirectories:
target-libquadmath gotools target-libgfortran target-libgo
target-libffi target-zlib target-libjava target-libobjc target-libgomp
target-libcilkrts target-liboffloadmic target-libatomic target-libitm
target-libsanitizer target-libmpx target-libssp target-boehm-gc
(Any other directories should still work fine.)
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find crt1.o: No such file or directory
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find crti.o: No such file or directory
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching
for -lgcc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lgcc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so when
searching for -lgcc_s
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lgcc_s
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching
for -lgcc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lgcc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so when
searching for -lgcc_s
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lgcc_s
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure: error: I suspect your system does not have 32-bit development
libraries (libc and headers). If you have them, rerun configure with
--enable-multilib. If you do not have them, and want to build a
64-bit-only compiler, rerun configure with --disable-multilib.
I don't need the 32 bit stuff. However, I have no idea in which
configure scripts this should be put. What do I need to do to build the
toolchain for 64 bit?
--
Met vriendelijke groet / kind regards,
Boris Mulder
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands
+31 35 631 3253 (office)