From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by sourceware.org (Postfix) with ESMTPS id 949753858405 for ; Wed, 30 Mar 2022 09:32:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 949753858405 Received: by mail-oi1-x230.google.com with SMTP id w127so21500157oig.10 for ; Wed, 30 Mar 2022 02:32:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iE1IUDC8CqVibqmY1+uMv/Q0JppOdlgCfSvSI7aw38Y=; b=WwJApvcW2P0q5WR/JlCEldjuhxqiFDDVzuGN7C4PTQ5giQB1UFaqpEniP2ihSbLUsV RapiEkcdiSP0j2f5dmJtbFKjHwgSvglc2mbvhCejl+Cb9xqI3WCEqrgqTVL5mka7+tB9 5GEDS8TFxu/3soh3vR8knpe+hZXFdxY0nHfVZ/3x+aK56GN/Q/amgcOVZSIFrWukidGz UG2pmQLGvadoP6ffs1Z7tj+u667UOAgU5az9T2BXHb9yC57jC9b6U1i7GZfs8ecBOf3n ufn7baOP5Hz4UHXI45Elo4KC1llnjQ8QsrL/y9s8mlnZK1M9858bcriu43GDXXrtgpdV GKrA== X-Gm-Message-State: AOAM533rGgmeGNNKL4DFZM3dOqGNSJF+sb69sPQR1WU2U6L9mu6wSOq1 Dc1pZHWARtcXayBoyt2pcC4LG7B/Wv+CB6R7vtSq3YW25/FlXQ== X-Google-Smtp-Source: ABdhPJxsPCvj4vy1jAfEmwx9EZCMFebCZiWjkEXG/TyWc42hyAap3aGut9crOJh/ljeg0TsPTQcrLMGcEP0S/D5hdv4= X-Received: by 2002:a05:6808:47:b0:2ec:bddc:c677 with SMTP id v7-20020a056808004700b002ecbddcc677mr1333367oic.250.1648632735850; Wed, 30 Mar 2022 02:32:15 -0700 (PDT) MIME-Version: 1.0 References: <12a5e21f1432b767709e423315fb8081e4e447bd.camel@mengyan1223.wang> In-Reply-To: <12a5e21f1432b767709e423315fb8081e4e447bd.camel@mengyan1223.wang> From: Zopolis0 Date: Wed, 30 Mar 2022 20:32:04 +1100 Message-ID: Subject: Re: Multiple descriptions for fassert in gcc/d/lang.opt and gcc/java/lang.opt To: Xi Ruoyao Cc: gcc-help@gcc.gnu.org X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2022 09:32:18 -0000 No project, just me :p I was asking in gcc-help because this isn't an error related to gcj specifically, as it applies to any scenarios where there are multiple definitions for the same thing in different lang.opt files. I've gotten everything else to compile (bar libjava, haven't started that yet) with a hack commenting out one of the definitions though, so I'm wondering about the best way to resolve this conflict. On Wed, Mar 30, 2022 at 2:41 AM Xi Ruoyao wrote: > On Tue, 2022-03-29 at 19:11 +1100, Zopolis0 via Gcc-help wrote: > > While trying to compile gcc with gcj re-added, it breaks on there being > > multiple declarations of fassert in gcc/d/lang.opt and gcc/java/lang.opt. > > Is there a project adding gcj back to GCC? > > If yes, it's better to discuss in gcc@gcc.gnu.org. gcc-help is > generally for "help in building or using GCC." > > Otherwise, you can't just inject some code died five years ago into the > current GCC tree and expect it to work. > -- > Xi Ruoyao > School of Aerospace Science and Technology, Xidian University >