Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.utils.bug > #2273
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Petr Pisar <ppisar@redhat.com> |
| Newsgroups | gnu.utils.bug |
| Subject | Re: [sharutils] Does not compile with -fno-common |
| Date | Thu, 23 Jan 2020 16:19:04 +0100 |
| Lines | 202 |
| Approved | bug-gnu-utils@gnu.org |
| Message-ID | <mailman.3347.1579792757.1979.bug-gnu-utils@gnu.org> (permalink) |
| References | <dc59915b-005b-12fd-d990-96a483cdb6b4@suse.de> <20200123151904.GA16884@dhcp-0-146.brq.redhat.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF" |
| X-Trace | usenet.stanford.edu 1579792757 7672 209.51.188.17 (23 Jan 2020 15:19:17 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-gnu-utils@gnu.org |
| Envelope-to | bug-gnu-utils@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579792750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7YsTMqu6vSlVkJbmQFlPAYe2J2VvCS6ceE2Ee4TV/f0=; b=Iqhf3OSinCLkabk+SPYGxHKbmXwW3a1ibM0M90Dk09UaDLNx0T/HN03jIAj0hDBHZZfQNJ 9jkzCLW8Vw/166ofEB63JRiDW9EXpMT6djutX0wTvdCQclwp/bRHxqhISDGK21BhiqRFcS ZzUOd9zWWLAX2L9lHQbK1Xnv/MnNf2o= |
| X-MC-Unique | IVaGiGW9N0mxxXrTXcD9pQ-1 |
| X-Authentication-Warning | dhcp-0-146.brq.redhat.com: petr set sender to ppisar@redhat.com using -f |
| Mail-Followup-To | bug-gnu-utils@gnu.org |
| In-Reply-To | <dc59915b-005b-12fd-d990-96a483cdb6b4@suse.de> |
| X-Scanned-By | MIMEDefang 2.79 on 10.5.11.15 |
| X-Mimecast-Spam-Score | 0 |
| X-Mimecast-Originator | redhat.com |
| Content-Disposition | inline |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] |
| X-Received-From | 205.139.110.61 |
| X-BeenThere | bug-gnu-utils@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU utilities <bug-gnu-utils.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-gnu-utils> |
| List-Post | <mailto:bug-gnu-utils@gnu.org> |
| List-Help | <mailto:bug-gnu-utils-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20200123151904.GA16884@dhcp-0-146.brq.redhat.com> |
| X-Mailman-Original-References | <dc59915b-005b-12fd-d990-96a483cdb6b4@suse.de> |
| Xref | csiph.com gnu.utils.bug:2273 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Mon, Jan 20, 2020 at 07:47:15PM +0100, Christian Voegl wrote: > Trying to build sharutils 4.15.2 with -fno-common fails with > > [ 30s] > /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: > shar-opts.o:(.data.rel.ro.local+0x0): multiple definition of > `program_name'; shar.o:(.rodata+0x10): first defined here > [ 30s] > /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: > ../lib/libgnu.a(md5.o): in function `md5_stream': > [ 30s] md5.c:(.text+0x15d): multiple definition of `md5_stream'; > shar.o:shar.c:(.text+0x28): first defined here > > > As -fno-common is going to be the default, I think this should be fixed. > Please try the two patches attached. The first one should fix the program_name symbol. The second the md5_stream symbol. I was able to reproduce the first one, but not the second one. (Depiste tha fact I do not link to openssl.) -- Petr
Back to gnu.utils.bug | Previous | Next | Find similar
Re: [sharutils] Does not compile with -fno-common Petr Pisar <ppisar@redhat.com> - 2020-01-23 16:19 +0100
csiph-web