delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2020/12/10/11:25:27

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=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-language:content-transfer-encoding;
bh=onVEl7l+gYoytHAHaU27z0Yxilt8nm9JiI1rYFLSszg=;
b=QSnv9ihgauBKn3v3Gbt9Qpn7Xdkx8+tx6NkeDxsmYBfnMEnIoAb0v4S/6czF4DwLbd
5aGI428lLF6w5FRze7BIGxGm8fpuyIeFOt9PDoBo8C+fbcVa6CISbPe8TtuT4IEYRyaO
730LJbyVk/smpPbV1KRAmmNeopOB/4tFnD+z0Un8m88OBa85A6hoivxHCZ9vKELH1Do5
K3i4THTXKAoi3hGScIhDtm0QT6V4rJdCd0TGRJwWvK4u/fATojotoDala2w6GyIGzarC
DZErAvXaSuJ31hY2BMJkUJHvkJ5F3kuZ/GIc6ZUWwb6uFNRbgAUVy3CVln5dhhqBp2CJ
/77g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=onVEl7l+gYoytHAHaU27z0Yxilt8nm9JiI1rYFLSszg=;
b=tNJCZgKec+01d8ZHK88iJCKEtXj9Al3xBqfUTfXzOc35DqWJp8SL9NkiQXSttcnP1a
3EXKmqoQuqwWW9yUPLSNUKQFcZJpT5IRTdEzvf3G/eenh1sbIezEQbMWRusP9LtUSRrM
Ux/6KaiUuxP4Rc5mbdJosfo4ghJrkWEVoK2pyVKpBKvrEECFIYDa0ctOUlCmm5WZ7K9J
g7i174v+eYnAcU0KS04O4im8IzFYTCGQihw72I2z/nNMMQ1uA8QuM30FOkWixF44XUNz
ACWGMPG70Pcq/1ULR6rZmyYW/6W0hL0XeJo1vSwCnq6t/2hG3DOT5rWzGZ5F+HpsCEuB
lOKw==
X-Gm-Message-State: AOAM5307VbWj9p54Dd5bV7RafCjne0pQPXuz2DyMxsBP2VNjUMoecpPJ
RXbSW+zVZCYS8Zn3I7kxcKibBV0MkUk=
X-Google-Smtp-Source: ABdhPJwI0y5RJ6hNh4x5WSQOfY3mn4mIEH7YE9GulwtJCVBfPhyYRaM2lEd2Fn7wrmqSnnJJq62p+g==
X-Received: by 2002:a50:d2c8:: with SMTP id q8mr7239726edg.375.1607617314841;
Thu, 10 Dec 2020 08:21:54 -0800 (PST)
Subject: Re: Difficulties compiling libc from repository using gcc 10.N.0
To: djgpp AT delorie DOT com
References: <5FD1FEA1 DOT 7010304 AT gmx DOT de>
From: "J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Message-ID: <8e0f1fc3-7a37-9927-5978-1819609c7e6f@gmail.com>
Date: Thu, 10 Dec 2020 17:21:36 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.5.1
MIME-Version: 1.0
In-Reply-To: <5FD1FEA1.7010304@gmx.de>
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

On 2020-12-10 11:55, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com] wrote:
> I have tried to compile the the repository code of libc and the compiler stoped with the follwing error message:
> 
> 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
> make[3]: *** [../../makefile.inc:90: dbgcom.o] Error 1
> make[2]: *** [makefile.sub:2: all_subs] Error 2
> make[1]: *** [../makefile.lib:7: all] Error 2
> make: *** [makefile:45: subs] Error 2
> 
> 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.

I ran into this also with gcc 9, I guess it depends on the optimization flags
you specify (I like to use -O3).  I think local labels should start with 'L'
only (no leading '.'), that is also how gcc generates label names.

If the asm is inlined into the same function twice, then you still have
duplicate local labels and you need to add add %= to the label name which
generates a unique ID for each asm instance.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019