X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jGJ0p699oVy3LcSRhb5SBly5V3Vu1X7tEpLbcd5JqPg=; b=BtWcnMzMvFuhiBs7G0T+zMg4+NhixIzOH+R0hSH6BpSweygh268DXnxnbKiQp86sm5 gvXqFrz1jqZZQPZcuM83SMpNj9MvrcAVDlTaCJIjRj3CwuGLRBp7bkURiaXpPZ1AG1HF BtZb06z5bXwkr2VTGSY7d8MYI57BLiy7vUolsWScWzQ1dbDaa0agyc7YMBXi4kOwnwrf 9criYr/PWLXp1Se5gqQLfyO1m0isk4fPtCSdRqLb7v04oFiUD2b1z7WDOi72yn079wR6 j3WVbEFDJY2zHZadpJgSyW+HeSlRbt0FzvphcCBzst2kGMX+SpTH+G4hLTGpxPmQ4sdr GdcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=jGJ0p699oVy3LcSRhb5SBly5V3Vu1X7tEpLbcd5JqPg=; b=BYxgFmLLTbynGrbEDcXlFEUc+gqwskqyH78aHnZLKhoANcWqPSSMirU2WPAuqpUB2i ZLhsBNU5RmA9C6vXJ+GBkULmfu05dAhI75uajfk0GZUjvswu+OunD3BICei2ZeeQtt/s 6wCsb6Z1lzz2jXb0dnhV0e4+oeThTOEEKhovir1sDElTC+khsGMXn7W2wgIuJe2K7Fpd lR/zt0HCcaI1pVtYWnSgdxRtLuwwSXfonrznb0T7Gbm//yfeYgex6gJ7XzO4RoESzylz esQhv2918/HcrjBVqXMcF0BKkwWuEB6lCyn4y0vNpEJHItyl14g+0aECQcidnVfaV1kw WT3A== X-Gm-Message-State: AOAM530y/K7HbcnrUmJNSA7svPCmKOCBum6VqehBTLMz65SPLAvUBJUW hzZsqS8YcHkOnDp9oed2UVdOOWVNOYn3mO9/x133T2my X-Google-Smtp-Source: ABdhPJxhmA/94A/BHJz/q9hE50EUhJkMc52GF2kjO/pxGIawKLicHwI1jn+HwBgWCQFbEIYPfx+UcSWZQX3TheZdkdc= X-Received: by 2002:a54:400f:: with SMTP id x15mr5953177oie.38.1607617526059; Thu, 10 Dec 2020 08:25:26 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <5FD23272.1050309@gmx.de> References: <5FD1FEA1 DOT 7010304 AT gmx DOT de> <5FD23272 DOT 1050309 AT gmx DOT de> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" Date: Thu, 10 Dec 2020 19:25:25 +0300 Message-ID: Subject: Re: Difficulties compiling libc from repository using gcc 10.N.0 To: djgpp AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 12/10/20, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com] wrote: > Am 10.12.2020 12:55, schrieb Ozkan Sezer (sezeroz AT gmail DOT com) [via > djgpp AT delorie DOT com]: >>> C:/DJGPP-2.05/BIN/make.exe -C common >>> gcc ... -c dbgcom.c >>> dbgcom.c: Assembler messages: >>> dbgcom.c:1342: Error: symbol `.Ldoes_not_has_read_right' is already >>> defined >>> dbgcom.c:1346: Error: symbol `.Ldoes_not_has_write_right' is already >>> defined >> [...] >>> I have tried this using gcc1010 and gcc1020. Both fails. If I use >>> gcc920 >>> everything works fine. In all cases bnu234b has been used and no other >>> one >>> has been tried. >> >> Some kind of gcc bug? How does the asm output of gcc look like? > > I have attached both assembly files, one produced by 9.2.0 and the other > one > produced by 10.2.0. The offending code starts at 1337 where some asm code > is > inserted. For some reason the labels used repeats a couple of times in the > assembler output. gcc-10 -S format changed? It's a pain to read and impossible to diff against gcc-9 version. Nevertheless, gcc-10 seems to have inlined invalid_sel_addr() which has the asm, into read_sel_addr() hence the duplicated labels.