Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.utils.bug > #2272

[sharutils] Does not compile with -fno-common

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Christian Voegl <cvoegl@suse.de>
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 <mailman.3091.1579556544.1979.bug-gnu-utils@gnu.org> (permalink)
References <dc59915b-005b-12fd-d990-96a483cdb6b4@suse.de>
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 <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 <dc59915b-005b-12fd-d990-96a483cdb6b4@suse.de>
Xref csiph.com gnu.utils.bug:2272

Show key headers only | View raw


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.


Kind regards,

Christian Vögl

-- 
Christian Vögl <cvoegl@suse.de>
Working Student

SUSE Software Solutions Germany GmbH
Maxfeldstr. 5
90409 Nürnberg
Germany
(HRB 247165, AG München)
Geschäftsführer: Felix Imendörffer

Back to gnu.utils.bug | Previous | Next | Find similar


Thread

[sharutils] Does not compile with -fno-common Christian Voegl <cvoegl@suse.de> - 2020-01-20 19:47 +0100

csiph-web