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=vWGo7yyQveaTCNbZrG44gaHINxNEzGq4r3kdNk4DVqQ=; b=hg6shuo2jrAqhP5q7vcGK+kQaIJLOAcb61xzG6NC/TKrnPZPMo0u5EsF/0G7nW2Tzt dWjOu6AI/Yy+4OhgCFPTD3zX9ofVZRYh8iBFq4RC+DQd7vRo1tR3z0q4n0sRFC2iIQws 8bQbgMjRpfOeiskV7rLJap3sRgw64C+zZhX8XEsnhT9AE1pE3pLQZd/GiDYkluQ+3D/S nTBxQsLbQzeYhDOwKLRTmcNB028vZ46gH5MRcBaPzhsyLeFhvNPTuWhKpbBXxP72RW2s gRJ72ghwm1NH90IWKdA9yVWkYNp09DVNFoEcX8DNkaQsmzPIq1i4a015sbOVVfS20xLt aavw== 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=vWGo7yyQveaTCNbZrG44gaHINxNEzGq4r3kdNk4DVqQ=; b=W8SKhm9X0Igh+O7xAss5F/4MC6Cem9zmyCWUpeTkbX/gk32YRsvy/g+OWcE4B5srKb fu4R2v0ARdYaYzMrvd7LvCGLJHb/v0uy+whakANXWAFObeiu1lB7xgSmvjaeibQzRRFo A1YjejVxqjV5ZmQLTVGmPChn/dq8haKqkMIZt00CQI1JuL7zfmT52AHiW/GyoJseGTiS B1Kvv3bz7Qu59N+vLpm3esvcn7Lp+iI7DYbeyGTUdO+cDvj2r3aXy+f1CrgkvCuhiboO M5oG3Thjv8kvAtzh0hD7TJtem+2XqsYaUifMzmccgCoYGVDVQpUnmJoxGVSgTG8wNMQx UPpA== X-Gm-Message-State: AOAM532dgoNkoIWQe4H0WZet0WGW/SC+tYJsKeACI3vY8R43+/TVEcF2 zf9lgaW+WDH3NEzjUI8fUUKVIbo1LnQ= X-Google-Smtp-Source: ABdhPJySY6HIK2smkzRf+z+wBE1K8HwQl5J6ac8PXJv+A1GODhh76z9K+LQYl3n2v40cRFTeowoS9g== X-Received: by 2002:a05:6402:8d9:: with SMTP id d25mr7578147edz.278.1607619793521; Thu, 10 Dec 2020 09:03:13 -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> <8816d501-9f33-4d68-4235-1935a83580f6 AT gmail DOT com> From: "J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com]" Message-ID: <111383e4-b3db-f346-b71c-749dee17dc9e@gmail.com> Date: Thu, 10 Dec 2020 18:03:00 +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: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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 2020-12-10 17:50, Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com] wrote: > On 12/10/20, J.W. Jagersma (jwjagersma AT gmail DOT com) [via > djgpp AT delorie DOT com] wrote: >> Also note that linking will fail with gcc 10 since it now uses -fno-common > > -fno-common can be a good thing.. > >> by default, I worked around that with the following patch: > > 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.