From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by sourceware.org (Postfix) with ESMTPS id DCE6F384BC00 for ; Thu, 19 May 2022 12:22:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DCE6F384BC00 Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-f1d5464c48so6544386fac.6 for ; Thu, 19 May 2022 05:22:37 -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=VaED0vMIeVEVdcm3y7BGR1PgQj5cvnqxNuaYX/+PcgU=; b=NWdtapPV9h+GoVo07kLPCm0n4xkgquqMzqlILDol+ylQu9ZR1+pA78wk9aueEzvWS6 JMXcSm2Km9rN7I4cyM3RRniXM0VSAKL3HEEkeC4BKQcr8jHOr69RB0q90URo1Nl5LkzT UbTYGOkFmXFkDxl7x/7kFrz+u2F52Siqjr4aF4ao/3RGBbhbN/LnLYYgGkcKFztFsdbp pBCPaw80wgfoWg0acLJRnNQaWTRtSt00b0jsO1QOgF74fviayWtW3TZd72Aw5xh64nLq HfvHEwVeb1Z+hgDQRpSsbmxUfSMgGNTXHHIUBSLYmyTi+DFUjMELNm7R+T5YcKJlhWUj MXcQ== X-Gm-Message-State: AOAM533xyhfoalsDsmkaoGGKiRJiTqQT2p7XOwme7YtcjQJlbIKrszoW LFkscwDe4Ss2Ldx9KH1JF6ydw22DvqFRZy9TSm0= X-Google-Smtp-Source: ABdhPJwmfBi3H4cf3kbq6I4/sou641JQfHVqTfqGvNI7W0Yst/ZGcJ1xM/G8gdARsq3+kg149RFQMoTRvq+WYuG20ws= X-Received: by 2002:a05:6870:e245:b0:de:9321:9ea3 with SMTP id d5-20020a056870e24500b000de93219ea3mr2499444oac.79.1652962956229; Thu, 19 May 2022 05:22:36 -0700 (PDT) MIME-Version: 1.0 References: <87r14pyf1x.fsf@oldenburg.str.redhat.com> In-Reply-To: <87r14pyf1x.fsf@oldenburg.str.redhat.com> From: Zopolis0 Date: Thu, 19 May 2022 22:22:25 +1000 Message-ID: Subject: Re: Segfault in libjava/prims.cc while compiling gcj To: Florian Weimer Cc: Zopolis0 via Gcc-help X-Spam-Status: No, score=1.2 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.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: Thu, 19 May 2022 12:22:39 -0000 It's the same implementation from when it was removed, unless you mean code outside of gcc/java and libjava, which in that case I could have made an error copying it in or modernising it. On Thu, May 19, 2022 at 8:47 PM Florian Weimer wrote: > * Zopolis: > > > ../../../../gcj/libjava/prims.cc:182:23: internal compiler error: > > Segmentation fault > > 182 | = new java::lang::NullPointerException; > > | ^~~~~~~~~~~~~~~~~~~~ > > This is likely a bug in the CNI implementation, specific to your GCJ > port. Allocation of CNI classes is different from regular C++ classes. > > Thanks, > Florian > >