Build L4Re on amd64

Christian Helmuth christian.helmuth at genode-labs.com
Mon Dec 19 23:15:49 CET 2011


Hi,

On Mon, Dec 19, 2011 at 10:14:48PM +0100, Adam Lackorzynski wrote:
> Where is it failing?

Just today, I had to apply the following patch on Ubuntu 11.10 64-bit
fixing unresolved reference to dlsym.

--- l4/tool/gendep/Makefile	(revision 38)
+++ l4/tool/gendep/Makefile	(working copy)
@@ -22,7 +22,7 @@
 
 ifneq ($(filter linux freebsd,$(HOST_SYSTEM)),)
 LIB     := $(LIB32) $(LIB64)
-LIBDL-linux := -ldl
+LIBDL-linux := -Wl,--no-as-needed -ldl
 cmd_link = $(HOST_CC) -m$(2) -shared -Wl,-soname,$(1) $(LIBDL-$(HOST_SYSTEM)) -o $(1)
 else
 ifeq ($(HOST_SYSTEM),darwin)

Greets
-- 
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/ · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth




More information about the l4-hackers mailing list