From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasilii Kolobkov Subject: Issues with Haskell's ghc Date: Mon, 01 Jul 2019 19:18:09 +0200 Message-ID: <877e91vfla.fsf@orangeshoelaces.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46505) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi3Gh-0003Cp-4J for help-guix@gnu.org; Mon, 01 Jul 2019 16:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi3Gd-0002l0-Vj for help-guix@gnu.org; Mon, 01 Jul 2019 16:51:17 -0400 Received: from orangeshoelaces.net ([71.19.146.160]:23113) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hi3Gd-0002ii-L9 for help-guix@gnu.org; Mon, 01 Jul 2019 16:51:15 -0400 Received: from orangeshoelaces.net (localhost [127.0.0.1]) by orangeshoelaces.net (OpenSMTPD) with ESMTP id 7918b1cc for ; Mon, 1 Jul 2019 10:17:50 -0700 (PDT) Received: by orangeshoelaces.net (OpenSMTPD) with ESMTPSA id f4fdf882 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Mon, 1 Jul 2019 10:17:49 -0700 (PDT) Received: by refuseclack (Exim) for help-guix@gnu.org; Mon, 01 Jul 2019 19:18:09 +0200 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hello guix! I've run aground with Haskell's ghc (interpreter works fine) - running ghc on a basic hello world program fails. I identified couple issues: - Include directory for linux headers wasn't passed to gcc (`C_INCLUDE_PATH=/gnu/... ghc` fixed it) - Lib C's crti.o and crt1.o where not found during linking (fixed with `LIBRARY_PATH=/gnu/... ghc`) - libgmp and libffi aren't passed to linker's -rpath If anybody uses Haskell here, i'd appreciate any insights on what might be the root cause here. Thanks!