Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.utils.bug > #2273 > unrolled thread
| Started by | Petr Pisar <ppisar@redhat.com> |
|---|---|
| First post | 2020-01-23 16:19 +0100 |
| Last post | 2020-01-23 16:19 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.utils.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [sharutils] Does not compile with -fno-common Petr Pisar <ppisar@redhat.com> - 2020-01-23 16:19 +0100
| From | Petr Pisar <ppisar@redhat.com> |
|---|---|
| Date | 2020-01-23 16:19 +0100 |
| Subject | Re: [sharutils] Does not compile with -fno-common |
| Message-ID | <mailman.3347.1579792757.1979.bug-gnu-utils@gnu.org> |
[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 top | Article view | gnu.utils.bug
csiph-web