From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53957 invoked by alias); 23 Aug 2019 14:11:06 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 53949 invoked by uid 89); 23 Aug 2019 14:11:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=cloned, anyhow, HX-Received:a8a, H*F:D*br X-HELO: mail-io1-f47.google.com Received: from mail-io1-f47.google.com (HELO mail-io1-f47.google.com) (209.85.166.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 Aug 2019 14:11:04 +0000 Received: by mail-io1-f47.google.com with SMTP id t6so20393273ios.7 for ; Fri, 23 Aug 2019 07:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp-br.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=AKF7y4Up6EQA9gNNlYzFk3/JDUft1DTcO6Kkt7RgfOw=; b=P9IUzBSfE+sU2SV4S//V478qLUYIURCwBkgrpxMRcDaSKPH61sb3KV2zSB5gFX8zFz QUEpoLQEHOl0qRGzAX3BH3EA8J8jI/HmUYQne4/nARrhCklcdKA7GKa2Wad6pts8Fb/r afdXds3ppv9D9QoUjXtolgbdQajmTPB++Uo+iqesI5PKH+3QaZ9xR3laBinmrdEz4lwJ UbMkbo86Z6Ze2Yi0lmbAGZptKpweXy4FI8WVAg6TSIHLwwgDJzZD9c/9VysFl/Ty8hRb 8OkEnrZlJrg3B+OTdrbpOUrlhf/xFEOK5y+CB+UiFERXqiaZENhz4NIebqk8POSREaBr 5AYA== MIME-Version: 1.0 From: Mateus Carmo Martins de Freitas Barbosa Date: Fri, 23 Aug 2019 14:11:00 -0000 Message-ID: Subject: Rust front-end To: gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00197.txt.bz2 I'm interested in working on the Rust front-end for GCC. So far I've cloned the repository and tried to compile it as described in . I've compiled it outside of the gcc directory tree with $ ../gccrs/configure --prefix=/opt/gccrs --enable-languages=rust --disable-multilib --disable-bootstrap $ make But this produces some linking errors for functions that were called but never defined: /usr/bin/ld: rust/rust-lang.o: in function `rust_langhook_handle_option(unsigned long, char const*, long, int, unsigned int, cl_option_handlers const*)': /home/baal/gccrs-build/gcc/../../gccrs/gcc/rust/rust-lang.c:185: undefined reference to `rust_add_search_path(char const*)' /usr/bin/ld: /home/baal/gccrs-build/gcc/../../gccrs/gcc/rust/rust-lang.c:213: undefined reference to `rust_add_search_path(char const*)' /usr/bin/ld: /home/baal/gccrs-build/gcc/../../gccrs/gcc/rust/rust-lang.c:217: undefined reference to `rust_add_search_path(char const*)' /usr/bin/ld: rust/rust-lang.o: in function `rust_langhook_post_options': /home/baal/gccrs-build/gcc/../../gccrs/gcc/rust/rust-lang.c:245: undefined reference to `rust_add_search_path(char const*)' /usr/bin/ld: rust/rust-lang.o: in function `rust_langhook_parse_file()': /home/baal/gccrs-build/gcc/../../gccrs/gcc/rust/rust-lang.c:282: undefined reference to `rust_parse_input_files(char const**, unsigned int, bool)' /usr/bin/ld: rust/rust-lang.o:/home/baal/gccrs-build/gcc/./gtype-rust.h:24: undefined reference to `rust_non_zero_struct' collect2: error: ld returned 1 exit status make[2]: *** [../../gccrs/gcc/rust/Make-lang.in:61: rust1] Error 1 make[2]: Leaving directory '/home/baal/gccrs-build/gcc' make[1]: *** [Makefile:4319: all-gcc] Error 2 It's doesn't really help that the latest commit message (3b1e76d808b9725e6ef439ae534011370e65fb85) says simply "x" and the previous one, only "more". Anyhow, I'm left with those questions: - Considering I'm new to gcc development, what should I read before getting into this? - Is there any developer in particular I should talk to? - Is there anything else I need to know before getting started?