Re: tool_chain for 64 bit

2017-05-22 Thread Boris Mulder
This does it, thanks!


On 22-05-17 14:11, Christian Prochaska wrote:
> Hi Boris,
>
> On 22.05.2017 12:07, Boris Mulder wrote:
>> I'm trying to compile the new toolchain using tool/tool_chain x86.
>> However, it gives the following error:
> does the attached patch help?
>
> It might be necessary to delete the tool chain build directory before
> running the tool_chain script again.
>
> Christian
>
> tool_chain_bootstrap_disable_multilib.patch
>
>
> disable multilib support for the bootstrap tool chain
>
> From: Christian Prochaska 
>
>
> ---
>  tool/tool_chain |3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tool/tool_chain b/tool/tool_chain
> index 4b466c1..dc5ebed 100755
> --- a/tool/tool_chain
> +++ b/tool/tool_chain
> @@ -184,7 +184,8 @@ export MAKEFLAGS
>  endif
>  
>  COMMON_BOOTSTRAP_CONFIG = $(CONFIG_QUIET) \
> -  --prefix=$(LOCAL_BOOTSTRAP_INSTALL_LOCATION)
> +  --prefix=$(LOCAL_BOOTSTRAP_INSTALL_LOCATION) \
> +  --disable-multilib
>  
>  BINUTILS_BOOTSTRAP_CONFIG += $(COMMON_BOOTSTRAP_CONFIG)
>  
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> ___
> genode-main mailing list
> genode-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main

-- 

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)

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


Re: tool_chain for 64 bit

2017-05-22 Thread Christian Prochaska
Hi Boris,

On 22.05.2017 12:07, Boris Mulder wrote:
> I'm trying to compile the new toolchain using tool/tool_chain x86.
> However, it gives the following error:

does the attached patch help?

It might be necessary to delete the tool chain build directory before
running the tool_chain script again.

Christian
disable multilib support for the bootstrap tool chain

From: Christian Prochaska 


---
 tool/tool_chain |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tool/tool_chain b/tool/tool_chain
index 4b466c1..dc5ebed 100755
--- a/tool/tool_chain
+++ b/tool/tool_chain
@@ -184,7 +184,8 @@ export MAKEFLAGS
 endif
 
 COMMON_BOOTSTRAP_CONFIG = $(CONFIG_QUIET) \
-  --prefix=$(LOCAL_BOOTSTRAP_INSTALL_LOCATION)
+  --prefix=$(LOCAL_BOOTSTRAP_INSTALL_LOCATION) \
+  --disable-multilib
 
 BINUTILS_BOOTSTRAP_CONFIG += $(COMMON_BOOTSTRAP_CONFIG)
 
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


tool_chain for 64 bit

2017-05-22 Thread Boris Mulder
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)


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main