From mboxrd@z Thu Jan 1 00:00:00 1970 From: Formbi Subject: libgccjit and gccemacs Date: Sun, 15 Mar 2020 17:30:23 +0000 Message-ID: <4q-rAt8E70aq8jBkE0yHnoEnOsu2z3Nj6us-JZ4yjQVShYlYXPEKWInVJVGX0KoSwsY9PpkjTKhMahJem4Vw3kUV52CAtc_yf1DOtVQX53w=@protonmail.com> Reply-To: Formbi Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48672) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDX5x-0006xP-42 for guix-devel@gnu.org; Sun, 15 Mar 2020 13:30:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDX5u-0001Db-Sy for guix-devel@gnu.org; Sun, 15 Mar 2020 13:30:36 -0400 Received: from mail-40130.protonmail.ch ([185.70.40.130]:16835) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDX5u-00014D-3X for guix-devel@gnu.org; Sun, 15 Mar 2020 13:30:34 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: "guix-devel@gnu.org" Hello! I'd like to make gccemacs work in Guix. Joseph LaFreniere made this libgccj= it package: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40045 and I made this: https://termbin.com/06cmr When I try to build gccemacs, I'm getting errors like this: ld: cannot find crtbeginS.o: No such file or directory ld: cannot find -lgcc ld: cannot find -lgcc libgccjit.so: error: error invoking gcc driver This seems to be connected to this problem: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87808 but I don't know how to fix this. I tried adding gcc-toolchain to inputs of libgccjit and gccemacs, but it didn't help.