delorie.com/archives/browse.cgi | search |
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=PtfcUpqM1il3EtYj1elfy8DyOPqU9XwMW1HFKzW/C8w=; | |
b=VcXcoPnd3qvSEVILF/fZyGC7pO+C7xVlwaNvGqFwwooLHbywgO8UYLKCqKQfB7hCDL | |
O862LTykrLRy9Aahi5FNgkdT3J1dOUyb8+J4hfNLmB9cE35s3+SBj19xFm87swlyaJFF | |
7Rg6pwEnuStvuZPk6UpjDqhZ80vBbhAUyfKUUE82SRS/G09jN3XTi3L35ljuwJv/1fhn | |
35VVF09XBhJ1qdhW7LpFyD4F5y3mivaacLX3zCIIA+78at2Mzdn9OKmKVaa/2XBMhCtb | |
T7h4ntWsTz9lGF+gdocYZZZTogsCW93JTk3MpJlUaXmwXf/IPd/N2RzkHDMrJhdMnNUR | |
D12A== | |
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=PtfcUpqM1il3EtYj1elfy8DyOPqU9XwMW1HFKzW/C8w=; | |
b=KRzeM0SIPinrV3OSwOfIBVKoXVZ02t4hvebBpGm5bVB0g6sSF74hBHKLm1PHA67iPy | |
Mi8abvfo+U4hyGNy20pCRJIquF0w85kXOk/CvoylOyS1BDCsZrLF05bXudZIf7TGik+7 | |
+RN3+hvljJAwWiC+zCqW9ei5iKYpvL4p4qNuzMG/fdQhkXuTzbW2SHZSTxqf9hKd3GzH | |
F09RqkP9PkADz8WcBzdAfh8Uy2dv2SklyWxV2yQfo2bJKcobVzqYkscvcDshNu0PQAdD | |
vd/z3IQK1uoy9Wrqp4FL+yjXXrTnh4pqTvjpieVSHGLWrW0Bo0DmazpgxbNeDzd6OaF5 | |
GHgg== | |
X-Gm-Message-State: | AOAM531rEAsxc65o0DXkYvgGrBLFr/JpaX+I0Hg0zNGnhlOyqyAN8a5P |
i9+8OjlkyrUfDwfF51TkOTeBnF7hdOhZ2s10Wd11L+JA | |
X-Google-Smtp-Source: | ABdhPJznO85Sl0YtLj/NWfqgDTwO7+E0MWrtiSuRNqdwj0Q6VBozjWEGoz+7cg7hIQ7B7ub0HODivpt3KdTauwgOh5k= |
X-Received: | by 2002:a05:6830:1649:: with SMTP id h9mr6567384otr.235.1607622241728; |
Thu, 10 Dec 2020 09:44:01 -0800 (PST) | |
MIME-Version: | 1.0 |
In-Reply-To: | <111383e4-b3db-f346-b71c-749dee17dc9e@gmail.com> |
References: | <5FD1FEA1 DOT 7010304 AT gmx DOT de> <8816d501-9f33-4d68-4235-1935a83580f6 AT gmail DOT com> |
<CAA2C=vACivjbYiU7yVpyFdzKjjKB10E1tvqShLPQ6i31cuKrDA AT mail DOT gmail DOT com> <111383e4-b3db-f346-b71c-749dee17dc9e AT gmail DOT com> | |
From: | "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com> |
Date: | Thu, 10 Dec 2020 20:44:01 +0300 |
Message-ID: | <CAA2C=vDL+YWHssNteT71jUNxYAJkxwiNXrKp1O618tY6bHHcxg@mail.gmail.com> |
Subject: | Re: Difficulties compiling libc from repository using gcc 10.N.0 |
To: | djgpp AT delorie DOT com |
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 |
--000000000000a6ecbe05b61fb827 Content-Type: text/plain; charset="UTF-8" On 12/10/20, J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com] <djgpp AT delorie DOT com> wrote: >> Which are the duplicated symbols causing trouble? > > Only __stdio_cleanup_hook in libc, which I marked extern, and almost all global > symbols in fsdb. I figured it would be okay to compile just fsdb with -fcommon. The attached patch avoid duplicated symbols with gcc-10 where -fno-common is on by default. The patch is from J. W. Jagersma, I only added comments. OK to apply? -- O.S. --000000000000a6ecbe05b61fb827 Content-Type: text/x-patch; charset="US-ASCII"; name="fno-common.patch" Content-Disposition: attachment; filename="fno-common.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 YXZvaWQgZHVwbGljYXRlZCBzeW1ib2xzIHdpdGggZ2NjLTEwIHdoZXJlIC1mbm8tY29tbW9uIGlz IG9uIGJ5IGRlZmF1bHQKCnBhdGNoIGZyb20gSi4gVy4gSmFnZXJzbWEuCgpJbmRleDogc3JjL2Rl YnVnL2ZzZGIvbWFrZWZpbGUKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2cy9kamdwcC9kamdwcC9z cmMvZGVidWcvZnNkYi9tYWtlZmlsZSx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4zCmRpZmYgLXUg LXAgLXIxLjMgbWFrZWZpbGUKLS0tIHNyYy9kZWJ1Zy9mc2RiL21ha2VmaWxlCTI3IFNlcCAxOTk4 IDE3OjA0OjI2IC0wMDAwCTEuMworKysgc3JjL2RlYnVnL2ZzZGIvbWFrZWZpbGUJMTAgRGVjIDIw MjAgMTc6Mzk6NDMgLTAwMDAKQEAgLTEyLDYgKzEyLDkgQEAgRU9CSlMgKz0gdW5hc3NtYmwubwog CiBpbmNsdWRlICQoVE9QKS8uLi9tYWtlZmlsZS5pbmMKIAorI3NlZSBzY3JlZW4uaCBhcyB0byB3 aHkgdGhpcyBpcyBuZWVkZWQKK0NGTEFHUyArPSAtZmNvbW1vbgorCiAjcmVsYXggZXJyb3IgY2hl Y2tpbmc6CiBYR0NDID0gJChYTEdDQykKIApJbmRleDogc3JjL2xpYmMvYW5zaS9zdGRsaWIvZXhp dC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnMvZGpncHAvZGpncHAvc3JjL2xpYmMvYW5zaS9z dGRsaWIvZXhpdC5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjkKZGlmZiAtdSAtcCAtcjEuOSBl eGl0LmMKLS0tIHNyYy9saWJjL2Fuc2kvc3RkbGliL2V4aXQuYwkyIE1heSAyMDE1IDA3OjMyOjEw IC0wMDAwCTEuOQorKysgc3JjL2xpYmMvYW5zaS9zdGRsaWIvZXhpdC5jCTEwIERlYyAyMDIwIDE3 OjM5OjQzIC0wMDAwCkBAIC0xNSw3ICsxNSw3IEBACiAKIHN0cnVjdCBfX2F0ZXhpdCAqX19hdGV4 aXRfcHRyID0gMDsKIAotdm9pZCAoKl9fc3RkaW9fY2xlYW51cF9ob29rKSh2b2lkKTsKK2V4dGVy biB2b2lkICgqX19zdGRpb19jbGVhbnVwX2hvb2spKHZvaWQpOyAvKiBzdGRpby9zdGRpb2hrLmMg Ki8KIAogLyogQSBob29rIHRvIGNsb3NlIGRvd24gdGhlIGZpbGUgc3lzdGVtIGV4dGVuc2lvbnMg aWYgYW55IHdoZXJlIG9wZW5lZC4KICAgIFRoaXMgZG9lcyBub3QgZm9yY2UgdGhlbSB0byBiZSBs aW5rZWQgaW4uICovCg== --000000000000a6ecbe05b61fb827--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |