From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by sourceware.org (Postfix) with ESMTPS id 3BF2D3858C52 for ; Wed, 18 May 2022 10:58:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3BF2D3858C52 Received: by mail-wm1-x333.google.com with SMTP id o12-20020a1c4d0c000000b00393fbe2973dso2969649wmh.2 for ; Wed, 18 May 2022 03:58:04 -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=rvGP4o11dmrzHXqf8+BjfDFDpjJDUhbqNtrUb5mCUxI=; b=b91ooHUEll7DBkOXHIl+bJHKSBD+6Pt8OX1523+AB78iZoB/S7edMixUD2PmtiEKBV HSRYLrXzN7MZ2QoG9bR0SIXUaQY090pucNShTXsq+JyaJnOud7II5wy3anUrtE5IEd8i aW36PHN/1/Rf7k9bbXpkli5qB/vDOEsxyd+2nj1y4uPWyJAYkPTTo+o9jNuESnQGOtCy a68GWGCQgIZ/Xyr0vcuMy3S5oWOM9/BZbiPYHGAhF2NQ5ds/uUsNpY5NMd4oZaFM7KBy 62rP722gAxh8mssHiM3BXK7EKg2SU6KW1EntcsaKafhi+NkwBAqs/Mpho7A/wtWtNtx2 0nVg== X-Gm-Message-State: AOAM531FRN1OeWkVM27QIvaqlhFeCWunJqaVH81HEzMpnV5Gb8ZOjL1x iPFi/ACy9OGvbqdF+VGngmMNGGG0vi+lmSLkqHA= X-Google-Smtp-Source: ABdhPJwSoMjoRLlESlzC9Y6qVUixlJ8VazRbgbHr41WNKz59hIm82NyehKNBM+sDInSjI1wCIryT7iTLvZ6GGFp8tEA= X-Received: by 2002:a05:600c:4e4d:b0:396:37ef:b17e with SMTP id e13-20020a05600c4e4d00b0039637efb17emr24453600wmq.30.1652871482993; Wed, 18 May 2022 03:58:02 -0700 (PDT) MIME-Version: 1.0 References: <98a68a34c0d95c812b49f471df3ff3d32e0bea8d.camel@xry111.site> In-Reply-To: From: Jonathan Wakely Date: Wed, 18 May 2022 11:57:51 +0100 Message-ID: Subject: Re: Segfault in libjava/prims.cc while compiling gcj To: Zopolis0 Cc: Xi Ruoyao , gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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, 18 May 2022 10:58:07 -0000 On Wed, 18 May 2022 at 11:45, Zopolis0 wrote: > > I thought " But "-D...", "-I...", and "-B..." shall be > removed." was asking me to remove them. > > I used -E, I said I produced the file. Ah I missed that, sorry. I thought you were still trying to produce a .ii file. So then you should be able to compile the .ii file as described. A .ii file needs no headers, so removing -I... options shouldn't matter, and has already expanded macros, so removing -D... options shouldn't matter. And the system g++ knows how to find its own sub-programs, so the -B... options would just confuse it. What command are you actually running to try and compile the .ii file?