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


Groups > gnu.utils.bug > #2272

[sharutils] Does not compile with -fno-common

From Christian Voegl <cvoegl@suse.de>
Newsgroups gnu.utils.bug
Subject [sharutils] Does not compile with -fno-common
Date 2020-01-20 19:47 +0100
Message-ID <mailman.3091.1579556544.1979.bug-gnu-utils@gnu.org> (permalink)
References <dc59915b-005b-12fd-d990-96a483cdb6b4@suse.de>

Show all headers | 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