[tlbuild] Common variables below utils/autosp/

Bruno Haible bruno at clisp.org
Tue Apr 21 14:42:46 CEST 2020


Dr. Werner Fink wrote:
> > > /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld:
> > > autosp-src/process_score.o:/home/abuild/rpmbuild/BUILD/texlive/world/utils/autosp/../../../utils/autosp/autosp-src/autosp.h:29:
> > > multiple definition of `dottedbeamnotes';
> > > autosp-src/autosp.o:/home/abuild/rpmbuild/BUILD/texlive/world/utils/autosp/../../../utils/autosp/autosp-src/autosp.h:29:
> > > first defined here
> > >
> > >
> > which version of gcc ? gcc-8 ?
> 
> From build log:
> 
> [   36s] [37/527] preinstalled gcc-10-112.15
> [   36s] [38/527] preinstalled gcc-PIE-10-112.15

Probably the cause is that with GCC 10, -fno-common is the default [2], whereas
up to GCC 9, -fcommon was the default [1].

I would try to set CC="gcc -fcommon".

Bruno

[1] https://gcc.gnu.org/onlinedocs/gcc-9.3.0/gcc/Code-Gen-Options.html
[2] https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html



More information about the tlbuild mailing list.