
#9982: cross building integer-gmp is running target program on build host -------------------------------------+------------------------------------- Reporter: newsham | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.8.4 Resolution: | Keywords: Operating System: Linux | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by newsham): by the way, the error says the file does not exist, but it actually does (the error is probably coming from ld.so failing to load link deps?): $ file /u1/home/newsham/src/genode/ghc-7.8.4/inplace/lib/bin/mkGmpDerivedConstants /u1/home/newsham/src/genode/ghc-7.8.4/inplace/lib/bin/mkGmpDerivedConstants: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped objdump reveals that it is linked against my target (genode) and not the build host (linux): $ objdump -p /u1/home/newsham/src/genode/ghc-7.8.4/inplace/lib/bin/mkGmpDerivedConstants|grep libc.lib NEEDED /u1/home/newsham/src/genode/novaBox/var/libcache/libc/libc.lib.so -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9982#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler