Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Christian Voegl Newsgroups: gnu.utils.bug Subject: [sharutils] Does not compile with -fno-common Date: Mon, 20 Jan 2020 19:47:15 +0100 Lines: 34 Approved: bug-gnu-utils@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1579556545 16827 209.51.188.17 (20 Jan 2020 21:42:25 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-gnu-utils@gnu.org Envelope-to: bug-gnu-utils@gnu.org X-Virus-Scanned: by amavisd-new at test-mx.suse.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 195.135.220.15 X-Mailman-Approved-At: Mon, 20 Jan 2020 16:42:23 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: bug-gnu-utils@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com gnu.utils.bug:2272 Trying to build sharutils 4.15.2 with=C2=A0 -fno-common fails with [=C2=A0=C2=A0 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 [=C2=A0=C2=A0 30s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/= ld: ../lib/libgnu.a(md5.o): in function `md5_stream': [=C2=A0=C2=A0 30s] md5.c:(.text+0x15d): multiple definition of `md5_s= tream'; shar.o:shar.c:(.text+0x28): first defined here As -fno-common is going to be the default, I think this should be fixed. Kind regards, Christian V=C3=B6gl --=20 Christian V=C3=B6gl Working Student SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 N=C3=BCrnberg Germany (HRB 247165, AG M=C3=BCnchen) Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer